Incorrect nullability inference in ternary operator with use of local variable #54973
Labels
Area-Compilers
Feature - Nullable Reference Types
Nullable Reference Types
Resolution-By Design
The behavior reported in the issue matches the current design
untriaged
Issues and PRs which have not yet been triaged by a lead
Version Used: VS 17.0.0 Preview 2.0
Steps to Reproduce:
Methods M1/2/3 are equivalent, but in the last one warning is reported.
The text was updated successfully, but these errors were encountered: