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