3 instantiations of ArrayLiteralTypeSymbol
Microsoft.CodeAnalysis.VisualBasic (3)
Binding\Binder_Expressions.vb (1)
4547
expressionType = New
ArrayLiteralTypeSymbol
(arrayLiteral)
Semantics\Conversions.vb (1)
2118
sourceType = New
ArrayLiteralTypeSymbol
(DirectCast(source, BoundArrayLiteral))
Semantics\TypeInference\TypeArgumentInference.vb (1)
566
expressionType = New
ArrayLiteralTypeSymbol
(arrayLiteral)
22 references to ArrayLiteralTypeSymbol
Microsoft.CodeAnalysis.VisualBasic (22)
Binding\Binder_Expressions.vb (2)
1497
Debug.Assert(Not (TypeOf destination Is
ArrayLiteralTypeSymbol
)) 'An array literal should never be reclassified as an array literal.
4619
Dim arrayLiteralType = TryCast(dominantType,
ArrayLiteralTypeSymbol
)
Semantics\Conversions.vb (3)
914
Debug.Assert(Not TypeOf source Is
ArrayLiteralTypeSymbol
)
1830
Debug.Assert(Not TypeOf source Is
ArrayLiteralTypeSymbol
)
2197
Debug.Assert(Not TypeOf source Is
ArrayLiteralTypeSymbol
)
Semantics\Operators.vb (1)
2321
Dim arrayLiteralType = TryCast(source,
ArrayLiteralTypeSymbol
)
Semantics\TypeInference\TypeArgumentInference.vb (6)
178
Dim arrayLiteralType = TryCast(inferredType,
ArrayLiteralTypeSymbol
)
200
Debug.Assert(Not (TypeOf inferredType Is
ArrayLiteralTypeSymbol
))
364
Debug.Assert(Not typeByAssumption OrElse type.IsObjectType() OrElse TypeOf type Is
ArrayLiteralTypeSymbol
, "unexpected: a type which was 'by assumption', but isn't object or array literal")
374
If TypeOf type IsNot
ArrayLiteralTypeSymbol
Then
378
If TypeOf competitor.ResultType IsNot
ArrayLiteralTypeSymbol
AndAlso type.IsSameTypeIgnoringAll(competitor.ResultType) Then
1562
Dim argumentIsAarrayLiteral = TypeOf argumentArray Is
ArrayLiteralTypeSymbol
Semantics\TypeInference\TypeInferenceCollection.vb (10)
260
Dim arrayLiteralType = TryCast(inner.ResultType,
ArrayLiteralTypeSymbol
)
289
If TypeOf resultList(i).ResultType IsNot
ArrayLiteralTypeSymbol
Then
316
Dim rank As Integer = DirectCast(resultList(0).ResultType,
ArrayLiteralTypeSymbol
).Rank
319
If DirectCast(resultList(i).ResultType,
ArrayLiteralTypeSymbol
).Rank <> rank Then
331
AppendArrayElements(DirectCast(candidate.ResultType,
ArrayLiteralTypeSymbol
).ArrayLiteral.Initializer, elements)
335
Dim inferredElementType = DirectCast(resultList(0).ResultType,
ArrayLiteralTypeSymbol
).ArrayLiteral.
346
Dim candidateType = DirectCast(candidate.ResultType,
ArrayLiteralTypeSymbol
)
447
Dim arrayLiteralType = TryCast(hint,
ArrayLiteralTypeSymbol
)
581
If TypeOf type IsNot
ArrayLiteralTypeSymbol
Then
586
If TypeOf competitor.ResultType IsNot
ArrayLiteralTypeSymbol
AndAlso type.IsSameTypeIgnoringAll(competitor.ResultType) Then