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
When the caret is positioned on a parameter declaration for a reference type, we should offer a code fix to add:
Requires.NotNull(p1, nameof(p1));
Similarly, when positioned on an integer/float parameter declaration, we can offer a code fix to add:
Requires.Range(p1 >= 0, nameof(p1));
The text was updated successfully, but these errors were encountered:
Additionally, flag forms such as this to library calls:
if (arg is null) { throw new ArgumentNullException(nameof(arg)); }
Sorry, something went wrong.
No branches or pull requests
When the caret is positioned on a parameter declaration for a reference type, we should offer a code fix to add:
Similarly, when positioned on an integer/float parameter declaration, we can offer a code fix to add:
The text was updated successfully, but these errors were encountered: