Skip to content

Using nameof when throwing ArgumentOutOfRangeException. #409

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

Merged
merged 1 commit into from
Dec 29, 2017

Conversation

Greeng0
Copy link
Contributor

@Greeng0 Greeng0 commented Dec 28, 2017

Used nameof to avoid hard-coding the name of the parameter responsible for the ArgumentOutOfRangeException.

Used nameof to avoid hard-coding the name of the parameter responsible for the ArgumentOutOfRangeException.
@opbld14
Copy link

opbld14 commented Dec 28, 2017

✅ Validation status: passed

File Status Preview URL Details
docs/code-quality/codesnippet/CSharp/ca2233-operations-should-not-overflow_2.cs ✅Succeeded

For more details, please refer to the build report.

Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@Greeng0 Greeng0 changed the title Update ca2233-operations-should-not-overflow_2.cs Using nameof when throwing ArgumentOutOfRangeException. Dec 28, 2017
@gewarren gewarren merged commit 061909e into MicrosoftDocs:master Dec 29, 2017
@Greeng0 Greeng0 deleted the patch-1 branch January 5, 2018 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants