28 references to BaseKeyword
Microsoft.CodeAnalysis.CSharp (10)
Parser\LanguageParser.cs (6)
3312var kind = this.CurrentToken.Kind == SyntaxKind.BaseKeyword 3317if (this.CurrentToken.Kind is SyntaxKind.BaseKeyword or SyntaxKind.ThisKeyword) 10563case SyntaxKind.BaseKeyword: 10858case SyntaxKind.BaseKeyword: 11472case SyntaxKind.BaseKeyword: 11649Debug.Assert(this.CurrentToken.Kind == SyntaxKind.BaseKeyword);
Syntax\SyntaxKindFacts.cs (3)
600case SyntaxKind.BaseKeyword: 987return SyntaxKind.BaseKeyword; 1635case SyntaxKind.BaseKeyword:
Syntax\SyntaxNormalizer.cs (1)
974case SyntaxKind.BaseKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
329previousToken.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()); 1150Assert.Equal(SyntaxKind.BaseKeyword, node.Token.Kind); 3125Assert.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()); 11366Assert.Equal(SyntaxKind.BaseKeyword, node.Token.Kind()); 13341Assert.Equal(SyntaxKind.BaseKeyword, node.ThisOrBaseKeyword.Kind());
Parsing\AwaitParsingTests.cs (3)
454N(SyntaxKind.BaseKeyword); 1270N(SyntaxKind.BaseKeyword); 2009N(SyntaxKind.BaseKeyword);
Parsing\DeclarationParsingTests.cs (1)
6423N(SyntaxKind.BaseKeyword);
Parsing\ExpressionParsingTests.cs (2)
502TestInstanceExpression(SyntaxKind.BaseKeyword); 6008N(SyntaxKind.BaseKeyword);
Parsing\MemberDeclarationParsingTests.cs (1)
271N(SyntaxKind.BaseKeyword);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
329previousToken.Kind() == SyntaxKind.BaseKeyword ||