You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected Behavior:
No warning in ThingTernaryAsync(int).
Actual Behavior:
Warning CS8619 Nullability of reference types in value of type 'Task<string>' doesn't match target type 'Task<string?>'.
Warning CS8619 Nullability of reference types in value of type 'Task<string?>' doesn't match target type 'Task<string>'.
The text was updated successfully, but these errors were encountered:
FICTURE7
changed the title
CS8619 False positive using ternary operator ?:
CS8619 Null forgiving operator and ternary operator ?:
Jan 6, 2020
Version Used:
Visual Studio Community 2019 16.3.5
Steps to Reproduce:
Here is the SharpLab link.
Expected Behavior:
No warning in
ThingTernaryAsync(int)
.Actual Behavior:
The text was updated successfully, but these errors were encountered: