4 references to OnlyDefaultSwitchDescriptor
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\OperationAnalyzerTests.cs (1)
286
Diagnostic(SwitchTestAnalyzer.
OnlyDefaultSwitchDescriptor
.Id, "y").WithLocation(34, 17),
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\OperationTestAnalyzer.cs (2)
329
OnlyDefaultSwitchDescriptor
);
461
Report(operationContext, switchOperation.Value.Syntax,
OnlyDefaultSwitchDescriptor
);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\OperationAnalyzerTests.vb (1)
243
Diagnostic(SwitchTestAnalyzer.
OnlyDefaultSwitchDescriptor
.Id, "x").WithLocation(49, 21),