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
Currently the following is not suppressed:
int? value = GetValue(); Assert.That(value.HasValue, Is.True); Assert.That(value.Value, Is.EqualTo(42)); static int? GetValue() => 42;
We need to update to DiagnosticSuppressor to detected Nullable<T> and .HasValue
Nullable<T>
.HasValue
The text was updated successfully, but these errors were encountered:
Workaround is:
int? value = GetValue(); Assert.That(value, Is.Not.Null); Assert.That(value.Value, Is.EqualTo(42)); static int? GetValue() => 42;
Sorry, something went wrong.
manfred-brands
Successfully merging a pull request may close this issue.
Currently the following is not suppressed:
We need to update to DiagnosticSuppressor to detected
Nullable<T>
and.HasValue
The text was updated successfully, but these errors were encountered: