30 references to TypeWithModifiers
Microsoft.CodeAnalysis.VisualBasic (30)
Semantics\TypeInference\TypeArgumentInference.vb (1)
2286typeArguments.Add(New TypeWithModifiers(newType))
Symbols\AnonymousTypes\PublicSymbols\AnonymousDelegate_TypePublicSymbol.vb (2)
144Return New TypeWithModifiers(Me) 147Return New TypeWithModifiers(Me.Manager.ConstructAnonymousDelegateSymbol(newDescriptor))
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_TypePublicSymbol.vb (2)
168Return New TypeWithModifiers(Me) 171Return New TypeWithModifiers(Me.Manager.ConstructAnonymousTypeSymbol(newDescriptor))
Symbols\ArrayTypeSymbol.vb (2)
525Return New TypeWithModifiers(newArray) 527Return New TypeWithModifiers(Me) ' substitution had no effect on the element type
Symbols\ErrorTypeSymbol.vb (1)
309Return New TypeWithModifiers(Me)
Symbols\InstanceErrorTypeSymbol.vb (1)
68Return New TypeWithModifiers(InternalSubstituteTypeParametersInInstanceErrorTypeSymbol(substitution))
Symbols\InstanceTypeSymbol.vb (1)
72Return New TypeWithModifiers(SubstituteTypeParametersInNamedType(substitution))
Symbols\MethodSignatureComparer.vb (1)
937result.Add(SubstituteType(substitution, New TypeWithModifiers(constraintType)).Type)
Symbols\Retargeting\RetargetingSymbolTranslator.vb (1)
437oldArguments.Add(New TypeWithModifiers(args(i)))
Symbols\SubstitutedErrorType.vb (1)
152Return New TypeWithModifiers(InternalSubstituteTypeParametersInSubstitutedErrorType(additionalSubstitution))
Symbols\SubstitutedNamedType.vb (3)
910Return New TypeWithModifiers(InternalSubstituteTypeParametersInSpecializedNonGenericType(additionalSubstitution)) 1047Return New TypeWithModifiers(InternalSubstituteTypeParametersInConstructedInstanceType(additionalSubstitution)) 1137Return New TypeWithModifiers(InternalSubstituteTypeParametersInConstructedSpecializedGenericType(additionalSubstitution))
Symbols\SubstitutedTypeParameterSymbol.vb (1)
197Return New TypeWithModifiers(Me)
Symbols\TypeParameterSymbol.vb (1)
313Return New TypeWithModifiers(Me)
Symbols\TypeSubstitution.vb (2)
480Private Shared ReadOnly s_withoutModifiers As Func(Of TypeSymbol, TypeWithModifiers) = Function(arg) New TypeWithModifiers(arg) 611pairs(i) = New KeyValuePair(Of TypeParameterSymbol, TypeWithModifiers)(typeParametersDefinitions(i), New TypeWithModifiers(alphaRenamedTypeParameters(i)))
Symbols\UnboundGenericType.vb (1)
536Return New TypeWithModifiers(Me)
Utilities\TypeUnification.vb (9)
28If(t1 Is Nothing, Nothing, New TypeWithModifiers(t1)), 29If(t2 Is Nothing, Nothing, New TypeWithModifiers(t2)), 33SubstituteAllTypeParameters(substitution, New TypeWithModifiers(t1)).IsSameType(SubstituteAllTypeParameters(substitution, New TypeWithModifiers(t2)), TypeCompareKind.IgnoreTupleNames)) 116New TypeWithModifiers(nt1.GetTupleUnderlyingTypeOrSelf()), 117New TypeWithModifiers(nt2.GetTupleUnderlyingTypeOrSelf()), 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))