Skip to content

Add a test that verifies that SA1119's secondary diagnostic is not fired when the main diagnostic is disabled#951

Merged
sharwell merged 2 commits intoDotNetAnalyzers:masterfrom
pdelvo:SA1119AddTest
Jul 13, 2015
Merged

Add a test that verifies that SA1119's secondary diagnostic is not fired when the main diagnostic is disabled#951
sharwell merged 2 commits intoDotNetAnalyzers:masterfrom
pdelvo:SA1119AddTest

Conversation

@pdelvo
Copy link
Member

@pdelvo pdelvo commented Jul 12, 2015

No description provided.

@vweijsters
Copy link
Contributor

👍 Looks good to me.

Would be nice to have an extension method that will disable one or more diagnostics for a given project within a solution. Something like
void SuppressDiagnostics(this Solution solution, ProjectId projectId, params string[] diagnosticIdentifiers)

sharwell added a commit that referenced this pull request Jul 13, 2015
Add a test that verifies that SA1119's secondary diagnostic is not fired when the main diagnostic is disabled
@sharwell sharwell merged commit 1acea13 into DotNetAnalyzers:master Jul 13, 2015
@sharwell sharwell added this to the 1.0.0 Alpha 11 milestone Jul 13, 2015
@pdelvo pdelvo deleted the SA1119AddTest branch August 27, 2015 14:12
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.

3 participants