144 references to StructureBlock
Microsoft.CodeAnalysis.VisualBasic (38)
Compilation\SemanticModel.vb (1)
3307Case SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ModuleBlock
Compilation\SyntaxTreeSemanticModel.vb (1)
978Case SyntaxKind.ClassBlock, SyntaxKind.EnumBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ModuleBlock
Declarations\DeclarationTreeBuilder.vb (3)
426SyntaxKind.StructureBlock, 462SyntaxKind.StructureBlock, 492Case SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock
Declarations\MergedTypeDeclaration.vb (1)
89SyntaxKind.StructureBlock,
Generated\Syntax.xml.Internal.Generated.vb (2)
42999Return New StructureBlockSyntax(SyntaxKind.StructureBlock, structureStatement, [inherits].Node, [implements].Node, members.Node, endStructureStatement) 55077Return New StructureBlockSyntax(SyntaxKind.StructureBlock, structureStatement, [inherits].Node, [implements].Node, members.Node, endStructureStatement, _factoryContext)
Generated\Syntax.xml.Main.Generated.vb (4)
7153Return New StructureBlockSyntax(SyntaxKind.StructureBlock, Nothing, Nothing, structureStatement, [inherits].Node, [implements].Node, members.Node, endStructureStatement) 35814SyntaxKind.StructureBlock, 36108SyntaxKind.StructureBlock, 36410SyntaxKind.StructureBlock,
Generated\Syntax.xml.Syntax.Generated.vb (1)
1861''' <item><description><see cref="SyntaxKind.StructureBlock"/></description></item>
Parser\BlockContexts\BlockContext.vb (2)
617Case SyntaxKind.StructureBlock 740Case SyntaxKind.StructureBlock
Parser\BlockContexts\DeclarationContext.vb (3)
71Return New TypeBlockContext(SyntaxKind.StructureBlock, DirectCast(node, StatementSyntax), Me) 199SyntaxKind.StructureBlock, 297SyntaxKind.StructureBlock,
Parser\BlockContexts\EnumDeclarationBlockContext.vb (1)
64SyntaxKind.StructureBlock,
Parser\BlockContexts\ExecutableStatementContext.vb (1)
173SyntaxKind.StructureBlock,
Parser\BlockContexts\InterfaceDeclarationBlockContext.vb (3)
97Return New TypeBlockContext(SyntaxKind.StructureBlock, DirectCast(node, StatementSyntax), Me) 111SyntaxKind.StructureBlock, 181SyntaxKind.StructureBlock,
Parser\BlockContexts\TypeBlockContext.vb (2)
22contextKind = SyntaxKind.StructureBlock OrElse contextKind = SyntaxKind.InterfaceBlock) 25BlockKind = SyntaxKind.StructureBlock OrElse BlockKind = SyntaxKind.InterfaceBlock)
Parser\Parser.vb (2)
1380SyntaxKind.StructureBlock, 2061SyntaxKind.StructureBlock,
Symbols\Source\SourceNamedTypeSymbol.vb (7)
130Case SyntaxKind.ModuleBlock, SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock 425Case SyntaxKind.StructureBlock 657SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock 942Case SyntaxKind.StructureBlock, SyntaxKind.ClassBlock, SyntaxKind.InterfaceBlock 1014Case SyntaxKind.StructureBlock 1039Case SyntaxKind.StructureBlock 1721Case SyntaxKind.ClassBlock, SyntaxKind.StructureBlock
Syntax\InternalSyntax\SyntaxNodeFactories.vb (1)
537Case SyntaxKind.StructureBlock
Syntax\LambdaUtilities.vb (1)
684Case SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.ModuleBlock
Syntax\SyntaxFactory.vb (1)
427Case SyntaxKind.StructureBlock
Syntax\SyntaxFacts.vb (1)
346Case SyntaxKind.ModuleBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ClassBlock
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (19)
StatementSyntaxExtensions.vb (10)
20SyntaxKind.StructureBlock 80SyntaxKind.StructureBlock 165SyntaxKind.StructureBlock 233Case SyntaxKind.StructureBlock 310SyntaxKind.StructureBlock 399SyntaxKind.StructureBlock 545SyntaxKind.StructureBlock, 575SyntaxKind.StructureBlock 633SyntaxKind.StructureBlock, 661SyntaxKind.StructureBlock
SyntaxNodeExtensions.vb (3)
1185Case SyntaxKind.StructureBlock 1258Case SyntaxKind.ModuleBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ClassBlock 1299Case SyntaxKind.ModuleBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ClassBlock
SyntaxTokenExtensions.vb (1)
148SyntaxKind.StructureBlock,
VisualBasicAccessibilityFacts.vb (2)
27SyntaxKind.StructureBlock, 109Case SyntaxKind.StructureBlock
VisualBasicAddAccessibilityModifiersDiagnosticAnalyzer.vb (1)
47member.IsKind(SyntaxKind.StructureBlock) OrElse
VisualBasicSyntaxFacts.vb (2)
1311SyntaxKind.StructureBlock, 1353SyntaxKind.StructureBlock,
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (6)
ModifierCollectionFacts.vb (1)
84ElseIf syntaxTree.IsDeclarationContextWithinTypeBlocks(position, token, True, cancellationToken, SyntaxKind.StructureBlock) Then
SyntaxTreeExtensions.vb (4)
117syntaxTree.IsDeclarationContextWithinTypeBlocks(position, token, True, cancellationToken, SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.NamespaceBlock, SyntaxKind.ModuleBlock, SyntaxKind.CompilationUnit) 190position, token, True, cancellationToken, SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.ModuleBlock) 208position, token, True, cancellationToken, SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.NamespaceBlock, SyntaxKind.ModuleBlock, SyntaxKind.CompilationUnit) 234SyntaxKind.StructureBlock) Then
TypeBlockSyntaxExtensions.vb (1)
97Case SyntaxKind.StructureBlock
Microsoft.CodeAnalysis.VisualBasic.Features (22)
Completion\KeywordRecommenders\Declarations\EventKeywordRecommender.vb (1)
38targetToken.GetInnermostDeclarationContext().IsKind(SyntaxKind.StructureBlock, SyntaxKind.ClassBlock) Then
Completion\KeywordRecommenders\Declarations\ModifierKeywordsRecommender.vb (2)
67innermostDeclarationKind = SyntaxKind.StructureBlock OrElse 100innermostDeclarationKind = SyntaxKind.StructureBlock OrElse
Completion\KeywordRecommenders\Declarations\OperatorKeywordRecommender.vb (1)
21If context.SyntaxTree.IsDeclarationContextWithinTypeBlocks(context.Position, context.TargetToken, True, cancellationToken, SyntaxKind.ClassBlock, SyntaxKind.StructureBlock) AndAlso
Completion\KeywordRecommenders\Expressions\MeKeywordRecommender.vb (1)
23targetToken.GetInnermostDeclarationContext().IsKind(SyntaxKind.ClassBlock, SyntaxKind.StructureBlock) Then
Completion\KeywordRecommenders\Expressions\MyClassKeywordRecommender.vb (1)
25targetToken.GetInnermostDeclarationContext().IsKind(SyntaxKind.ClassBlock, SyntaxKind.StructureBlock) Then
Completion\Providers\ContextVariableArgumentProvider.vb (1)
32If targetToken.GetInnermostDeclarationContext().IsKind(SyntaxKind.ClassBlock, SyntaxKind.StructureBlock) Then
Diagnostics\Analyzers\VisualBasicSimplifyTypeNamesDiagnosticAnalyzer.vb (1)
33Return codeBlock.IsKind(SyntaxKind.CompilationUnit, SyntaxKind.ClassBlock, SyntaxKind.StructureBlock) OrElse
DocumentationComments\VisualBasicDocumentationCommentSnippetService.vb (1)
39SyntaxKind.StructureBlock,
EditAndContinue\SyntaxComparer.vb (2)
746Case SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ModuleBlock 1218SyntaxKind.StructureBlock,
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (6)
1139Debug.Assert(parent.Kind = SyntaxKind.StructureBlock) 1532SyntaxKind.StructureBlock, 1915Case SyntaxKind.StructureBlock, 2211SyntaxKind.StructureBlock, 2231SyntaxKind.StructureBlock, 2554SyntaxKind.StructureBlock
GoToDefinition\VisualBasicGoToDefinitionSymbolService.vb (1)
154If node.IsKind(SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock) Then
ImplementInterface\VisualBasicImplementInterfaceService.vb (1)
63implementsStatement.IsParentKind(SyntaxKind.StructureBlock) Then
LambdaUtilities.vb (1)
684Case SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.ModuleBlock
Organizing\Organizers\MemberDeclarationsOrganizer.Comparer.vb (1)
134SyntaxKind.StructureBlock,
VisualBasicAddAccessibilityModifiersDiagnosticAnalyzer.vb (1)
47member.IsKind(SyntaxKind.StructureBlock) OrElse
Microsoft.CodeAnalysis.VisualBasic.Workspaces (43)
CodeGeneration\NamedTypeGenerator.vb (2)
84Case SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ClassBlock 105If(isInterface, SyntaxKind.InterfaceBlock, If(isStruct, SyntaxKind.StructureBlock, If(isModule, SyntaxKind.ModuleBlock, SyntaxKind.ClassBlock)))
CodeGeneration\VisualBasicCodeGenerationHelpers.vb (1)
166Case SyntaxKind.StructureBlock
CodeGeneration\VisualBasicCodeGenerationService.vb (1)
763Case SyntaxKind.EnumBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ClassBlock
CodeGeneration\VisualBasicDeclarationComparer.vb (3)
28{SyntaxKind.StructureBlock, 9}, 146Case SyntaxKind.StructureBlock 340Case SyntaxKind.StructureBlock
CodeGeneration\VisualBasicSyntaxGenerator.vb (11)
718Case SyntaxKind.StructureBlock, SyntaxKind.StructureStatement 1828Case SyntaxKind.StructureBlock 1898Case SyntaxKind.StructureBlock 2089Case SyntaxKind.StructureBlock 2174Case SyntaxKind.StructureBlock 2579Case SyntaxKind.StructureBlock 3159Case SyntaxKind.StructureBlock 3178Case SyntaxKind.StructureBlock 3214Case SyntaxKind.StructureBlock 3624Case SyntaxKind.StructureBlock 3635Case SyntaxKind.StructureBlock
FindSymbols\VisualBasicDeclaredSymbolInfoFactoryService.vb (1)
438Case SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ModuleBlock
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTokenExtensions.vb\SyntaxTokenExtensions.vb (1)
148SyntaxKind.StructureBlock,
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (4)
117syntaxTree.IsDeclarationContextWithinTypeBlocks(position, token, True, cancellationToken, SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.NamespaceBlock, SyntaxKind.ModuleBlock, SyntaxKind.CompilationUnit) 190position, token, True, cancellationToken, SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.ModuleBlock) 208position, token, True, cancellationToken, SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.NamespaceBlock, SyntaxKind.ModuleBlock, SyntaxKind.CompilationUnit) 234SyntaxKind.StructureBlock) Then
ModifierCollectionFacts.vb (1)
84ElseIf syntaxTree.IsDeclarationContextWithinTypeBlocks(position, token, True, cancellationToken, SyntaxKind.StructureBlock) Then
StatementSyntaxExtensions.vb (10)
20SyntaxKind.StructureBlock 80SyntaxKind.StructureBlock 165SyntaxKind.StructureBlock 233Case SyntaxKind.StructureBlock 310SyntaxKind.StructureBlock 399SyntaxKind.StructureBlock 545SyntaxKind.StructureBlock, 575SyntaxKind.StructureBlock 633SyntaxKind.StructureBlock, 661SyntaxKind.StructureBlock
SyntaxNodeExtensions.vb (3)
1185Case SyntaxKind.StructureBlock 1258Case SyntaxKind.ModuleBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ClassBlock 1299Case SyntaxKind.ModuleBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ClassBlock
TypeBlockSyntaxExtensions.vb (1)
97Case SyntaxKind.StructureBlock
VisualBasicAccessibilityFacts.vb (2)
27SyntaxKind.StructureBlock, 109Case SyntaxKind.StructureBlock
VisualBasicSyntaxFacts.vb (2)
1311SyntaxKind.StructureBlock, 1353SyntaxKind.StructureBlock,
Microsoft.VisualStudio.LanguageServices.VisualBasic (16)
CodeModel\VisualBasicCodeModelService.NodeLocator.vb (3)
43SyntaxKind.StructureBlock 133SyntaxKind.StructureBlock 140SyntaxKind.StructureBlock
CodeModel\VisualBasicCodeModelService.NodeNameGenerator.vb (1)
134SyntaxKind.StructureBlock,
CodeModel\VisualBasicCodeModelService.vb (11)
116SyntaxKind.StructureBlock, 183Case SyntaxKind.StructureBlock 269Case SyntaxKind.StructureBlock 600Case SyntaxKind.StructureBlock 640Case SyntaxKind.StructureBlock 892SyntaxKind.StructureBlock 1026SyntaxKind.StructureBlock 3702SyntaxKind.StructureBlock, 4314If node.IsKind(SyntaxKind.ClassBlock, SyntaxKind.StructureBlock) Then 4322If Not node.IsKind(SyntaxKind.ClassBlock, SyntaxKind.StructureBlock) Then 4354If Not node.IsKind(SyntaxKind.ClassBlock, SyntaxKind.StructureBlock) Then
Progression\VisualBasicProgressionLanguageService.vb (1)
43node.Kind = SyntaxKind.StructureBlock OrElse