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