5 writes to ResultType
Microsoft.CodeAnalysis.VisualBasic (5)
Semantics\TypeInference\TypeArgumentInference.vb (2)
379competitor.ResultType = TypeInferenceCollection.MergeTupleNames(competitor.ResultType, type) 395typeData.ResultType = type
Semantics\TypeInference\TypeInferenceCollection.vb (3)
32ResultType = Nothing 587competitor.ResultType = MergeTupleNames(type, competitor.ResultType) 601typeData.ResultType = type
20 references to ResultType
Microsoft.CodeAnalysis.VisualBasic (20)
Semantics\TypeInference\TypeArgumentInference.vb (7)
291RegisterInferredType(typeData.ResultType, argumentLocation, typeData.ByAssumption) 299firstInferredType = currentTypeInfo.ResultType 301ElseIf Not firstInferredType.IsSameTypeIgnoringAll(currentTypeInfo.ResultType) Then 324RegisterInferredType(typeData.ResultType, typeData.ArgumentLocation, typeData.ByAssumption) 378If TypeOf competitor.ResultType IsNot ArrayLiteralTypeSymbol AndAlso type.IsSameTypeIgnoringAll(competitor.ResultType) Then 379competitor.ResultType = TypeInferenceCollection.MergeTupleNames(competitor.ResultType, type)
Semantics\TypeInference\TypeInferenceCollection.vb (13)
131If candidateTypeData.ResultType Is Nothing Then 250If outer.ResultType Is Nothing OrElse inner.ResultType Is Nothing Then 260Dim arrayLiteralType = TryCast(inner.ResultType, ArrayLiteralTypeSymbol) 263conversion = Conversions.ClassifyConversion(inner.ResultType, outer.ResultType, useSiteInfo).Key 267conversion = Conversions.ClassifyConversion(arrayLiteral, outer.ResultType, arrayLiteral.Binder, useSiteInfo).Key 269IsSameTypeIgnoringAll(arrayLiteralType, outer.ResultType) Then 426Dim candidate As TypeSymbol = candidateData.ResultType 427Dim hint As TypeSymbol = hintData.ResultType 586If TypeOf competitor.ResultType IsNot ArrayLiteralTypeSymbol AndAlso type.IsSameTypeIgnoringAll(competitor.ResultType) Then 587competitor.ResultType = MergeTupleNames(type, competitor.ResultType)