Warning reported for assignment to out parameter with [MaybeNull] or [MaybeNullWhen(...)] #39922
Labels
4 - In Review
A fix for the issue is submitted for review.
Area-Compilers
Bug
Feature - Nullable Reference Types
Nullable Reference Types
Milestone
No warning should be reported for the assignments:
For
[MaybeNullWhen(...)]
, perhaps the compiler should allow assignment without warning to the variable regardless of the return value.cc @stephentoub
The text was updated successfully, but these errors were encountered: