2 references to IsValidPatternDesignation
Microsoft.CodeAnalysis.CSharp (2)
Parser\LanguageParser_Patterns.cs (2)
276
(this.CurrentToken.Kind == SyntaxKind.OpenParenToken || this.
IsValidPatternDesignation
(inSwitchArmPattern)))
379
return this.IsTrueIdentifier() && this.
IsValidPatternDesignation
(whenIsKeyword)