Files
dotnet-runtime/src/libraries/System.Collections.Immutable
github-actions[bot]andStephen Toub 80df3e06b9 [release/5.0-rc2] Redo annotation of Enumerable.Cast and friends to use oblivious TResult (#42216)
* Revert "Make Enumerable.Cast<T> and friends return IEnumerable<T?> (#40929)"

This reverts commit e756708893.

* Redo annotation of Enumerable.Cast and friends to use oblivious T

Some folks aren't happy with the fallout of Cast being annotated to return a `TResult?`, and others aren't happy with having it be `TResult`.  Consensus is to make the TResult oblivious, such that we don't declare one way or another what it is, since there's no good way to annotate it appropriately.

Co-authored-by: Stephen Toub <[email protected]>
2020-09-14 15:40:15 -07:00
..