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