[Nullable] Compiler doesn't consider Where(x => x != null)
to be a null check
#55667
Labels
Area-Compilers
Concept-API
This issue involves adding, removing, clarification, or modification of an API.
Feature Request
untriaged
Issues and PRs which have not yet been triaged by a lead
Background and Motivation
Improve nullability feature by enabling compiler to understand null checks done through LINQ.
Currently lines 3-9 produce nullable warnings, but shouldn't:
The text was updated successfully, but these errors were encountered: