45 references to OverrideKeyword
Microsoft.CodeAnalysis.CSharp (7)
Parser\LanguageParser.cs (2)
1317case SyntaxKind.OverrideKeyword: 2322case SyntaxKind.OverrideKeyword:
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
934AddKeyword(SyntaxKind.OverrideKeyword);
Symbols\Source\ModifierUtils.cs (2)
316return SyntaxFacts.GetText(SyntaxKind.OverrideKeyword); 364case SyntaxKind.OverrideKeyword:
Syntax\SyntaxKindFacts.cs (2)
955return SyntaxKind.OverrideKeyword; 1603case SyntaxKind.OverrideKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
62public static readonly SyntaxToken OverrideKeyword = Token(SyntaxKind.OverrideKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\CSharpCodeStyleOptions.cs (1)
161SyntaxKind.OverrideKeyword,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
93case SyntaxKind.OverrideKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
132SyntaxKind.OverrideKeyword => DeclarationModifiers.Override,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1415if (token.Kind() == SyntaxKind.OverrideKeyword && token.Parent is MemberDeclarationSyntax member)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\SyntaxKindSet.cs (2)
34SyntaxKind.OverrideKeyword, 52SyntaxKind.OverrideKeyword,
Microsoft.CodeAnalysis.CSharp.Features (15)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (1)
569case SyntaxKind.OverrideKeyword:
Completion\CompletionProviders\OverrideCompletionProvider.cs (1)
130case SyntaxKind.OverrideKeyword:
Completion\KeywordRecommenders\AbstractKeywordRecommender.cs (2)
22SyntaxKind.OverrideKeyword, 34SyntaxKind.OverrideKeyword,
Completion\KeywordRecommenders\EventKeywordRecommender.cs (1)
25SyntaxKind.OverrideKeyword,
Completion\KeywordRecommenders\ExternKeywordRecommender.cs (1)
19SyntaxKind.OverrideKeyword,
Completion\KeywordRecommenders\OverrideKeywordRecommender.cs (1)
27: base(SyntaxKind.OverrideKeyword)
Completion\KeywordRecommenders\PrivateKeywordRecommender.cs (1)
50modifiers.Contains(SyntaxKind.OverrideKeyword) ||
Completion\KeywordRecommenders\RefKeywordRecommender.cs (3)
32SyntaxKind.OverrideKeyword, 53SyntaxKind.OverrideKeyword, 71SyntaxKind.OverrideKeyword,
Completion\KeywordRecommenders\SealedKeywordRecommender.cs (2)
19SyntaxKind.OverrideKeyword, 30SyntaxKind.OverrideKeyword,
Completion\KeywordRecommenders\UnsafeKeywordRecommender.cs (1)
33SyntaxKind.OverrideKeyword,
Completion\KeywordRecommenders\VoidKeywordRecommender.cs (1)
25SyntaxKind.OverrideKeyword,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (6)
Parsing\DeclarationParsingTests.cs (4)
4654TestClassPropertyWithModifier(SyntaxKind.OverrideKeyword); 4668TestClassPropertyWithModifier(SyntaxKind.OverrideKeyword); 4849TestClassEventPropertyWithModifier(SyntaxKind.OverrideKeyword); 4861TestClassEventPropertyWithModifier(SyntaxKind.OverrideKeyword);
Parsing\MemberDeclarationParsingTests.cs (1)
10236N(SyntaxKind.OverrideKeyword);
Parsing\ScriptParsingTests.cs (1)
965NewModifier_WithOtherModifier("override", SyntaxKind.OverrideKeyword);
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
62public static readonly SyntaxToken OverrideKeyword = Token(SyntaxKind.OverrideKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\CSharpCodeStyleOptions.cs (1)
161SyntaxKind.OverrideKeyword,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
93case SyntaxKind.OverrideKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
132SyntaxKind.OverrideKeyword => DeclarationModifiers.Override,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1415if (token.Kind() == SyntaxKind.OverrideKeyword && token.Parent is MemberDeclarationSyntax member)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\SyntaxKindSet.cs (2)
34SyntaxKind.OverrideKeyword, 52SyntaxKind.OverrideKeyword,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeGeneration\CodeGenerationTests.cs (1)
751yield return CS.SyntaxFactory.Token(CS.SyntaxKind.OverrideKeyword);
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\ModifierFlagsExtensions.cs (2)
26{ ModifierFlags.Override, SyntaxKind.OverrideKeyword }, 67case SyntaxKind.OverrideKeyword: