7 references to NoDefaultSwitchDescriptor
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Diagnostics\OperationAnalyzerTests.cs (2)
285
Diagnostic(SwitchTestAnalyzer.
NoDefaultSwitchDescriptor
.Id, "x").WithLocation(26, 17),
288
Diagnostic(SwitchTestAnalyzer.
NoDefaultSwitchDescriptor
.Id, "y").WithLocation(40, 17));
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\OperationTestAnalyzer.cs (2)
328
NoDefaultSwitchDescriptor
,
457
Report(operationContext, switchOperation.Value.Syntax,
NoDefaultSwitchDescriptor
);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (3)
Diagnostics\OperationAnalyzerTests.vb (3)
241
Diagnostic(SwitchTestAnalyzer.
NoDefaultSwitchDescriptor
.Id, "x").WithLocation(37, 21),
242
Diagnostic(SwitchTestAnalyzer.
NoDefaultSwitchDescriptor
.Id, "x").WithLocation(42, 21),
245
Diagnostic(SwitchTestAnalyzer.
NoDefaultSwitchDescriptor
.Id, "x").WithLocation(54, 21))