Symbols\MethodSignatureComparer.vb (7)
347New TypeWithModifiers(origDef1.ReturnType, origDef1.ReturnTypeCustomModifiers),
351New TypeWithModifiers(origDef2.ReturnType, origDef2.ReturnTypeCustomModifiers),
668Return SubstituteType(typeSubstitution, New TypeWithModifiers(param.OriginalDefinition.Type, param.OriginalDefinition.CustomModifiers))
670Return New TypeWithModifiers(param.Type, param.CustomModifiers)
782Dim returnType1 = SubstituteType(typeSubstitution1, New TypeWithModifiers(origDef1.ReturnType, origDef1.ReturnTypeCustomModifiers))
783Dim returnType2 = SubstituteType(typeSubstitution2, New TypeWithModifiers(origDef2.ReturnType, origDef2.ReturnTypeCustomModifiers))
939result.Add(SubstituteType(substitution, New TypeWithModifiers(constraintType)).Type)
Utilities\TypeUnification.vb (11)
28If(t1 Is Nothing, Nothing, New TypeWithModifiers(t1)),
29If(t2 Is Nothing, Nothing, New TypeWithModifiers(t2)),
104Return CanUnifyHelper(containingGenericType, New TypeWithModifiers(at1.ElementType, at1.CustomModifiers), New TypeWithModifiers(at2.ElementType, at2.CustomModifiers), substitution)
116New TypeWithModifiers(nt1.GetTupleUnderlyingTypeOrSelf()),
117New TypeWithModifiers(nt2.GetTupleUnderlyingTypeOrSelf()),
140New TypeWithModifiers(nt1Arguments(i), If(nt1HasModifiers, nt1.GetTypeArgumentCustomModifiers(i), Nothing)),
141New TypeWithModifiers(nt2Arguments(i), If(nt2HasModifiers, nt2.GetTypeArgumentCustomModifiers(i), Nothing)),
148Return nt1.ContainingType Is Nothing OrElse CanUnifyHelper(containingGenericType, New TypeWithModifiers(nt1.ContainingType), New TypeWithModifiers(nt2.ContainingType), substitution)
166AddSubstitution(substitution, containingGenericType, tp1, New TypeWithModifiers(t2.Type))