4 instantiations of StructureBlockSyntax
Microsoft.CodeAnalysis.VisualBasic (4)
Generated\Syntax.xml.Internal.Generated.vb (1)
1849Return new Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureBlockSyntax(Me, parent, startLocation)
Generated\Syntax.xml.Main.Generated.vb (2)
1682Return New StructureBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newStructureStatement, newInherits.Node, newImplements.Node, newMembers.Node, newEndStructureStatement) 7153Return New StructureBlockSyntax(SyntaxKind.StructureBlock, Nothing, Nothing, structureStatement, [inherits].Node, [implements].Node, members.Node, endStructureStatement)
Generated\Syntax.xml.Syntax.Generated.vb (1)
1877Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.StructureBlockSyntax(kind, errors, annotations, DirectCast(structureStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.StructureStatementSyntax), if([inherits] IsNot Nothing, [inherits].Green, Nothing), if([implements] IsNot Nothing, [implements].Green, Nothing), if(members IsNot Nothing, members.Green, Nothing), DirectCast(endStructureStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.EndBlockStatementSyntax)), Nothing, 0)
73 references to StructureBlockSyntax
Microsoft.CodeAnalysis.VisualBasic (21)
Binding\BinderFactory.BinderFactoryVisitor.vb (1)
146Public Overrides Function VisitStructureBlock(ByVal structureSyntax As StructureBlockSyntax) As Binder
Declarations\DeclarationTreeBuilder.vb (1)
536Public Overrides Function VisitStructureBlock(ByVal structureBlockSyntax As StructureBlockSyntax) As SingleNamespaceOrTypeDeclaration
Generated\Syntax.xml.Main.Generated.vb (6)
47Public Overridable Function VisitStructureBlock(ByVal node As StructureBlockSyntax) As TResult 782Public Overridable Sub VisitStructureBlock(ByVal node As StructureBlockSyntax) 1667Public Overrides Function VisitStructureBlock(ByVal node As StructureBlockSyntax) As SyntaxNode 7136Public Shared Function StructureBlock(structureStatement As StructureStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax), endStructureStatement As EndBlockStatementSyntax) As StructureBlockSyntax 7173Public Shared Function StructureBlock(structureStatement As StructureStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax)) As StructureBlockSyntax 7185Public Shared Function StructureBlock(structureStatement As StructureStatementSyntax) As StructureBlockSyntax
Generated\Syntax.xml.Syntax.Generated.vb (9)
1894Public Shadows Function WithStructureStatement(structureStatement as StructureStatementSyntax) As StructureBlockSyntax 1924Public Shadows Function WithInherits([inherits] as SyntaxList(Of InheritsStatementSyntax)) As StructureBlockSyntax 1928Public Shadows Function AddInherits(ParamArray items As InheritsStatementSyntax()) As StructureBlockSyntax 1962Public Shadows Function WithImplements([implements] as SyntaxList(Of ImplementsStatementSyntax)) As StructureBlockSyntax 1966Public Shadows Function AddImplements(ParamArray items As ImplementsStatementSyntax()) As StructureBlockSyntax 2000Public Shadows Function WithMembers(members as SyntaxList(Of StatementSyntax)) As StructureBlockSyntax 2004Public Shadows Function AddMembers(ParamArray items As StatementSyntax()) As StructureBlockSyntax 2026Public Shadows Function WithEndStructureStatement(endStructureStatement as EndBlockStatementSyntax) As StructureBlockSyntax 2092Public Function Update(structureStatement As StructureStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax), endStructureStatement As EndBlockStatementSyntax) As StructureBlockSyntax
Semantics\StatementSyntaxWalker.vb (1)
55Public Overrides Sub VisitStructureBlock(ByVal node As StructureBlockSyntax)
Syntax\SyntaxNormalizer.vb (1)
794Public Overrides Function VisitStructureBlock(ByVal node As StructureBlockSyntax) As SyntaxNode
Syntax\TypeBlockSyntax.vb (2)
158Public Shadows Function WithBegin(begin As StructureStatementSyntax) As StructureBlockSyntax 164Public Shadows Function WithEnd([end] As EndBlockStatementSyntax) As StructureBlockSyntax
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (5)
NodeBasedFormattingRule.vb (1)
332Dim [struct] = TryCast(node, StructureBlockSyntax)
StatementSyntaxExtensions.vb (1)
234Dim structureBlock = DirectCast(member, StructureBlockSyntax)
SyntaxNodeExtensions.vb (1)
1186Return DirectCast(node, StructureBlockSyntax).BlockStatement.AttributeLists
VisualBasicAccessibilityFacts.vb (1)
110Return DirectCast(declaration, StructureBlockSyntax).BlockStatement.Modifiers
VisualBasicSyntaxFacts.vb (1)
1133Dim [struct] = TryCast(member, StructureBlockSyntax)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (2)
EndConstructGeneration\EndConstructStatementVisitor.vb (1)
221Dim needsEnd = node.GetAncestorsOrThis(Of StructureBlockSyntax)().Any(Function(block) block.EndBlockStatement.IsMissing)
LineCommit\ContainingStatementInfo.MatchingStatementsVisitor.vb (1)
105Public Overrides Function VisitStructureBlock(node As StructureBlockSyntax) As IList(Of StatementSyntax)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (2)
Extensions\StatementSyntaxExtensionTests.vb (2)
104TestTypeBlockWithPublicModifier(Of StructureBlockSyntax)(code) 185VerifyTokenName(Of StructureBlockSyntax)(code, "S")
Microsoft.CodeAnalysis.VisualBasic.Features (4)
CodeFixes\GenerateEndConstruct\GenerateEndConstructCodeFixProvider.vb (2)
131(Function(n As StructureBlockSyntax) n.BlockStatement), 151(Function(n As StructureBlockSyntax) n.EndBlockStatement),
Completion\KeywordRecommenders\Declarations\EndBlockKeywordRecommender.vb (1)
134Public Overrides Function VisitStructureBlock(ByVal node As StructureBlockSyntax) As SyntaxKind?
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (1)
389Public Overrides Function VisitStructureBlock(ByVal node As StructureBlockSyntax) As SyntaxNode
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.vb (1)
10212Private Shared Function GenerateRedStructureBlock() As StructureBlockSyntax
Microsoft.CodeAnalysis.VisualBasic.Workspaces (17)
CodeGeneration\VisualBasicDeclarationComparer.vb (1)
147Return DirectCast(node, StructureBlockSyntax).BlockStatement
CodeGeneration\VisualBasicSyntaxGenerator.vb (11)
1829Return DirectCast(node, StructureBlockSyntax).WithStructureStatement(DirectCast(node, StructureBlockSyntax).StructureStatement.WithAttributeLists(arg)) 2090Return DirectCast(declaration, StructureBlockSyntax).BlockStatement.Identifier.ValueText 2175Return ReplaceWithTrivia(declaration, DirectCast(declaration, StructureBlockSyntax).BlockStatement.Identifier, id) 2580Return DirectCast(declaration, StructureBlockSyntax).WithStructureStatement(DirectCast(declaration, StructureBlockSyntax).StructureStatement.WithModifiers(tokens)) 2828Dim structureBlock = TryCast(declaration, StructureBlockSyntax) 3160Return DirectCast(declaration, StructureBlockSyntax).Members 3215Dim sb = DirectCast(declaration, StructureBlockSyntax) 3625Return DirectCast(declaration, StructureBlockSyntax).Implements 3636Return DirectCast(declaration, StructureBlockSyntax).WithImplements(list)
Formatting\Rules\NodeBasedFormattingRule.vb (1)
332Dim [struct] = TryCast(node, StructureBlockSyntax)
StatementSyntaxExtensions.vb (1)
234Dim structureBlock = DirectCast(member, StructureBlockSyntax)
SyntaxNodeExtensions.vb (1)
1186Return DirectCast(node, StructureBlockSyntax).BlockStatement.AttributeLists
VisualBasicAccessibilityFacts.vb (1)
110Return DirectCast(declaration, StructureBlockSyntax).BlockStatement.Modifiers
VisualBasicSyntaxFacts.vb (1)
1133Dim [struct] = TryCast(member, StructureBlockSyntax)
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (13)
CodeGeneration\SyntaxGeneratorTests.vb (13)
1433VerifySyntax(Of StructureBlockSyntax)( 1438VerifySyntax(Of StructureBlockSyntax)( 1443VerifySyntax(Of StructureBlockSyntax)( 1448VerifySyntax(Of StructureBlockSyntax)( 1455VerifySyntax(Of StructureBlockSyntax)( 1462VerifySyntax(Of StructureBlockSyntax)( 1467VerifySyntax(Of StructureBlockSyntax)( 1474VerifySyntax(Of StructureBlockSyntax)( 1482VerifySyntax(Of StructureBlockSyntax)( 1920VerifySyntax(Of StructureBlockSyntax)( 2056VerifySyntax(Of StructureBlockSyntax)( 3271VerifySyntax(Of StructureBlockSyntax)( 3331VerifySyntax(Of StructureBlockSyntax)(
Microsoft.VisualStudio.LanguageServices.VisualBasic (8)
CodeModel\VisualBasicCodeModelService.vb (8)
1571If node.HasAncestor(Of StructureBlockSyntax)() Then 2362TypeOf typeNode Is StructureBlockSyntax) 2391TypeOf typeNode Is StructureBlockSyntax) 2809If TypeOf memberNode Is StructureBlockSyntax OrElse 3757ElseIf TypeOf container Is StructureBlockSyntax Then 3758Dim structureBlock = DirectCast(container, StructureBlockSyntax) 3842ElseIf TypeOf container Is StructureBlockSyntax Then 3843Dim structureBlock = DirectCast(container, StructureBlockSyntax)