43 references to ERR_DefaultPattern
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Patterns.cs (1)
477
diagnostics.Add(ErrorCode.
ERR_DefaultPattern
, e.Location);
Errors\ErrorFacts.cs (1)
1923
or ErrorCode.
ERR_DefaultPattern
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (27)
Semantics\PatternMatchingTests.cs (9)
6551
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(6, 18),
6554
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(7, 19),
6557
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(8, 21),
6560
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(9, 27),
6563
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(10, 28),
6566
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(11, 27),
6569
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(12, 28)
8699
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(6, 58));
10300
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(6, 50));
Semantics\PatternMatchingTests2.cs (17)
369
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(6, 18),
372
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(7, 19),
375
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(8, 27),
378
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(9, 27),
381
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(10, 36),
384
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(12, 20),
387
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(13, 29),
390
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(14, 22),
393
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(15, 31),
399
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(17, 18),
405
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(18, 19),
411
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(19, 22),
420
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(20, 18),
429
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(21, 19),
441
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(22, 22),
444
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(25, 19),
462
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(26, 20),
Semantics\PatternMatchingTests4.cs (1)
38
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(8, 18));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (12)
Semantics\NullableReferenceTypesTests.cs (2)
88278
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(10, 27));
119541
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(6, 19),
Semantics\SwitchTests.cs (1)
368
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(11, 19),
Semantics\TargetTypedDefaultTests.cs (9)
2939
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(8, 41),
2966
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(10, 42),
2969
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(10, 66),
2972
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(10, 83),
2975
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(10, 101)
3133
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(12, 18)
3165
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(12, 18)
3197
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(12, 19)
3229
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(12, 19)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Parsing\SwitchExpressionParsingTests.cs (2)
2572
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(4, 5));
2656
Diagnostic(ErrorCode.
ERR_DefaultPattern
, "default").WithLocation(4, 5),