8 instantiations of UsingStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (8)
Generated\Syntax.xml.Internal.Generated.vb (7)
18197
Friend Shared CreateInstance As Func(Of ObjectReader, Object) = Function(o) New
UsingStatementSyntax
(o)
18208
ObjectBinder.RegisterTypeReader(GetType(UsingStatementSyntax), Function(r) New
UsingStatementSyntax
(r))
18266
Return new
UsingStatementSyntax
(Me.Kind, newErrors, GetAnnotations, _usingKeyword, _expression, _variables)
18270
Return new
UsingStatementSyntax
(Me.Kind, GetDiagnostics, annotations, _usingKeyword, _expression, _variables)
39818
Return New
UsingStatementSyntax
(node.Kind, node.GetDiagnostics, node.GetAnnotations, newUsingKeyword, newExpression, newVariables.Node)
48396
Dim result = New
UsingStatementSyntax
(SyntaxKind.UsingStatement, usingKeyword, expression, variables.Node)
60474
Dim result = New
UsingStatementSyntax
(SyntaxKind.UsingStatement, usingKeyword, expression, variables.Node, _factoryContext)
Generated\Syntax.xml.Syntax.Generated.vb (1)
19803
Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
UsingStatementSyntax
(kind, errors, annotations, usingKeyword, if(expression IsNot Nothing, DirectCast(expression.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.ExpressionSyntax), Nothing), if(variables IsNot Nothing, variables.Green, Nothing)), Nothing, 0)
21 references to UsingStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (20)
Generated\Syntax.xml.Internal.Generated.vb (16)
11072
Friend ReadOnly _usingStatement as
UsingStatementSyntax
11076
Friend Sub New(ByVal kind As SyntaxKind, usingStatement As
UsingStatementSyntax
, statements As GreenNode, endUsingStatement As EndBlockStatementSyntax)
11091
Friend Sub New(ByVal kind As SyntaxKind, usingStatement As
UsingStatementSyntax
, statements As GreenNode, endUsingStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext)
11107
Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), usingStatement As
UsingStatementSyntax
, statements As GreenNode, endUsingStatement As EndBlockStatementSyntax)
11125
Dim _usingStatement = DirectCast(reader.ReadValue(),
UsingStatementSyntax
)
11162
Friend ReadOnly Property UsingStatement As InternalSyntax.
UsingStatementSyntax
18208
ObjectBinder.RegisterTypeReader(GetType(
UsingStatementSyntax
), Function(r) New UsingStatementSyntax(r))
37168
Public Overridable Function VisitUsingStatement(ByVal node As
UsingStatementSyntax
) As VisualBasicSyntaxNode
39002
Dim newUsingStatement = DirectCast(Visit(node._usingStatement),
UsingStatementSyntax
)
39807
Public Overrides Function VisitUsingStatement(ByVal node As
UsingStatementSyntax
) As VisualBasicSyntaxNode
45615
Friend Shared Function UsingBlock(usingStatement As
UsingStatementSyntax
, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), endUsingStatement As EndBlockStatementSyntax) As UsingBlockSyntax
48387
Friend Shared Function UsingStatement(usingKeyword As KeywordSyntax, expression As ExpressionSyntax, variables As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)) As
UsingStatementSyntax
48393
Return DirectCast(cached,
UsingStatementSyntax
)
57693
Friend Function UsingBlock(usingStatement As
UsingStatementSyntax
, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), endUsingStatement As EndBlockStatementSyntax) As UsingBlockSyntax
60465
Friend Function UsingStatement(usingKeyword As KeywordSyntax, expression As ExpressionSyntax, variables As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)) As
UsingStatementSyntax
60471
Return DirectCast(cached,
UsingStatementSyntax
)
Generated\Syntax.xml.Syntax.Generated.vb (2)
12874
Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.UsingBlockSyntax(kind, errors, annotations, DirectCast(usingStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
UsingStatementSyntax
), if(statements IsNot Nothing, statements.Green, Nothing), DirectCast(endUsingStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.EndBlockStatementSyntax)), Nothing, 0)
19811
return new SyntaxToken(Me, DirectCast(Me.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
UsingStatementSyntax
)._usingKeyword, Me.Position, 0)
Parser\BlockContexts\StatementBlockContext.vb (1)
41
Dim beginStmt As
UsingStatementSyntax
= Nothing
Parser\ParseStatement.vb (1)
1787
Private Function ParseUsingStatement() As
UsingStatementSyntax
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.vb (1)
775
Private Shared Function GenerateGreenUsingStatement() As InternalSyntax.
UsingStatementSyntax