forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow for specify return value on System.Linq.Enumerable.*OrDefault m…
…ethods (dotnet#48886) * Fix dotnet#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]>
- Loading branch information
1 parent
8170c06
commit 122c438
Showing
14 changed files
with
526 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.