8 references to WRN_SwitchExpressionNotExhaustiveForNullWithWhen
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
46nullableWarnings.Add(GetId(ErrorCode.WRN_SwitchExpressionNotExhaustiveForNullWithWhen)); 497case ErrorCode.WRN_SwitchExpressionNotExhaustiveForNullWithWhen: 2103or ErrorCode.WRN_SwitchExpressionNotExhaustiveForNullWithWhen
FlowAnalysis\NullableWalker_Patterns.cs (1)
904ErrorCode warningCode = requiresFalseWhenClause ? ErrorCode.WRN_SwitchExpressionNotExhaustiveForNullWithWhen : ErrorCode.WRN_SwitchExpressionNotExhaustiveForNull;
Generated\ErrorFacts.Generated.cs (1)
255case ErrorCode.WRN_SwitchExpressionNotExhaustiveForNullWithWhen:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\PatternMatchingTests3.cs (1)
7422Diagnostic(ErrorCode.WRN_SwitchExpressionNotExhaustiveForNullWithWhen, "switch").WithArguments("(null, true, false, true)").WithLocation(4, 47)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\NullableReferenceTypesVsPatterns.cs (1)
1341Diagnostic(ErrorCode.WRN_SwitchExpressionNotExhaustiveForNullWithWhen, "switch").WithArguments("null").WithLocation(73, 15));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
380case ErrorCode.WRN_SwitchExpressionNotExhaustiveForNullWithWhen: