6 references to ERR_DesignatorBeforePropertyPattern
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2555
or ErrorCode.
ERR_DesignatorBeforePropertyPattern
Parser\LanguageParser_Patterns.cs (1)
380
? AddError(this.EatToken(), ErrorCode.
ERR_DesignatorBeforePropertyPattern
)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Parsing\PatternParsingTests.cs (4)
13309
Diagnostic(ErrorCode.
ERR_DesignatorBeforePropertyPattern
, "s").WithLocation(1, 13));
13521
Diagnostic(ErrorCode.
ERR_DesignatorBeforePropertyPattern
, "_").WithLocation(1, 13));
13576
Diagnostic(ErrorCode.
ERR_DesignatorBeforePropertyPattern
, "m").WithLocation(3, 8));
13694
Diagnostic(ErrorCode.
ERR_DesignatorBeforePropertyPattern
, "when").WithLocation(1, 17));