Roslyn fails to detect nullability problems in C# 10 interpolated string handlers #57412
Labels
Area-Compilers
Bug
Feature - Nullable Reference Types
Nullable Reference Types
Resolution-Duplicate
The described behavior is tracked in another issue
Milestone
Version Used:
Steps to Reproduce:
Compile and run the following code:
Expected Behavior:
Warning for a nulalble argument to the
CustomHandler
's non-nullable parameterstring t
Actual Behavior:
No warnings at all in the program above. It crashes with a
NullReferenceException
at runtimeThe text was updated successfully, but these errors were encountered: