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