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