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

Fix S3242: Rule throws ArgumentException when 2+ params of method have the same name #834

Closed
Evangelink opened this issue Oct 16, 2017 · 0 comments
Assignees
Labels
Type: Bug Exceptions and blocking issues during analysis.
Milestone

Comments

@Evangelink
Copy link
Contributor

Evangelink commented Oct 16, 2017

Description

When a method declares multiple params with the same name the analyzer throws an ArgumentException.
Triggered by #803

Repro steps

private void Foo(IList<int> a, IList<string> a)
{
    a.ToList();
}
@Evangelink Evangelink added Area: Rules Type: Bug Exceptions and blocking issues during analysis. labels Oct 16, 2017
@Evangelink Evangelink added this to the 6.6 milestone Oct 16, 2017
@Evangelink Evangelink changed the title Fix S2342: Rule throws ArgumentException when 2+ params of method have the same name Fix S3242: Rule throws ArgumentException when 2+ params of method have the same name Oct 16, 2017
@Evangelink Evangelink self-assigned this Oct 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Exceptions and blocking issues during analysis.
Projects
None yet
Development

No branches or pull requests

1 participant