8 instantiations of WithStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (8)
Generated\Syntax.xml.Internal.Generated.vb (7)
19170
Friend Shared CreateInstance As Func(Of ObjectReader, Object) = Function(o) New
WithStatementSyntax
(o)
19180
ObjectBinder.RegisterTypeReader(GetType(WithStatementSyntax), Function(r) New
WithStatementSyntax
(r))
19219
Return new
WithStatementSyntax
(Me.Kind, newErrors, GetAnnotations, _withKeyword, _expression)
19223
Return new
WithStatementSyntax
(Me.Kind, GetDiagnostics, annotations, _withKeyword, _expression)
39931
Return New
WithStatementSyntax
(node.Kind, node.GetDiagnostics, node.GetAnnotations, newWithKeyword, newExpression)
49040
Dim result = New
WithStatementSyntax
(SyntaxKind.WithStatement, withKeyword, expression)
61118
Dim result = New
WithStatementSyntax
(SyntaxKind.WithStatement, withKeyword, expression, _factoryContext)
Generated\Syntax.xml.Syntax.Generated.vb (1)
20755
Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
WithStatementSyntax
(kind, errors, annotations, withKeyword, DirectCast(expression.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.ExpressionSyntax)), Nothing, 0)
20 references to WithStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (19)
Generated\Syntax.xml.Internal.Generated.vb (16)
11380
Friend ReadOnly _withStatement as
WithStatementSyntax
11384
Friend Sub New(ByVal kind As SyntaxKind, withStatement As
WithStatementSyntax
, statements As GreenNode, endWithStatement As EndBlockStatementSyntax)
11399
Friend Sub New(ByVal kind As SyntaxKind, withStatement As
WithStatementSyntax
, statements As GreenNode, endWithStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext)
11415
Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), withStatement As
WithStatementSyntax
, statements As GreenNode, endWithStatement As EndBlockStatementSyntax)
11433
Dim _withStatement = DirectCast(reader.ReadValue(),
WithStatementSyntax
)
11470
Friend ReadOnly Property WithStatement As InternalSyntax.
WithStatementSyntax
19180
ObjectBinder.RegisterTypeReader(GetType(
WithStatementSyntax
), Function(r) New WithStatementSyntax(r))
37196
Public Overridable Function VisitWithStatement(ByVal node As
WithStatementSyntax
) As VisualBasicSyntaxNode
39036
Dim newWithStatement = DirectCast(Visit(node._withStatement),
WithStatementSyntax
)
39922
Public Overrides Function VisitWithStatement(ByVal node As
WithStatementSyntax
) As VisualBasicSyntaxNode
45681
Friend Shared Function WithBlock(withStatement As
WithStatementSyntax
, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), endWithStatement As EndBlockStatementSyntax) As WithBlockSyntax
49030
Friend Shared Function WithStatement(withKeyword As KeywordSyntax, expression As ExpressionSyntax) As
WithStatementSyntax
49037
Return DirectCast(cached,
WithStatementSyntax
)
57759
Friend Function WithBlock(withStatement As
WithStatementSyntax
, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), endWithStatement As EndBlockStatementSyntax) As WithBlockSyntax
61108
Friend Function WithStatement(withKeyword As KeywordSyntax, expression As ExpressionSyntax) As
WithStatementSyntax
61115
Return DirectCast(cached,
WithStatementSyntax
)
Generated\Syntax.xml.Syntax.Generated.vb (2)
13178
Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.WithBlockSyntax(kind, errors, annotations, DirectCast(withStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
WithStatementSyntax
), if(statements IsNot Nothing, statements.Green, Nothing), DirectCast(endWithStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.EndBlockStatementSyntax)), Nothing, 0)
20763
return new SyntaxToken(Me, DirectCast(Me.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
WithStatementSyntax
)._withKeyword, Me.Position, 0)
Parser\BlockContexts\StatementBlockContext.vb (1)
31
Dim beginStmt As
WithStatementSyntax
= Nothing
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.vb (1)
847
Private Shared Function GenerateGreenWithStatement() As InternalSyntax.
WithStatementSyntax