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
Throw helpers can be annoated with [NotNull]. This behaves exactly like the already supported [ValidatedNotNullAttribute]. This enables support for ArgumentNullException.ThrowIfNull, the upcoming ArgumentException.ThrowIfNullOrEmpty and any custom annotated Guard classes.
[NotNull]
[ValidatedNotNullAttribute]
ArgumentNullException.ThrowIfNull
ArgumentException.ThrowIfNullOrEmpty
Attribute targets are:
Unknown.
The text was updated successfully, but these errors were encountered:
see also #5729
Sorry, something went wrong.
martin-strecker-sonarsource
No branches or pull requests
Throw helpers can be annoated with
[NotNull]
. This behaves exactly like the already supported[ValidatedNotNullAttribute]
. This enables support forArgumentNullException.ThrowIfNull
, the upcomingArgumentException.ThrowIfNullOrEmpty
and any custom annotated Guard classes.Attribute targets are:
ValidatedNotNullAttribute
Unknown.
System.Diagnostics.CodeAnalysis.NotNull
JetBrains.Annotations.NotNull
The text was updated successfully, but these errors were encountered: