50 references to OverrideKeyword
Microsoft.CodeAnalysis.CSharp (7)
Parser\LanguageParser.cs (2)
1044case SyntaxKind.OverrideKeyword: 2007case SyntaxKind.OverrideKeyword:
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
944AddKeyword(SyntaxKind.OverrideKeyword);
Symbols\Source\ModifierUtils.cs (2)
317return SyntaxFacts.GetText(SyntaxKind.OverrideKeyword); 365case SyntaxKind.OverrideKeyword:
Syntax\SyntaxKindFacts.cs (2)
927return SyntaxKind.OverrideKeyword; 1567case SyntaxKind.OverrideKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
CSharpAccessibilityFacts.cs (1)
132SyntaxKind.OverrideKeyword => DeclarationModifiers.Override,
CSharpIdeCodeStyleOptions.cs (1)
24SyntaxKind.VirtualKeyword, SyntaxKind.AbstractKeyword, SyntaxKind.SealedKeyword, SyntaxKind.OverrideKeyword,
CSharpSyntaxFacts.cs (1)
1411if (token.Kind() == SyntaxKind.OverrideKeyword && token.Parent is MemberDeclarationSyntax member)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
45case SyntaxKind.OverrideKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
EventGenerator.cs (1)
234tokens.Add(SyntaxFactory.Token(SyntaxKind.OverrideKeyword));
MethodGenerator.cs (1)
300tokens.Add(SyntaxFactory.Token(SyntaxKind.OverrideKeyword));
PropertyGenerator.cs (1)
385tokens.Add(SyntaxFactory.Token(SyntaxKind.OverrideKeyword));
SyntaxKindSet.cs (2)
37SyntaxKind.OverrideKeyword, 55SyntaxKind.OverrideKeyword,
Microsoft.CodeAnalysis.CSharp.Features (15)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (1)
583case 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)
30SyntaxKind.OverrideKeyword, 51SyntaxKind.OverrideKeyword, 69SyntaxKind.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)
10247N(SyntaxKind.OverrideKeyword);
Parsing\ScriptParsingTests.cs (1)
965NewModifier_WithOtherModifier("override", SyntaxKind.OverrideKeyword);
Microsoft.CodeAnalysis.CSharp.Workspaces (10)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
1703list.Add(SyntaxFactory.Token(SyntaxKind.OverrideKeyword));
CSharpAccessibilityFacts.cs (1)
132SyntaxKind.OverrideKeyword => DeclarationModifiers.Override,
CSharpIdeCodeStyleOptions.cs (1)
24SyntaxKind.VirtualKeyword, SyntaxKind.AbstractKeyword, SyntaxKind.SealedKeyword, SyntaxKind.OverrideKeyword,
CSharpSyntaxFacts.cs (1)
1411if (token.Kind() == SyntaxKind.OverrideKeyword && token.Parent is MemberDeclarationSyntax member)
EventGenerator.cs (1)
234tokens.Add(SyntaxFactory.Token(SyntaxKind.OverrideKeyword));
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
45case SyntaxKind.OverrideKeyword:
MethodGenerator.cs (1)
300tokens.Add(SyntaxFactory.Token(SyntaxKind.OverrideKeyword));
PropertyGenerator.cs (1)
385tokens.Add(SyntaxFactory.Token(SyntaxKind.OverrideKeyword));
SyntaxKindSet.cs (2)
37SyntaxKind.OverrideKeyword, 55SyntaxKind.OverrideKeyword,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeGeneration\CodeGenerationTests.cs (1)
765yield return CS.SyntaxFactory.Token(CS.SyntaxKind.OverrideKeyword);
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\ModifierFlagsExtensions.cs (2)
27{ ModifierFlags.Override, SyntaxKind.OverrideKeyword }, 68case SyntaxKind.OverrideKeyword: