49 references to SealedKeyword
Microsoft.CodeAnalysis.CSharp (9)
Parser\LanguageParser.cs (3)
352case SyntaxKind.SealedKeyword: 1305case SyntaxKind.SealedKeyword: 2328case SyntaxKind.SealedKeyword:
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
946AddKeyword(SyntaxKind.SealedKeyword);
Symbols\Source\ModifierUtils.cs (2)
282return SyntaxFacts.GetText(SyntaxKind.SealedKeyword); 340case SyntaxKind.SealedKeyword:
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
840diagnostics.Add(ErrorCode.ERR_BadMemberFlag, location, SyntaxFacts.GetText(SyntaxKind.SealedKeyword));
Syntax\SyntaxKindFacts.cs (2)
943return SyntaxKind.SealedKeyword; 1591case SyntaxKind.SealedKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
80public static readonly SyntaxToken SealedKeyword = Token(SyntaxKind.SealedKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\CSharpCodeStyleOptions.cs (1)
160SyntaxKind.SealedKeyword,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
87case SyntaxKind.SealedKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
138SyntaxKind.SealedKeyword => DeclarationModifiers.Sealed,
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\SyntaxKindSet.cs (2)
20SyntaxKind.SealedKeyword, 40SyntaxKind.SealedKeyword,
Microsoft.CodeAnalysis.CSharp.Features (17)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (1)
572case SyntaxKind.SealedKeyword:
Completion\CompletionProviders\OverrideCompletionProvider.cs (1)
136case SyntaxKind.SealedKeyword:
Completion\KeywordRecommenders\ClassKeywordRecommender.cs (1)
22SyntaxKind.SealedKeyword,
Completion\KeywordRecommenders\EventKeywordRecommender.cs (1)
24SyntaxKind.SealedKeyword,
Completion\KeywordRecommenders\ExternKeywordRecommender.cs (1)
23SyntaxKind.SealedKeyword,
Completion\KeywordRecommenders\NewKeywordRecommender.cs (2)
26SyntaxKind.SealedKeyword, 40SyntaxKind.SealedKeyword,
Completion\KeywordRecommenders\OverrideKeywordRecommender.cs (1)
22SyntaxKind.SealedKeyword,
Completion\KeywordRecommenders\PrivateKeywordRecommender.cs (1)
51modifiers.Contains(SyntaxKind.SealedKeyword))
Completion\KeywordRecommenders\RecordKeywordRecommender.cs (1)
22SyntaxKind.SealedKeyword,
Completion\KeywordRecommenders\RefKeywordRecommender.cs (1)
37SyntaxKind.SealedKeyword,
Completion\KeywordRecommenders\SealedKeywordRecommender.cs (1)
49: base(SyntaxKind.SealedKeyword)
Completion\KeywordRecommenders\StaticKeywordRecommender.cs (1)
51SyntaxKind.SealedKeyword,
Completion\KeywordRecommenders\UnsafeKeywordRecommender.cs (2)
22SyntaxKind.SealedKeyword, 38SyntaxKind.SealedKeyword,
Completion\KeywordRecommenders\VoidKeywordRecommender.cs (1)
24SyntaxKind.SealedKeyword,
Snippets\CSharpClassSnippetProvider.cs (1)
33SyntaxKind.SealedKeyword,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Parsing\DeclarationParsingTests.cs (4)
891Assert.Equal(SyntaxKind.SealedKeyword, cs.Modifiers[0].Kind()); 4656TestClassPropertyWithModifier(SyntaxKind.SealedKeyword); 4670TestClassPropertyWithModifier(SyntaxKind.SealedKeyword); 4863TestClassEventPropertyWithModifier(SyntaxKind.SealedKeyword);
Parsing\ScriptParsingTests.cs (1)
959NewModifier_WithOtherModifier("sealed", SyntaxKind.SealedKeyword);
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
80public static readonly SyntaxToken SealedKeyword = Token(SyntaxKind.SealedKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\CSharpCodeStyleOptions.cs (1)
160SyntaxKind.SealedKeyword,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
87case SyntaxKind.SealedKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
138SyntaxKind.SealedKeyword => DeclarationModifiers.Sealed,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\SyntaxKindSet.cs (2)
20SyntaxKind.SealedKeyword, 40SyntaxKind.SealedKeyword,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeGeneration\CodeGenerationTests.cs (1)
766yield return CS.SyntaxFactory.Token(CS.SyntaxKind.SealedKeyword);
Microsoft.Interop.ComInterfaceGenerator (3)
ComClassGenerator.cs (1)
84Token(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 }, 70case SyntaxKind.SealedKeyword: