-
-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
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
Use CallerArgumentExpressionAttribute in throw helpers #1788
base: main
Are you sure you want to change the base?
Use CallerArgumentExpressionAttribute in throw helpers #1788
Conversation
# Conflicts: # src/Magick.NET/Statistics/PerceptualHash.cs
Thanks for your pull request it will probably take a while before I have time to look at this. Only quick thing that I saw was |
Removed the default value for
The third option causes ambiguity for |
It looks like you did not address that issue yet? Doing |
The following changes have been made in throw helpers:
CallerArgumentExpressionAttribute
to simplify throw assertions (nameof(parameterName)
can be omitted in most cases)StringSyntaxAttribute
for error message templates