2 instantiations of CaseTestAnalyzer
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
19 references to CaseTestAnalyzer
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (6)
Formatting\CodeCleanupTests.cs (6)
734await TestThirdPartyCodeFixerApplied<TestThirdPartyCodeFixWithFixAll, CaseTestAnalyzer>(_code, _fixed);
740await TestThirdPartyCodeFixerNoChanges<TestThirdPartyCodeFixWithOutFixAll, CaseTestAnalyzer>(_code);
748await TestThirdPartyCodeFixerApplied<TestThirdPartyCodeFixWithFixAll, CaseTestAnalyzer>(_code, _fixed, severity);
756await TestThirdPartyCodeFixerNoChanges<TestThirdPartyCodeFixWithOutFixAll, CaseTestAnalyzer>(_code, severity);
762await TestThirdPartyCodeFixerNoChanges<TestThirdPartyCodeFixDoesNotSupportDocumentScope, CaseTestAnalyzer>(_code);
768await TestThirdPartyCodeFixerNoChanges<TestThirdPartyCodeFixModifiesSolution, CaseTestAnalyzer>(_code);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Diagnostics\OperationAnalyzerTests.cs (5)
1080Diagnostic(CaseTestAnalyzer.MultipleCaseClausesDescriptor.Id,
1084Diagnostic(CaseTestAnalyzer.HasDefaultCaseDescriptor.Id, "default:").WithLocation(10, 13),
1085Diagnostic(CaseTestAnalyzer.MultipleCaseClausesDescriptor.Id,
1089Diagnostic(CaseTestAnalyzer.HasDefaultCaseDescriptor.Id, "default:").WithLocation(19, 13),
1090Diagnostic(CaseTestAnalyzer.HasDefaultCaseDescriptor.Id, "default:").WithLocation(33, 13));
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (8)
Diagnostics\OperationAnalyzerTests.vb (8)
1077Diagnostic(CaseTestAnalyzer.MultipleCaseClausesDescriptor.Id,
1080Diagnostic(CaseTestAnalyzer.HasDefaultCaseDescriptor.Id, "Case Else").WithLocation(8, 13),
1081Diagnostic(CaseTestAnalyzer.HasDefaultCaseDescriptor.Id, "Case Else").WithLocation(17, 13),
1082Diagnostic(CaseTestAnalyzer.HasDefaultCaseDescriptor.Id, "Case Else").WithLocation(26, 13),
1083Diagnostic(CaseTestAnalyzer.MultipleCaseClausesDescriptor.Id,
1086Diagnostic(CaseTestAnalyzer.HasDefaultCaseDescriptor.Id, "Case Else").WithLocation(33, 13),
1087Diagnostic(CaseTestAnalyzer.MultipleCaseClausesDescriptor.Id,
1090Diagnostic(CaseTestAnalyzer.HasDefaultCaseDescriptor.Id, "Case Else").WithLocation(50, 13))