We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A single line of code produces two identical nullness warnings.
let getLength (x: string | null) = x.Length
null
not null
Windows (Default)
.NET SDK (.NET Core, .NET 5+)
No response
Ignore the warning, use IDE which deduplicates equal warnings for equal ranges.
The text was updated successfully, but these errors were encountered:
T-Gro
Successfully merging a pull request may close this issue.
Issue description
A single line of code produces two identical nullness warnings.
Choose one or more from the following categories of impact
null
constructs in code not using the checknulls switch.null
,not null
).Operating System
Windows (Default)
What .NET runtime/SDK kind are you seeing the issue on
.NET SDK (.NET Core, .NET 5+)
.NET Runtime/SDK version
No response
Reproducible code snippet and actual behavior
Possible workarounds
Ignore the warning, use IDE which deduplicates equal warnings for equal ranges.
The text was updated successfully, but these errors were encountered: