In my project I have nullable reference types enabled.
<Nullable>enable</Nullable>
I believe the return type is incorrect for the following methods
- FirstOrDefaultAsync
- LastOrDefaultAsync
- SingleOrDefaultAsync
According to documentation and understanding of "OrDefault" return value should be nullable. But now it's not.
Example file: IFindFluentExtensions.cs
- duplicates
-
CSHARP-4905 Support nullable reference types
-
- Closed
-
- related to
-
CSHARP-4905 Support nullable reference types
-
- Closed
-