49 references to SealedKeyword
Microsoft.CodeAnalysis.CSharp (9)
Parser\LanguageParser.cs (3)
352
case SyntaxKind.
SealedKeyword
:
1305
case SyntaxKind.
SealedKeyword
:
2328
case SyntaxKind.
SealedKeyword
:
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
946
AddKeyword(SyntaxKind.
SealedKeyword
);
Symbols\Source\ModifierUtils.cs (2)
282
return SyntaxFacts.GetText(SyntaxKind.
SealedKeyword
);
340
case SyntaxKind.
SealedKeyword
:
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
840
diagnostics.Add(ErrorCode.ERR_BadMemberFlag, location, SyntaxFacts.GetText(SyntaxKind.
SealedKeyword
));
Syntax\SyntaxKindFacts.cs (2)
943
return SyntaxKind.
SealedKeyword
;
1591
case SyntaxKind.
SealedKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
81
public static readonly SyntaxToken SealedKeyword = Token(SyntaxKind.
SealedKeyword
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\CSharpCodeStyleOptions.cs (1)
160
SyntaxKind.
SealedKeyword
,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
87
case SyntaxKind.
SealedKeyword
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
138
SyntaxKind.
SealedKeyword
=> DeclarationModifiers.Sealed,
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\SyntaxKindSet.cs (2)
20
SyntaxKind.
SealedKeyword
,
40
SyntaxKind.
SealedKeyword
,
Microsoft.CodeAnalysis.CSharp.Features (17)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (1)
572
case SyntaxKind.
SealedKeyword
:
Completion\CompletionProviders\OverrideCompletionProvider.cs (1)
136
case 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)
26
SyntaxKind.
SealedKeyword
,
40
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)
37
SyntaxKind.
SealedKeyword
,
Completion\KeywordRecommenders\SealedKeywordRecommender.cs (1)
49
: base(SyntaxKind.
SealedKeyword
)
Completion\KeywordRecommenders\StaticKeywordRecommender.cs (1)
51
SyntaxKind.
SealedKeyword
,
Completion\KeywordRecommenders\UnsafeKeywordRecommender.cs (2)
22
SyntaxKind.
SealedKeyword
,
38
SyntaxKind.
SealedKeyword
,
Completion\KeywordRecommenders\VoidKeywordRecommender.cs (1)
24
SyntaxKind.
SealedKeyword
,
Snippets\CSharpClassSnippetProvider.cs (1)
33
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 (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
81
public static readonly SyntaxToken SealedKeyword = Token(SyntaxKind.
SealedKeyword
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\CSharpCodeStyleOptions.cs (1)
160
SyntaxKind.
SealedKeyword
,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
87
case SyntaxKind.
SealedKeyword
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
138
SyntaxKind.
SealedKeyword
=> DeclarationModifiers.Sealed,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\SyntaxKindSet.cs (2)
20
SyntaxKind.
SealedKeyword
,
40
SyntaxKind.
SealedKeyword
,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeGeneration\CodeGenerationTests.cs (1)
766
yield return CS.SyntaxFactory.Token(CS.SyntaxKind.
SealedKeyword
);
Microsoft.Interop.ComInterfaceGenerator (3)
ComClassGenerator.cs (1)
84
Token(SyntaxKind.
SealedKeyword
),
ComMethodInfo.cs (1)
72
|| comMethodDeclaringSyntax.Modifiers.Any(SyntaxKind.
SealedKeyword
))
VtableIndexStubGenerator.cs (1)
398
|| methodSyntax.Modifiers.Any(SyntaxKind.
SealedKeyword
))
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\ModifierFlagsExtensions.cs (2)
27
{ ModifierFlags.Sealed, SyntaxKind.
SealedKeyword
},
70
case SyntaxKind.
SealedKeyword
: