Files
dotnet-runtime/src/libraries/System.Linq
Foxtrek_64andEirik Tsarpalis 122c438e09 Allow for specify return value on System.Linq.Enumerable.*OrDefault methods (#48886)
* Fix #20064

* Add API to ref assembly

* Make overloads with defaultValue not nullable

* Add unit tests, simplify implementation

* Add LastOrDefault tests

* Add Queryable tests

* Additional tests. Reformatting TryGet Methods.

* Update src/libraries/System.Linq.Queryable/tests/FirstOrDefaultTests.cs

* Apply suggestions from code review

Co-authored-by: Eirik Tsarpalis <[email protected]>

* Fix ref methods

* Further adjust nullability

* Fix more nullables

* fix failing tests

* Restore coding style

Co-authored-by: Eirik Tsarpalis <[email protected]>
2021-03-18 11:36:40 +00:00
..