34 references to BoundArrayCreation
Microsoft.CodeAnalysis.VisualBasic (34)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
2306
Public Overrides Function VisitArrayCreation(node As
BoundArrayCreation
) As BoundNode
Binding\Binder_Attributes.vb (3)
576
Dim arrayCreation = DirectCast(expression,
BoundArrayCreation
)
760
Return VisitArrayCreation(DirectCast(node,
BoundArrayCreation
), diagBag)
851
Private Function VisitArrayCreation(node As
BoundArrayCreation
, diag As BindingDiagnosticBag) As TypedConstant
Binding\Binder_Statements.vb (1)
1249
Dim identifierInitializer As
BoundArrayCreation
= Nothing
Binding\MemberSemanticModel.vb (1)
143
Dim arrayLiteral = DirectCast(boundExpression,
BoundArrayCreation
).ArrayLiteralOpt
CodeGen\EmitExpression.vb (2)
93
EmitArrayCreationExpression(DirectCast(expression,
BoundArrayCreation
), used)
1603
Private Sub EmitArrayCreationExpression(expression As
BoundArrayCreation
, used As Boolean)
Compilation\SemanticModel.vb (2)
942
If lowestExpr.Kind = BoundKind.ArrayCreation AndAlso DirectCast(lowestExpr,
BoundArrayCreation
).ArrayLiteralOpt IsNot Nothing Then
944
conversion = New Conversion(New KeyValuePair(Of ConversionKind, MethodSymbol)(DirectCast(lowestExpr,
BoundArrayCreation
).ArrayLiteralConversion, Nothing))
Generated\BoundNodes.xml.Generated.vb (13)
4015
Public Function Update(isParamArrayArgument As Boolean, bounds As ImmutableArray(Of BoundExpression), initializerOpt As BoundArrayInitialization, arrayLiteralOpt As BoundArrayLiteral, arrayLiteralConversion As ConversionKind, type As TypeSymbol) As
BoundArrayCreation
4458
Public Sub New(syntax As SyntaxNode, localSymbol As LocalSymbol, declarationInitializerOpt As BoundExpression, identifierInitializerOpt As
BoundArrayCreation
, initializedByAsNew As Boolean, Optional hasErrors As Boolean = False)
4489
Private ReadOnly _IdentifierInitializerOpt As
BoundArrayCreation
4490
Public ReadOnly Property IdentifierInitializerOpt As
BoundArrayCreation
4508
Public Function Update(localSymbol As LocalSymbol, declarationInitializerOpt As BoundExpression, identifierInitializerOpt As
BoundArrayCreation
, initializedByAsNew As Boolean) As BoundLocalDeclaration
9489
Return VisitArrayCreation(CType(node,
BoundArrayCreation
), arg)
9991
Public Overridable Function VisitArrayCreation(node As
BoundArrayCreation
, arg As A) As R
10694
Public Overridable Function VisitArrayCreation(node As
BoundArrayCreation
) As BoundNode
11480
Public Overrides Function VisitArrayCreation(node As
BoundArrayCreation
) As BoundNode
12499
Public Overrides Function VisitArrayCreation(node As
BoundArrayCreation
) As BoundNode
12552
Dim identifierInitializerOpt As
BoundArrayCreation
= DirectCast(Me.Visit(node.IdentifierInitializerOpt),
BoundArrayCreation
)
13752
Public Overrides Function VisitArrayCreation(node As
BoundArrayCreation
, arg As Object) As TreeDumperNode
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (1)
815
Public Overrides Function VisitArrayCreation(node As
BoundArrayCreation
) As BoundNode
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (1)
178
Public Overrides Function VisitArrayCreation(node As
BoundArrayCreation
) As BoundNode
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (2)
208
Return VisitArrayCreation(DirectCast(node,
BoundArrayCreation
))
734
Private Function VisitArrayCreation(node As
BoundArrayCreation
) As BoundExpression
Lowering\LocalRewriter\LocalRewriter.vb (1)
906
Public Overrides Function VisitArrayCreation(node As
BoundArrayCreation
) As BoundNode
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (1)
946
typeArrayType As TypeSymbol) As
BoundArrayCreation
Lowering\LocalRewriter\LocalRewriter_StringConcat.vb (2)
132
Dim args As
BoundArrayCreation
= TryCast(boundCall.Arguments(0),
BoundArrayCreation
)
Lowering\UseTwiceRewriter.vb (3)
378
If boundArgument.Kind = BoundKind.ArrayCreation AndAlso DirectCast(boundArgument,
BoundArrayCreation
).IsParamArrayArgument Then
380
UseTwiceParamArrayArgument(containingMember, DirectCast(boundArgument,
BoundArrayCreation
), arg, firstArgsArray(i), secondArgsArray(i))
520
Private Shared Sub UseTwiceParamArrayArgument(containingMember As Symbol, boundArray As
BoundArrayCreation
, arg As ArrayBuilder(Of SynthesizedLocal),