53 references to ClassKeyword
Microsoft.CodeAnalysis.VisualBasic (40)
Generated\Syntax.xml.Internal.Generated.vb (4)
34268Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.ClassKeyword) 35323Debug.Assert(classKeyword IsNot Nothing AndAlso classKeyword.Kind = SyntaxKind.ClassKeyword) 46334Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.ClassKeyword) 47389Debug.Assert(classKeyword IsNot Nothing AndAlso classKeyword.Kind = SyntaxKind.ClassKeyword)
Generated\Syntax.xml.Main.Generated.vb (16)
5737Case SyntaxKind.ClassKeyword : 5997Case SyntaxKind.ClassKeyword 6009Return SyntaxFactory.EndClassStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.ClassKeyword)) 6592Return SyntaxKind.ClassKeyword 7758Case SyntaxKind.ClassKeyword 7791Return SyntaxFactory.ClassStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.ClassKeyword), identifier, typeParameterList) 7803Return SyntaxFactory.ClassStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ClassKeyword), identifier, Nothing) 7815Return SyntaxFactory.ClassStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ClassKeyword), SyntaxFactory.Identifier(identifier), Nothing) 8131Case SyntaxKind.ClassKeyword : 8152Case SyntaxKind.ClassKeyword : 8173Case SyntaxKind.ClassKeyword : 8202Case SyntaxKind.ClassKeyword : 44049SyntaxKind.ClassKeyword, 44119SyntaxKind.ClassKeyword, 45015SyntaxKind.ClassKeyword, 45396Case SyntaxKind.ClassKeyword
Parser\BlockContexts\BlockContext.vb (1)
615endStmt = SyntaxFactory.EndClassStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.ClassKeyword))
Parser\Parser.vb (8)
729Case SyntaxKind.ModuleKeyword, SyntaxKind.ClassKeyword, SyntaxKind.StructureKeyword, SyntaxKind.InterfaceKeyword 1051SyntaxKind.ClassKeyword, 1217SyntaxKind.ClassKeyword, 1327Case SyntaxKind.ModuleKeyword, SyntaxKind.ClassKeyword, SyntaxKind.StructureKeyword, SyntaxKind.InterfaceKeyword 1574Case SyntaxKind.ClassKeyword 1825Case SyntaxKind.ClassKeyword 1894SyntaxKind.ClassKeyword, 4429ElseIf CurrentToken.Kind = SyntaxKind.ClassKeyword Then
Scanner\KeywordTable.vb (1)
45SyntaxKind.ClassKeyword, None,
SymbolDisplay\SymbolDisplayVisitor.Types.vb (2)
461Return SyntaxKind.ClassKeyword 557AddKeyword(SyntaxKind.ClassKeyword)
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (2)
335SyntaxFacts.GetText(SyntaxKind.ClassKeyword), 350SyntaxFacts.GetText(SyntaxKind.ClassKeyword),
Symbols\TypeParameterConstraint.vb (1)
78Return SyntaxKind.ClassKeyword
Syntax\InternalSyntax\SyntaxNodeFactories.vb (1)
182SyntaxKind.ClassKeyword,
Syntax\SyntaxKindFacts.vb (3)
103SyntaxKind.ClassKeyword, 418SyntaxKind.ClassKeyword, 676Case SyntaxKind.ClassKeyword
Syntax\SyntaxNodeFactories.vb (1)
496SyntaxKind.ClassKeyword,
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\NamedTypeGenerator.vb (1)
111If(isInterface, SyntaxKind.InterfaceKeyword, If(isStruct, SyntaxKind.StructureKeyword, If(isModule, SyntaxKind.ModuleKeyword, SyntaxKind.ClassKeyword)))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\TypeParameterGenerator.vb (1)
26constraints.Add(SyntaxFactory.ClassConstraint(SyntaxFactory.Token(SyntaxKind.ClassKeyword)))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb (1)
91Case SyntaxKind.ClassKeyword,
Microsoft.CodeAnalysis.VisualBasic.Features (3)
Completion\CompletionProviders\VisualBasicSuggestionModeCompletionProvider.vb (1)
128Case SyntaxKind.ClassKeyword
Completion\KeywordRecommenders\Declarations\EndBlockKeywordRecommender.vb (1)
128Return SyntaxKind.ClassKeyword
SignatureHelp\GenericNameSignatureHelpProvider.vb (1)
176parts.Add(Keyword(SyntaxKind.ClassKeyword))
Microsoft.CodeAnalysis.VisualBasic.Workspaces (4)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
2629constraints = constraints.Insert(0, SyntaxFactory.ClassConstraint(SyntaxFactory.Token(SyntaxKind.ClassKeyword)))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\NamedTypeGenerator.vb (1)
111If(isInterface, SyntaxKind.InterfaceKeyword, If(isStruct, SyntaxKind.StructureKeyword, If(isModule, SyntaxKind.ModuleKeyword, SyntaxKind.ClassKeyword)))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\TypeParameterGenerator.vb (1)
26constraints.Add(SyntaxFactory.ClassConstraint(SyntaxFactory.Token(SyntaxKind.ClassKeyword)))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb (1)
91Case SyntaxKind.ClassKeyword,
Roslyn.Diagnostics.VisualBasic.Analyzers (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\NamedTypeGenerator.vb (1)
111If(isInterface, SyntaxKind.InterfaceKeyword, If(isStruct, SyntaxKind.StructureKeyword, If(isModule, SyntaxKind.ModuleKeyword, SyntaxKind.ClassKeyword)))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\TypeParameterGenerator.vb (1)
26constraints.Add(SyntaxFactory.ClassConstraint(SyntaxFactory.Token(SyntaxKind.ClassKeyword)))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb (1)
91Case SyntaxKind.ClassKeyword,