50 references to OverrideKeyword
Microsoft.CodeAnalysis.CSharp (7)
Parser\LanguageParser.cs (2)
1044
case SyntaxKind.
OverrideKeyword
:
2007
case SyntaxKind.
OverrideKeyword
:
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
944
AddKeyword(SyntaxKind.
OverrideKeyword
);
Symbols\Source\ModifierUtils.cs (2)
317
return SyntaxFacts.GetText(SyntaxKind.
OverrideKeyword
);
365
case SyntaxKind.
OverrideKeyword
:
Syntax\SyntaxKindFacts.cs (2)
927
return SyntaxKind.
OverrideKeyword
;
1567
case SyntaxKind.
OverrideKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
CSharpAccessibilityFacts.cs (1)
132
SyntaxKind.
OverrideKeyword
=> DeclarationModifiers.Override,
CSharpIdeCodeStyleOptions.cs (1)
24
SyntaxKind.VirtualKeyword, SyntaxKind.AbstractKeyword, SyntaxKind.SealedKeyword, SyntaxKind.
OverrideKeyword
,
CSharpSyntaxFacts.cs (1)
1411
if (token.Kind() == SyntaxKind.
OverrideKeyword
&& token.Parent is MemberDeclarationSyntax member)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
45
case SyntaxKind.
OverrideKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
EventGenerator.cs (1)
234
tokens.Add(SyntaxFactory.Token(SyntaxKind.
OverrideKeyword
));
MethodGenerator.cs (1)
300
tokens.Add(SyntaxFactory.Token(SyntaxKind.
OverrideKeyword
));
PropertyGenerator.cs (1)
385
tokens.Add(SyntaxFactory.Token(SyntaxKind.
OverrideKeyword
));
SyntaxKindSet.cs (2)
37
SyntaxKind.
OverrideKeyword
,
55
SyntaxKind.
OverrideKeyword
,
Microsoft.CodeAnalysis.CSharp.Features (15)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (1)
583
case SyntaxKind.
OverrideKeyword
:
Completion\CompletionProviders\OverrideCompletionProvider.cs (1)
130
case SyntaxKind.
OverrideKeyword
:
Completion\KeywordRecommenders\AbstractKeywordRecommender.cs (2)
22
SyntaxKind.
OverrideKeyword
,
34
SyntaxKind.
OverrideKeyword
,
Completion\KeywordRecommenders\EventKeywordRecommender.cs (1)
25
SyntaxKind.
OverrideKeyword
,
Completion\KeywordRecommenders\ExternKeywordRecommender.cs (1)
19
SyntaxKind.
OverrideKeyword
,
Completion\KeywordRecommenders\OverrideKeywordRecommender.cs (1)
27
: base(SyntaxKind.
OverrideKeyword
)
Completion\KeywordRecommenders\PrivateKeywordRecommender.cs (1)
50
modifiers.Contains(SyntaxKind.
OverrideKeyword
) ||
Completion\KeywordRecommenders\RefKeywordRecommender.cs (3)
30
SyntaxKind.
OverrideKeyword
,
51
SyntaxKind.
OverrideKeyword
,
69
SyntaxKind.
OverrideKeyword
,
Completion\KeywordRecommenders\SealedKeywordRecommender.cs (2)
19
SyntaxKind.
OverrideKeyword
,
30
SyntaxKind.
OverrideKeyword
,
Completion\KeywordRecommenders\UnsafeKeywordRecommender.cs (1)
33
SyntaxKind.
OverrideKeyword
,
Completion\KeywordRecommenders\VoidKeywordRecommender.cs (1)
25
SyntaxKind.
OverrideKeyword
,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (6)
Parsing\DeclarationParsingTests.cs (4)
4654
TestClassPropertyWithModifier(SyntaxKind.
OverrideKeyword
);
4668
TestClassPropertyWithModifier(SyntaxKind.
OverrideKeyword
);
4849
TestClassEventPropertyWithModifier(SyntaxKind.
OverrideKeyword
);
4861
TestClassEventPropertyWithModifier(SyntaxKind.
OverrideKeyword
);
Parsing\MemberDeclarationParsingTests.cs (1)
10247
N(SyntaxKind.
OverrideKeyword
);
Parsing\ScriptParsingTests.cs (1)
965
NewModifier_WithOtherModifier("override", SyntaxKind.
OverrideKeyword
);
Microsoft.CodeAnalysis.CSharp.Workspaces (10)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
1703
list.Add(SyntaxFactory.Token(SyntaxKind.
OverrideKeyword
));
CSharpAccessibilityFacts.cs (1)
132
SyntaxKind.
OverrideKeyword
=> DeclarationModifiers.Override,
CSharpIdeCodeStyleOptions.cs (1)
24
SyntaxKind.VirtualKeyword, SyntaxKind.AbstractKeyword, SyntaxKind.SealedKeyword, SyntaxKind.
OverrideKeyword
,
CSharpSyntaxFacts.cs (1)
1411
if (token.Kind() == SyntaxKind.
OverrideKeyword
&& token.Parent is MemberDeclarationSyntax member)
EventGenerator.cs (1)
234
tokens.Add(SyntaxFactory.Token(SyntaxKind.
OverrideKeyword
));
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
45
case SyntaxKind.
OverrideKeyword
:
MethodGenerator.cs (1)
300
tokens.Add(SyntaxFactory.Token(SyntaxKind.
OverrideKeyword
));
PropertyGenerator.cs (1)
385
tokens.Add(SyntaxFactory.Token(SyntaxKind.
OverrideKeyword
));
SyntaxKindSet.cs (2)
37
SyntaxKind.
OverrideKeyword
,
55
SyntaxKind.
OverrideKeyword
,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeGeneration\CodeGenerationTests.cs (1)
765
yield return CS.SyntaxFactory.Token(CS.SyntaxKind.
OverrideKeyword
);
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\ModifierFlagsExtensions.cs (2)
27
{ ModifierFlags.Override, SyntaxKind.
OverrideKeyword
},
68
case SyntaxKind.
OverrideKeyword
: