4 references to IsDeclarationModifier
Microsoft.CodeAnalysis.CSharp (4)
Parser\LanguageParser.cs (4)
8127IsDeclarationModifier(tk) || // treat `static int x = 2;` as a local variable declaration 8279if (IsDeclarationModifier(tk)) // treat `const int x = 2;` as a local variable declaration 10262while (IsDeclarationModifier(k = this.CurrentToken.ContextualKind) || IsAdditionalLocalFunctionModifier(k)) 10307if (IsDeclarationModifier(this.CurrentToken.Kind) ||