52 references to SealedKeyword
Microsoft.CodeAnalysis.CSharp (9)
Parser\LanguageParser.cs (3)
350
case SyntaxKind.
SealedKeyword
:
1032
case SyntaxKind.
SealedKeyword
:
2013
case SyntaxKind.
SealedKeyword
:
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
956
AddKeyword(SyntaxKind.
SealedKeyword
);
Symbols\Source\ModifierUtils.cs (2)
283
return SyntaxFacts.GetText(SyntaxKind.
SealedKeyword
);
341
case SyntaxKind.
SealedKeyword
:
Symbols\Source\SourceOrdinaryMethodSymbolBase.cs (1)
364
diagnostics.Add(ErrorCode.ERR_BadMemberFlag, location, SyntaxFacts.GetText(SyntaxKind.
SealedKeyword
));
Syntax\SyntaxKindFacts.cs (2)
915
return SyntaxKind.
SealedKeyword
;
1555
case SyntaxKind.
SealedKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
CSharpAccessibilityFacts.cs (1)
138
SyntaxKind.
SealedKeyword
=> DeclarationModifiers.Sealed,
CSharpIdeCodeStyleOptions.cs (1)
24
SyntaxKind.VirtualKeyword, SyntaxKind.AbstractKeyword, SyntaxKind.
SealedKeyword
, SyntaxKind.OverrideKeyword,
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
39
case SyntaxKind.
SealedKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
MethodGenerator.cs (1)
292
tokens.Add(SyntaxFactory.Token(SyntaxKind.
SealedKeyword
));
NamedTypeGenerator.cs (1)
297
tokens.Add(SyntaxFactory.Token(SyntaxKind.
SealedKeyword
));
PropertyGenerator.cs (1)
382
tokens.Add(SyntaxFactory.Token(SyntaxKind.
SealedKeyword
));
SyntaxKindSet.cs (2)
23
SyntaxKind.
SealedKeyword
,
43
SyntaxKind.
SealedKeyword
,
Microsoft.CodeAnalysis.CSharp.Features (18)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (1)
586
case SyntaxKind.
SealedKeyword
:
Completion\CompletionProviders\OverrideCompletionProvider.cs (1)
136
case SyntaxKind.
SealedKeyword
:
Completion\CompletionProviders\XmlDocCommentCompletionProvider.cs (1)
322
yield return SyntaxFacts.GetText(SyntaxKind.
SealedKeyword
);
Completion\KeywordRecommenders\ClassKeywordRecommender.cs (1)
22
SyntaxKind.
SealedKeyword
,
Completion\KeywordRecommenders\EventKeywordRecommender.cs (1)
24
SyntaxKind.
SealedKeyword
,
Completion\KeywordRecommenders\ExternKeywordRecommender.cs (1)
23
SyntaxKind.
SealedKeyword
,
Completion\KeywordRecommenders\NewKeywordRecommender.cs (2)
27
SyntaxKind.
SealedKeyword
,
41
SyntaxKind.
SealedKeyword
,
Completion\KeywordRecommenders\OverrideKeywordRecommender.cs (1)
22
SyntaxKind.
SealedKeyword
,
Completion\KeywordRecommenders\PrivateKeywordRecommender.cs (1)
51
modifiers.Contains(SyntaxKind.
SealedKeyword
))
Completion\KeywordRecommenders\RecordKeywordRecommender.cs (1)
22
SyntaxKind.
SealedKeyword
,
Completion\KeywordRecommenders\RefKeywordRecommender.cs (1)
35
SyntaxKind.
SealedKeyword
,
Completion\KeywordRecommenders\SealedKeywordRecommender.cs (1)
49
: base(SyntaxKind.
SealedKeyword
)
Completion\KeywordRecommenders\StaticKeywordRecommender.cs (1)
50
SyntaxKind.
SealedKeyword
,
Completion\KeywordRecommenders\UnsafeKeywordRecommender.cs (2)
22
SyntaxKind.
SealedKeyword
,
38
SyntaxKind.
SealedKeyword
,
Completion\KeywordRecommenders\VoidKeywordRecommender.cs (1)
24
SyntaxKind.
SealedKeyword
,
Snippets\AbstractCSharpTypeSnippetProvider.cs (1)
34
SyntaxKind.
SealedKeyword
,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Parsing\DeclarationParsingTests.cs (4)
891
Assert.Equal(SyntaxKind.
SealedKeyword
, cs.Modifiers[0].Kind());
4656
TestClassPropertyWithModifier(SyntaxKind.
SealedKeyword
);
4670
TestClassPropertyWithModifier(SyntaxKind.
SealedKeyword
);
4863
TestClassEventPropertyWithModifier(SyntaxKind.
SealedKeyword
);
Parsing\ScriptParsingTests.cs (1)
959
NewModifier_WithOtherModifier("sealed", SyntaxKind.
SealedKeyword
);
Microsoft.CodeAnalysis.CSharp.Workspaces (9)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
1700
list.Add(SyntaxFactory.Token(SyntaxKind.
SealedKeyword
));
CSharpAccessibilityFacts.cs (1)
138
SyntaxKind.
SealedKeyword
=> DeclarationModifiers.Sealed,
CSharpIdeCodeStyleOptions.cs (1)
24
SyntaxKind.VirtualKeyword, SyntaxKind.AbstractKeyword, SyntaxKind.
SealedKeyword
, SyntaxKind.OverrideKeyword,
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
39
case SyntaxKind.
SealedKeyword
:
MethodGenerator.cs (1)
292
tokens.Add(SyntaxFactory.Token(SyntaxKind.
SealedKeyword
));
NamedTypeGenerator.cs (1)
297
tokens.Add(SyntaxFactory.Token(SyntaxKind.
SealedKeyword
));
PropertyGenerator.cs (1)
382
tokens.Add(SyntaxFactory.Token(SyntaxKind.
SealedKeyword
));
SyntaxKindSet.cs (2)
23
SyntaxKind.
SealedKeyword
,
43
SyntaxKind.
SealedKeyword
,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeGeneration\CodeGenerationTests.cs (1)
780
yield return CS.SyntaxFactory.Token(CS.SyntaxKind.
SealedKeyword
);
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\ModifierFlagsExtensions.cs (2)
28
{ ModifierFlags.Sealed, SyntaxKind.
SealedKeyword
},
71
case SyntaxKind.
SealedKeyword
: