28 references to BaseKeyword
Microsoft.CodeAnalysis.CSharp (10)
Parser\LanguageParser.cs (6)
3313
var kind = this.CurrentToken.Kind == SyntaxKind.
BaseKeyword
3318
if (this.CurrentToken.Kind is SyntaxKind.
BaseKeyword
or SyntaxKind.ThisKeyword)
10604
case SyntaxKind.
BaseKeyword
:
10899
case SyntaxKind.
BaseKeyword
:
11513
case SyntaxKind.
BaseKeyword
:
11690
Debug.Assert(this.CurrentToken.Kind == SyntaxKind.
BaseKeyword
);
Syntax\SyntaxKindFacts.cs (3)
600
case SyntaxKind.
BaseKeyword
:
987
return SyntaxKind.
BaseKeyword
;
1635
case SyntaxKind.
BaseKeyword
:
Syntax\SyntaxNormalizer.cs (1)
974
case SyntaxKind.
BaseKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
329
previousToken.Kind() == SyntaxKind.
BaseKeyword
||
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\BaseKeywordRecommender.cs (1)
16
: base(SyntaxKind.
BaseKeyword
)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (15)
Generated\Syntax.Test.xml.Generated.cs (8)
119
=> InternalSyntaxFactory.BaseExpression(InternalSyntaxFactory.Token(SyntaxKind.
BaseKeyword
));
575
=> InternalSyntaxFactory.ConstructorInitializer(SyntaxKind.BaseConstructorInitializer, InternalSyntaxFactory.Token(SyntaxKind.ColonToken), InternalSyntaxFactory.Token(SyntaxKind.
BaseKeyword
), GenerateArgumentList());
1150
Assert.Equal(SyntaxKind.
BaseKeyword
, node.Token.Kind);
3125
Assert.Equal(SyntaxKind.
BaseKeyword
, node.ThisOrBaseKeyword.Kind);
10335
=> SyntaxFactory.BaseExpression(SyntaxFactory.Token(SyntaxKind.
BaseKeyword
));
10791
=> SyntaxFactory.ConstructorInitializer(SyntaxKind.BaseConstructorInitializer, SyntaxFactory.Token(SyntaxKind.ColonToken), SyntaxFactory.Token(SyntaxKind.
BaseKeyword
), GenerateArgumentList());
11366
Assert.Equal(SyntaxKind.
BaseKeyword
, node.Token.Kind());
13341
Assert.Equal(SyntaxKind.
BaseKeyword
, node.ThisOrBaseKeyword.Kind());
Parsing\AwaitParsingTests.cs (3)
454
N(SyntaxKind.
BaseKeyword
);
1270
N(SyntaxKind.
BaseKeyword
);
2009
N(SyntaxKind.
BaseKeyword
);
Parsing\DeclarationParsingTests.cs (1)
6423
N(SyntaxKind.
BaseKeyword
);
Parsing\ExpressionParsingTests.cs (2)
502
TestInstanceExpression(SyntaxKind.
BaseKeyword
);
6008
N(SyntaxKind.
BaseKeyword
);
Parsing\MemberDeclarationParsingTests.cs (1)
271
N(SyntaxKind.
BaseKeyword
);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
329
previousToken.Kind() == SyntaxKind.
BaseKeyword
||