5 references to HasDefaultCaseDescriptor
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Diagnostics\OperationAnalyzerTests.cs (3)
1084
Diagnostic(CaseTestAnalyzer.
HasDefaultCaseDescriptor
.Id, "default:").WithLocation(10, 13),
1089
Diagnostic(CaseTestAnalyzer.
HasDefaultCaseDescriptor
.Id, "default:").WithLocation(19, 13),
1090
Diagnostic(CaseTestAnalyzer.
HasDefaultCaseDescriptor
.Id, "default:").WithLocation(33, 13));
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\OperationTestAnalyzer.cs (2)
891
get { return ImmutableArray.Create(
HasDefaultCaseDescriptor
, MultipleCaseClausesDescriptor); }
905
Report(operationContext, caseClause.Syntax,
HasDefaultCaseDescriptor
);