43 references to ERR_DefaultPattern
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Patterns.cs (1)
488diagnostics.Add(ErrorCode.ERR_DefaultPattern, e.Location);
Errors\ErrorFacts.cs (1)
1923or ErrorCode.ERR_DefaultPattern
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (27)
Semantics\PatternMatchingTests.cs (9)
6551Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(6, 18), 6554Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(7, 19), 6557Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(8, 21), 6560Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(9, 27), 6563Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(10, 28), 6566Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(11, 27), 6569Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(12, 28) 8703Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(6, 58)); 10316Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(6, 50));
Semantics\PatternMatchingTests2.cs (17)
386Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(6, 18), 389Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(7, 19), 392Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(8, 27), 395Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(9, 27), 398Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(10, 36), 401Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(12, 20), 404Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(13, 29), 407Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(14, 22), 410Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(15, 31), 416Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(17, 18), 422Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(18, 19), 428Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(19, 22), 437Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(20, 18), 446Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(21, 19), 458Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(22, 22), 461Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(25, 19), 479Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(26, 20),
Semantics\PatternMatchingTests4.cs (1)
38Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(8, 18));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (12)
Semantics\NullableReferenceTypesTests.cs (2)
88340Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(10, 27)); 119625Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(6, 19),
Semantics\SwitchTests.cs (1)
368Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(11, 19),
Semantics\TargetTypedDefaultTests.cs (9)
2939Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(8, 41), 2966Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(10, 42), 2969Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(10, 66), 2972Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(10, 83), 2975Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(10, 101) 3133Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(12, 18) 3165Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(12, 18) 3197Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(12, 19) 3229Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(12, 19)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Parsing\SwitchExpressionParsingTests.cs (2)
2572Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(4, 5)); 2656Diagnostic(ErrorCode.ERR_DefaultPattern, "default").WithLocation(4, 5),