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

Add bunch of exclusions to dead code analysis for special methods #31036

Merged

Conversation

mavasani
Copy link
Member

@mavasani mavasani commented Nov 8, 2018

Fixes #30886: Bail out on special serialization constructors and methods with certain special attributes indicating special usage.

Fixes #30887: Bail out on ShouldSerializeXXX and ResetXXX pattern that was also excluded from legacy FxCop implementation and seems to be common in real world code.

Fixes #30377 : Bail out on methods with signature matching event handlers, which are very common in Web apps.

Fixes dotnet#30886: Bail oun special serialization constructors and methods with certain special attributes indicating special usage.

Fixes dotnet#30887: Bail out on ShouldSerializeXXX and ResetXXX pattern that was also excluded from legacy FxCop implementation and seems to be common in real world code.

Fixes dotnet#30377 : Bail out on methods with signature matching event handlers, which are very common in Web apps.
@mavasani mavasani added this to the 16.0.P2 milestone Nov 8, 2018
@mavasani mavasani requested review from sharwell, CyrusNajmabadi and a team November 8, 2018 01:06
@mavasani
Copy link
Member Author

mavasani commented Nov 8, 2018

Ping @dotnet/roslyn-ide for reviews.

@mavasani
Copy link
Member Author

mavasani commented Nov 8, 2018

@jinujoseph for approval

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

Successfully merging this pull request may close these issues.

None yet

4 participants