5 writes to ResultType
Microsoft.CodeAnalysis.VisualBasic (5)
Semantics\TypeInference\TypeArgumentInference.vb (2)
379
competitor.
ResultType
= TypeInferenceCollection.MergeTupleNames(competitor.ResultType, type)
395
typeData.
ResultType
= type
Semantics\TypeInference\TypeInferenceCollection.vb (3)
32
ResultType
= Nothing
587
competitor.
ResultType
= MergeTupleNames(type, competitor.ResultType)
601
typeData.
ResultType
= type
32 references to ResultType
Microsoft.CodeAnalysis.VisualBasic (32)
Binding\Binder_Expressions.vb (2)
4562
Debug.Assert(Not results(0).
ResultType
.IsVoidType(), "internal logic error: how could void have won the dominant type algorithm?")
4564
dominantType = results(0).
ResultType
Binding\Binder_Query.vb (1)
3504
targetType = resultList(0).
ResultType
Semantics\TypeInference\TypeArgumentInference.vb (8)
291
RegisterInferredType(typeData.
ResultType
, argumentLocation, typeData.ByAssumption)
299
firstInferredType = currentTypeInfo.
ResultType
301
ElseIf Not firstInferredType.IsSameTypeIgnoringAll(currentTypeInfo.
ResultType
) Then
324
RegisterInferredType(typeData.
ResultType
, typeData.ArgumentLocation, typeData.ByAssumption)
341
RegisterInferredType(allTypeData(0).
ResultType
, argumentLocation, False)
378
If TypeOf competitor.
ResultType
IsNot ArrayLiteralTypeSymbol AndAlso type.IsSameTypeIgnoringAll(competitor.
ResultType
) Then
379
competitor.ResultType = TypeInferenceCollection.MergeTupleNames(competitor.
ResultType
, type)
Semantics\TypeInference\TypeInferenceCollection.vb (21)
131
If candidateTypeData.
ResultType
Is Nothing Then
250
If outer.
ResultType
Is Nothing OrElse inner.
ResultType
Is Nothing Then
260
Dim arrayLiteralType = TryCast(inner.
ResultType
, ArrayLiteralTypeSymbol)
263
conversion = Conversions.ClassifyConversion(inner.
ResultType
, outer.
ResultType
, useSiteInfo).Key
267
conversion = Conversions.ClassifyConversion(arrayLiteral, outer.
ResultType
, arrayLiteral.Binder, useSiteInfo).Key
269
IsSameTypeIgnoringAll(arrayLiteralType, outer.
ResultType
) Then
289
If TypeOf resultList(i).
ResultType
IsNot ArrayLiteralTypeSymbol Then
304
Dim inferredType As TypeSymbol = resultList(0).
ResultType
307
If Not resultList(i).
ResultType
.IsSameTypeIgnoringAll(inferredType) 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)
426
Dim candidate As TypeSymbol = candidateData.
ResultType
427
Dim hint As TypeSymbol = hintData.
ResultType
586
If TypeOf competitor.
ResultType
IsNot ArrayLiteralTypeSymbol AndAlso type.IsSameTypeIgnoringAll(competitor.
ResultType
) Then
587
competitor.ResultType = MergeTupleNames(type, competitor.
ResultType
)