6 references to ERR_DesignatorBeforePropertyPattern
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2555or 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)
13309Diagnostic(ErrorCode.ERR_DesignatorBeforePropertyPattern, "s").WithLocation(1, 13)); 13521Diagnostic(ErrorCode.ERR_DesignatorBeforePropertyPattern, "_").WithLocation(1, 13)); 13576Diagnostic(ErrorCode.ERR_DesignatorBeforePropertyPattern, "m").WithLocation(3, 8)); 13694Diagnostic(ErrorCode.ERR_DesignatorBeforePropertyPattern, "when").WithLocation(1, 17));