169 references to StructureBlock
Microsoft.CodeAnalysis.VisualBasic (38)
Compilation\SemanticModel.vb (1)
3306Case 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)
35071Return New StructureBlockSyntax(SyntaxKind.StructureBlock, structureStatement, [inherits].Node, [implements].Node, members.Node, endStructureStatement) 47137Return 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)
618Case SyntaxKind.StructureBlock 741Case 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)
1387SyntaxKind.StructureBlock, 2068SyntaxKind.StructureBlock,
Symbols\Source\SourceNamedTypeSymbol.vb (7)
137Case SyntaxKind.ModuleBlock, SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock 432Case SyntaxKind.StructureBlock 664SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock 949Case SyntaxKind.StructureBlock, SyntaxKind.ClassBlock, SyntaxKind.InterfaceBlock 1021Case SyntaxKind.StructureBlock 1046Case SyntaxKind.StructureBlock 1800Case SyntaxKind.ClassBlock, SyntaxKind.StructureBlock
Syntax\InternalSyntax\SyntaxNodeFactories.vb (1)
537Case SyntaxKind.StructureBlock
Syntax\LambdaUtilities.vb (1)
692Case 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.Analyzers (1)
MetaAnalyzers\BasicDiagnosticAnalyzerAPIUsageAnalyzer.vb (1)
16Case SyntaxKind.ModuleBlock, SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.EnumBlock, SyntaxKind.InterfaceBlock
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (19)
src\roslyn\src\Analyzers\VisualBasic\Analyzers\AddAccessibilityModifiers\VisualBasicAddAccessibilityModifiersDiagnosticAnalyzer.vb (1)
54member.IsKind(SyntaxKind.StructureBlock) OrElse
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\StatementSyntaxExtensions.vb (10)
20SyntaxKind.StructureBlock 80SyntaxKind.StructureBlock 165SyntaxKind.StructureBlock 233Case SyntaxKind.StructureBlock 310SyntaxKind.StructureBlock 399SyntaxKind.StructureBlock 545SyntaxKind.StructureBlock, 575SyntaxKind.StructureBlock 633SyntaxKind.StructureBlock, 661SyntaxKind.StructureBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (3)
1154Case SyntaxKind.StructureBlock 1227Case SyntaxKind.ModuleBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ClassBlock 1268Case SyntaxKind.ModuleBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ClassBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTokenExtensions.vb (1)
148SyntaxKind.StructureBlock,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicAccessibilityFacts.vb (2)
22SyntaxKind.StructureBlock, 104Case SyntaxKind.StructureBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (2)
1260SyntaxKind.StructureBlock, 1302SyntaxKind.StructureBlock,
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (15)
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\ImplementInterface\VisualBasicImplementInterfaceService.vb (1)
74implementsStatement.IsParentKind(SyntaxKind.StructureBlock) Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\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)))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationHelpers.vb (1)
166Case SyntaxKind.StructureBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (1)
761Case SyntaxKind.EnumBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ClassBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicDeclarationComparer.vb (3)
28{SyntaxKind.StructureBlock, 9}, 146Case SyntaxKind.StructureBlock 340Case SyntaxKind.StructureBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\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
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeBlockSyntaxExtensions.vb (1)
97Case SyntaxKind.StructureBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxGeneratorInternal.vb (1)
333Case SyntaxKind.StructureBlock, SyntaxKind.StructureStatement
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Utilities\ModifierCollectionFacts.vb (1)
84ElseIf syntaxTree.IsDeclarationContextWithinTypeBlocks(position, token, True, cancellationToken, SyntaxKind.StructureBlock) Then
Microsoft.CodeAnalysis.VisualBasic.Features (21)
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)
32Return codeBlock.IsKind(SyntaxKind.CompilationUnit, SyntaxKind.ClassBlock, SyntaxKind.StructureBlock) OrElse
DocumentationComments\VisualBasicDocumentationCommentSnippetService.vb (1)
39SyntaxKind.StructureBlock,
EditAndContinue\SyntaxComparer.vb (2)
748Case SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ModuleBlock 1220SyntaxKind.StructureBlock,
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (5)
541Debug.Assert(parent.Kind = SyntaxKind.StructureBlock) 1097SyntaxKind.StructureBlock, 1482Case SyntaxKind.StructureBlock, 1774SyntaxKind.StructureBlock, 2063SyntaxKind.StructureBlock
GoToDefinition\VisualBasicGoToDefinitionSymbolService.vb (1)
171If node.IsKind(SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock) Then
Organizing\Organizers\MemberDeclarationsOrganizer.Comparer.vb (1)
134SyntaxKind.StructureBlock,
src\roslyn\src\Analyzers\VisualBasic\Analyzers\AddAccessibilityModifiers\VisualBasicAddAccessibilityModifiersDiagnosticAnalyzer.vb (1)
54member.IsKind(SyntaxKind.StructureBlock) OrElse
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\ImplementInterface\VisualBasicImplementInterfaceService.vb (1)
74implementsStatement.IsParentKind(SyntaxKind.StructureBlock) Then
src\roslyn\src\Compilers\VisualBasic\Portable\Syntax\LambdaUtilities.vb (1)
692Case SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.ModuleBlock
Microsoft.CodeAnalysis.VisualBasic.Workspaces (43)
CodeGeneration\VisualBasicSyntaxGenerator.vb (10)
1655Case SyntaxKind.StructureBlock 1725Case SyntaxKind.StructureBlock 1916Case SyntaxKind.StructureBlock 2001Case SyntaxKind.StructureBlock 2408Case SyntaxKind.StructureBlock 2901Case SyntaxKind.StructureBlock 2920Case SyntaxKind.StructureBlock 2956Case SyntaxKind.StructureBlock 3305Case SyntaxKind.StructureBlock 3316Case SyntaxKind.StructureBlock
FindSymbols\FindSymbolsUtilities.vb (1)
55Case SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ModuleBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\StatementSyntaxExtensions.vb (10)
20SyntaxKind.StructureBlock 80SyntaxKind.StructureBlock 165SyntaxKind.StructureBlock 233Case SyntaxKind.StructureBlock 310SyntaxKind.StructureBlock 399SyntaxKind.StructureBlock 545SyntaxKind.StructureBlock, 575SyntaxKind.StructureBlock 633SyntaxKind.StructureBlock, 661SyntaxKind.StructureBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (3)
1154Case SyntaxKind.StructureBlock 1227Case SyntaxKind.ModuleBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ClassBlock 1268Case SyntaxKind.ModuleBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ClassBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTokenExtensions.vb (1)
148SyntaxKind.StructureBlock,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicAccessibilityFacts.vb (2)
22SyntaxKind.StructureBlock, 104Case SyntaxKind.StructureBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (2)
1260SyntaxKind.StructureBlock, 1302SyntaxKind.StructureBlock,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\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)))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationHelpers.vb (1)
166Case SyntaxKind.StructureBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (1)
761Case SyntaxKind.EnumBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ClassBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicDeclarationComparer.vb (3)
28{SyntaxKind.StructureBlock, 9}, 146Case SyntaxKind.StructureBlock 340Case SyntaxKind.StructureBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\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
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeBlockSyntaxExtensions.vb (1)
97Case SyntaxKind.StructureBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxGeneratorInternal.vb (1)
333Case SyntaxKind.StructureBlock, SyntaxKind.StructureStatement
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Utilities\ModifierCollectionFacts.vb (1)
84ElseIf syntaxTree.IsDeclarationContextWithinTypeBlocks(position, token, True, cancellationToken, SyntaxKind.StructureBlock) Then
Roslyn.Diagnostics.VisualBasic.Analyzers (32)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\StatementSyntaxExtensions.vb (10)
20SyntaxKind.StructureBlock 80SyntaxKind.StructureBlock 165SyntaxKind.StructureBlock 233Case SyntaxKind.StructureBlock 310SyntaxKind.StructureBlock 399SyntaxKind.StructureBlock 545SyntaxKind.StructureBlock, 575SyntaxKind.StructureBlock 633SyntaxKind.StructureBlock, 661SyntaxKind.StructureBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (3)
1154Case SyntaxKind.StructureBlock 1227Case SyntaxKind.ModuleBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ClassBlock 1268Case SyntaxKind.ModuleBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ClassBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTokenExtensions.vb (1)
148SyntaxKind.StructureBlock,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicAccessibilityFacts.vb (2)
22SyntaxKind.StructureBlock, 104Case SyntaxKind.StructureBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (2)
1260SyntaxKind.StructureBlock, 1302SyntaxKind.StructureBlock,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\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)))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationHelpers.vb (1)
166Case SyntaxKind.StructureBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (1)
761Case SyntaxKind.EnumBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ClassBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicDeclarationComparer.vb (3)
28{SyntaxKind.StructureBlock, 9}, 146Case SyntaxKind.StructureBlock 340Case SyntaxKind.StructureBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\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
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeBlockSyntaxExtensions.vb (1)
97Case SyntaxKind.StructureBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxGeneratorInternal.vb (1)
333Case SyntaxKind.StructureBlock, SyntaxKind.StructureStatement
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Utilities\ModifierCollectionFacts.vb (1)
84ElseIf syntaxTree.IsDeclarationContextWithinTypeBlocks(position, token, True, cancellationToken, SyntaxKind.StructureBlock) Then