44 references to BoundArrayLiteral
Microsoft.CodeAnalysis.VisualBasic (44)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
2325
Public Overrides Function VisitArrayLiteral(node As
BoundArrayLiteral
) As BoundNode
Binding\Binder_Conversions.vb (3)
487
Conversions.IsNarrowingConversion(Conversions.ClassifyArrayLiteralConversion(DirectCast(argument,
BoundArrayLiteral
), sourceType, Me, useSiteInfo))
1115
Dim arrayLiteral = DirectCast(argument,
BoundArrayLiteral
)
1282
argument = ReclassifyArrayLiteralExpression(conversionSemantics, tree, convKind, isExplicit, DirectCast(argument,
BoundArrayLiteral
), targetType, diagnostics)
Binding\Binder_Expressions.vb (10)
129
Dim arrayLiteral = DirectCast(operand,
BoundArrayLiteral
)
548
expressionType = DirectCast(expression,
BoundArrayLiteral
).InferredType
1468
Return ReclassifyArrayLiteralExpression(DirectCast(expr,
BoundArrayLiteral
), diagnostics)
1492
arrayLiteral As
BoundArrayLiteral
,
1597
Private Sub ReportArrayLiteralDiagnostics(arrayLiteral As
BoundArrayLiteral
, targetArrayType As ArrayTypeSymbol, diagnostics As BindingDiagnosticBag)
1605
Private Sub ReportArrayLiteralInferredTypeDiagnostics(arrayLiteral As
BoundArrayLiteral
, diagnostics As BindingDiagnosticBag)
1653
Private Function ReclassifyEmptyArrayInitialization(arrayLiteral As
BoundArrayLiteral
, rank As Integer) As BoundArrayInitialization
1683
arrayLiteral As
BoundArrayLiteral
,
4509
Dim anEmptyArray As
BoundArrayLiteral
= Nothing ' Used for case (3), so we'll return one of them
4539
Dim arrayLiteral = DirectCast(expression,
BoundArrayLiteral
)
Binding\Binder_Statements.vb (3)
1391
Dim arrayLiteral As
BoundArrayLiteral
= Nothing
1398
arrayLiteral = DirectCast(inferFrom,
BoundArrayLiteral
)
1685
Dim arrayLiteral = TryCast(valueExpression,
BoundArrayLiteral
)
BoundTree\BoundArrayCreation.vb (1)
17
Public Sub New(syntax As SyntaxNode, bounds As ImmutableArray(Of BoundExpression), initializerOpt As BoundArrayInitialization, arrayLiteralOpt As
BoundArrayLiteral
, arrayLiteralConversion As ConversionKind, type As TypeSymbol, Optional hasErrors As Boolean = False)
Generated\BoundNodes.xml.Generated.vb (12)
3956
Public Sub New(syntax As SyntaxNode, isParamArrayArgument As Boolean, bounds As ImmutableArray(Of BoundExpression), initializerOpt As BoundArrayInitialization, arrayLiteralOpt As
BoundArrayLiteral
, arrayLiteralConversion As ConversionKind, type As TypeSymbol, Optional hasErrors As Boolean = False)
3996
Private ReadOnly _ArrayLiteralOpt As
BoundArrayLiteral
3997
Public ReadOnly Property ArrayLiteralOpt As
BoundArrayLiteral
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
4092
Public Function Update(hasDominantType As Boolean, numberOfCandidates As Integer, inferredType As ArrayTypeSymbol, bounds As ImmutableArray(Of BoundExpression), initializer As BoundArrayInitialization, binder As Binder) As
BoundArrayLiteral
9491
Return VisitArrayLiteral(CType(node,
BoundArrayLiteral
), arg)
9995
Public Overridable Function VisitArrayLiteral(node As
BoundArrayLiteral
, arg As A) As R
10698
Public Overridable Function VisitArrayLiteral(node As
BoundArrayLiteral
) As BoundNode
11486
Public Overrides Function VisitArrayLiteral(node As
BoundArrayLiteral
) As BoundNode
12502
Dim arrayLiteralOpt As
BoundArrayLiteral
= node.ArrayLiteralOpt
12507
Public Overrides Function VisitArrayLiteral(node As
BoundArrayLiteral
) As BoundNode
13763
Public Overrides Function VisitArrayLiteral(node As
BoundArrayLiteral
, arg As Object) As TreeDumperNode
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (1)
638
Public NotOverridable Overrides Function VisitArrayLiteral(node As
BoundArrayLiteral
) As BoundNode
Semantics\Conversions.vb (7)
1068
Return ClassifyArrayLiteralConversion(DirectCast(source,
BoundArrayLiteral
), destination, binder, useSiteInfo)
1140
Public Shared Function ClassifyArrayLiteralConversion(source As
BoundArrayLiteral
, destination As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind
2118
sourceType = New ArrayLiteralTypeSymbol(DirectCast(source,
BoundArrayLiteral
))
2147
inConversion = ClassifyArrayLiteralConversion(DirectCast(source,
BoundArrayLiteral
), userDefinedInputType, binder, useSiteInfo)
4504
Private ReadOnly _arrayLiteral As
BoundArrayLiteral
4509
Friend Sub New(arrayLiteral As
BoundArrayLiteral
)
4513
Friend ReadOnly Property ArrayLiteral As
BoundArrayLiteral
Semantics\OverloadResolution.vb (1)
2148
Dim argType As TypeSymbol = If(argument.Kind <> BoundKind.ArrayLiteral, argument.Type, DirectCast(argument,
BoundArrayLiteral
).InferredType)
Semantics\TypeInference\TypeArgumentInference.vb (3)
559
Dim arrayLiteral As
BoundArrayLiteral
= Nothing
564
arrayLiteral = DirectCast(Expression,
BoundArrayLiteral
)
1247
argumentType = DirectCast(argument,
BoundArrayLiteral
).InferredType
Semantics\TypeInference\TypeInferenceCollection.vb (2)
343
Dim matchLiteral As
BoundArrayLiteral
= Nothing
348
Dim candidateLiteral As
BoundArrayLiteral
= candidateType.ArrayLiteral