Skip to content
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

Better extensions for checking keys as arguments #143

Open
2 tasks
maraf opened this issue Jan 12, 2019 · 2 comments
Open
2 tasks

Better extensions for checking keys as arguments #143

maraf opened this issue Jan 12, 2019 · 2 comments

Comments

@maraf
Copy link
Member

maraf commented Jan 12, 2019

  • NotEmptyKey with parameter name.
  • NotDifferentKeyType with parameter name.
@maraf
Copy link
Member Author

maraf commented Feb 2, 2019

All methods validating method arguments should be derived from ArgumentException.

@maraf
Copy link
Member Author

maraf commented Feb 2, 2019

It seems that these methods are always called when validating method arguments.
So they could always accept argumentName.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant