8 instantiations of ForEachStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (8)
Generated\Syntax.xml.Internal.Generated.vb (7)
17905
Friend Shared CreateInstance As Func(Of ObjectReader, Object) = Function(o) New
ForEachStatementSyntax
(o)
17916
ObjectBinder.RegisterTypeReader(GetType(ForEachStatementSyntax), Function(r) New
ForEachStatementSyntax
(r))
17970
Return new
ForEachStatementSyntax
(Me.Kind, newErrors, GetAnnotations, _forKeyword, _eachKeyword, _controlVariable, _inKeyword, _expression)
17974
Return new
ForEachStatementSyntax
(Me.Kind, GetDiagnostics, annotations, _forKeyword, _eachKeyword, _controlVariable, _inKeyword, _expression)
39786
Return New
ForEachStatementSyntax
(node.Kind, node.GetDiagnostics, node.GetAnnotations, newForKeyword, newEachKeyword, newControlVariable, newInKeyword, newExpression)
48337
Return New
ForEachStatementSyntax
(SyntaxKind.ForEachStatement, forKeyword, eachKeyword, controlVariable, inKeyword, expression)
60415
Return New
ForEachStatementSyntax
(SyntaxKind.ForEachStatement, forKeyword, eachKeyword, controlVariable, inKeyword, expression, _factoryContext)
Generated\Syntax.xml.Syntax.Generated.vb (1)
19478
Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
ForEachStatementSyntax
(kind, errors, annotations, forKeyword, eachKeyword, DirectCast(controlVariable.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.VisualBasicSyntaxNode), inKeyword, DirectCast(expression.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.ExpressionSyntax)), Nothing, 0)
21 references to ForEachStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (20)
Generated\Syntax.xml.Internal.Generated.vb (14)
17326
Friend ReadOnly _forEachStatement as
ForEachStatementSyntax
17328
Friend Sub New(ByVal kind As SyntaxKind, forEachStatement As
ForEachStatementSyntax
, statements As GreenNode, nextStatement As NextStatementSyntax)
17337
Friend Sub New(ByVal kind As SyntaxKind, forEachStatement As
ForEachStatementSyntax
, statements As GreenNode, nextStatement As NextStatementSyntax, context As ISyntaxFactoryContext)
17347
Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forEachStatement As
ForEachStatementSyntax
, statements As GreenNode, nextStatement As NextStatementSyntax)
17359
Dim _forEachStatement = DirectCast(reader.ReadValue(),
ForEachStatementSyntax
)
17384
Friend ReadOnly Property ForEachStatement As InternalSyntax.
ForEachStatementSyntax
17916
ObjectBinder.RegisterTypeReader(GetType(
ForEachStatementSyntax
), Function(r) New ForEachStatementSyntax(r))
37160
Public Overridable Function VisitForEachStatement(ByVal node As
ForEachStatementSyntax
) As VisualBasicSyntaxNode
39717
Dim newForEachStatement = DirectCast(Visit(node._forEachStatement),
ForEachStatementSyntax
)
39771
Public Overrides Function VisitForEachStatement(ByVal node As
ForEachStatementSyntax
) As VisualBasicSyntaxNode
48215
Friend Shared Function ForEachBlock(forEachStatement As
ForEachStatementSyntax
, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), nextStatement As NextStatementSyntax) As ForEachBlockSyntax
48331
Friend Shared Function ForEachStatement(forKeyword As KeywordSyntax, eachKeyword As KeywordSyntax, controlVariable As VisualBasicSyntaxNode, inKeyword As KeywordSyntax, expression As ExpressionSyntax) As
ForEachStatementSyntax
60293
Friend Function ForEachBlock(forEachStatement As
ForEachStatementSyntax
, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), nextStatement As NextStatementSyntax) As ForEachBlockSyntax
60409
Friend Function ForEachStatement(forKeyword As KeywordSyntax, eachKeyword As KeywordSyntax, controlVariable As VisualBasicSyntaxNode, inKeyword As KeywordSyntax, expression As ExpressionSyntax) As
ForEachStatementSyntax
Generated\Syntax.xml.Syntax.Generated.vb (4)
18857
Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.ForEachBlockSyntax(kind, errors, annotations, DirectCast(forEachStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
ForEachStatementSyntax
), if(statements IsNot Nothing, statements.Green, Nothing), if(nextStatement IsNot Nothing, DirectCast(nextStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.NextStatementSyntax), Nothing)), Nothing, 0)
19486
return new SyntaxToken(Me, DirectCast(Me.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
ForEachStatementSyntax
)._forKeyword, Me.Position, 0)
19512
return new SyntaxToken(Me, DirectCast(Me.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
ForEachStatementSyntax
)._eachKeyword, Me.GetChildPosition(1), Me.GetChildIndex(1))
19559
return new SyntaxToken(Me, DirectCast(Me.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
ForEachStatementSyntax
)._inKeyword, Me.GetChildPosition(3), Me.GetChildIndex(3))
Parser\BlockContexts\ForBlockContext.vb (1)
48
result = SyntaxFactory.ForEachBlock(DirectCast(beginStmt,
ForEachStatementSyntax
), Body(), nextStmt)
Parser\ParseStatement.vb (1)
598
Private Function ParseForEachStatement(forKeyword As KeywordSyntax, eachKeyword As KeywordSyntax) As
ForEachStatementSyntax
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.vb (1)
767
Private Shared Function GenerateGreenForEachStatement() As InternalSyntax.
ForEachStatementSyntax