We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d94f820 commit 88784e8Copy full SHA for 88784e8
docs/csharp/whats-new/csharp-14.md
@@ -52,7 +52,7 @@ public static class Enumerable
52
public static IEnumerable<TSource> Combine(IEnumerable<TSource> first, IEnumerable<TSource> second) { ... }
53
54
// static extension property:
55
- public static IEnumerable<TSource> Identity => yield return default;
+ public static IEnumerable<TSource> Identity => Enumerable.Empty<TSource>();
56
}
57
58
```
0 commit comments