Missing warnings for nullable references under throw
statement/expression
#32877
Labels
Area-Compilers
Feature - Nullable Reference Types
Nullable Reference Types
Resolution-Fixed
The bug has been fixed and/or the requested behavior has been implemented
Version Used:
Microsoft Visual Studio Enterprise 2019 Preview
Version 16.0.0 Preview 2.0
VisualStudio.16.Preview/16.0.0-pre.2.0+28522.59
Microsoft .NET Framework
Version 4.7.03056
Steps to Reproduce:
Compile the following code:
Expected Behavior:
Nullable reference types warnings e.g.
Possible dereference of a null reference
forthrow null
andthrow ex
expressions.Actual Behavior:
No warnings
The text was updated successfully, but these errors were encountered: