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

Port FxCop rule CA2208: InstantiateArgumentExceptionsCorrectly #531

Closed
ghost opened this issue Nov 21, 2015 · 3 comments
Closed

Port FxCop rule CA2208: InstantiateArgumentExceptionsCorrectly #531

ghost opened this issue Nov 21, 2015 · 3 comments

Comments

@ghost
Copy link

ghost commented Nov 21, 2015

Title: Instantiate argument exceptions correctly

Description:

A call is made to the default (parameterless) constructor of an exception type that is or derives from ArgumentException, or an incorrect string argument is passed to a parameterized constructor of an exception type that is or derives from ArgumentException.

Dependency: IOperation

Notes:

The fixer should introduce nameof

@nguerrera
Copy link
Contributor

NOTE: Rule is ported, but fixer is still not done, so I'm this leaving open.

@333fred
Copy link
Member

333fred commented Jan 3, 2018

@jamesqo is actually working on this issue, assigning to myself to track.

@Youssef1313
Copy link
Member

Fixed in #3500

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

Successfully merging a pull request may close this issue.

5 participants