13 references to WRN_SwitchExpressionNotExhaustiveWithWhen
Microsoft.CodeAnalysis.CSharp (4)
Binder\SwitchExpressionBinder.cs (1)
97requiresFalseWhenClause ? ErrorCode.WRN_SwitchExpressionNotExhaustiveWithWhen :
Errors\ErrorFacts.cs (2)
483case ErrorCode.WRN_SwitchExpressionNotExhaustiveWithWhen: 2045case ErrorCode.WRN_SwitchExpressionNotExhaustiveWithWhen:
Generated\ErrorFacts.Generated.cs (1)
254case ErrorCode.WRN_SwitchExpressionNotExhaustiveWithWhen:
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (6)
Semantics\PatternMatchingTests2.cs (1)
720Diagnostic(ErrorCode.WRN_SwitchExpressionNotExhaustiveWithWhen, "switch").WithArguments("_").WithLocation(7, 19)
Semantics\PatternMatchingTests3.cs (1)
7394Diagnostic(ErrorCode.WRN_SwitchExpressionNotExhaustiveWithWhen, "switch").WithArguments("(false, true, false, true)").WithLocation(4, 44)
Semantics\PatternMatchingTests5.cs (1)
2687Diagnostic(ErrorCode.WRN_SwitchExpressionNotExhaustiveWithWhen, "switch").WithArguments("(Enum.One, Enum.One)").WithLocation(12, 25)
Semantics\PatternSwitchTests.cs (3)
3441Diagnostic(ErrorCode.WRN_SwitchExpressionNotExhaustiveWithWhen, "switch").WithArguments("0").WithLocation(5, 15) 3466Diagnostic(ErrorCode.WRN_SwitchExpressionNotExhaustiveWithWhen, "switch").WithArguments("0").WithLocation(5, 15) 3493Diagnostic(ErrorCode.WRN_SwitchExpressionNotExhaustiveWithWhen, "switch").WithArguments("0").WithLocation(5, 15)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
IOperation\IOperationTests_ISwitchExpression.cs (1)
579Diagnostic(ErrorCode.WRN_SwitchExpressionNotExhaustiveWithWhen, "switch").WithArguments("0").WithLocation(7, 25)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Diagnostics\DiagnosticTest.cs (2)
288case ErrorCode.WRN_SwitchExpressionNotExhaustiveWithWhen: 489ErrorCode.WRN_SwitchExpressionNotExhaustiveWithWhen,