diff --git a/X10D/src/Linq/EnumerableExtensions.cs b/X10D/src/Linq/EnumerableExtensions.cs index c94f10a..99b6773 100644 --- a/X10D/src/Linq/EnumerableExtensions.cs +++ b/X10D/src/Linq/EnumerableExtensions.cs @@ -31,7 +31,12 @@ public static class EnumerableExtensions } #endif - return source.Concat(new[] {value}); + foreach (TSource item in source) + { + yield return item; + } + + yield return value; } ///