Symbols\MethodSignatureComparer.vb (22)
419Private _typeSubstitution As TypeSubstitution
426Public ReadOnly Property Value As TypeSubstitution
443typeSubstitution1 As TypeSubstitution,
447typeSubstitution2 As TypeSubstitution,
485Private Shared Function SubstituteModifiers(typeSubstitution As TypeSubstitution, customModifiers As ImmutableArray(Of CustomModifier)) As ImmutableArray(Of CustomModifier)
540Dim typeSubstitution1 As TypeSubstitution
541Dim typeSubstitution2 As TypeSubstitution
666Private Shared Function GetTypeWithModifiers(typeSubstitution As TypeSubstitution, param As ParameterSymbol) As TypeWithModifiers
674Private Shared Function GetRefModifiers(typeSubstitution As TypeSubstitution, param As ParameterSymbol) As ImmutableArray(Of CustomModifier)
715Public Shared Function HaveSameParameterTypes(params1 As ImmutableArray(Of ParameterSymbol), typeSubstitution1 As TypeSubstitution,
716params2 As ImmutableArray(Of ParameterSymbol), typeSubstitution2 As TypeSubstitution,
764Private Shared Function HaveSameReturnTypes(method1 As MethodSymbol, typeSubstitution1 As TypeSubstitution,
765method2 As MethodSymbol, typeSubstitution2 As TypeSubstitution,
798Private Shared Function GetTypeSubstitution(method As MethodSymbol) As TypeSubstitution
817Return TypeSubstitution.Create(method, method.TypeParameters, indexedTypeArguments)
819Return TypeSubstitution.Create(containingType.TypeSubstitution, method.OriginalDefinition, indexedTypeArguments)
829Private Shared Function SubstituteType(typeSubstitution As TypeSubstitution, typeSymbol As TypeWithModifiers) As TypeWithModifiers
838typeSubstitution1 As TypeSubstitution,
840typeSubstitution2 As TypeSubstitution) As Boolean
859typeSubstitution1 As TypeSubstitution,
861typeSubstitution2 As TypeSubstitution) As Boolean
937Private Shared Sub SubstituteConstraintTypes(constraintTypes As ImmutableArray(Of TypeSymbol), result As ArrayBuilder(Of TypeSymbol), substitution As TypeSubstitution)
Symbols\SubstitutedErrorType.vb (12)
16Private ReadOnly _substitution As TypeSubstitution
79Dim substitution As TypeSubstitution = _substitution.Parent
85substitution = VisualBasic.Symbols.TypeSubstitution.Concat(_fullInstanceType, substitution, Nothing)
91Friend Overrides ReadOnly Property TypeSubstitution As TypeSubstitution
151Friend Overrides Function InternalSubstituteTypeParameters(additionalSubstitution As TypeSubstitution) As TypeWithModifiers
155Private Overloads Function InternalSubstituteTypeParametersInSubstitutedErrorType(additionalSubstitution As TypeSubstitution) As NamedTypeSymbol
165Dim substitution As TypeSubstitution = VisualBasic.Symbols.TypeSubstitution.AdjustForConstruct(Nothing, _substitution, additionalSubstitution)
179Dim newSubstitution = VisualBasic.Symbols.TypeSubstitution.AdjustForConstruct(newContainer.TypeSubstitution, _substitution, additionalSubstitution)
204Dim substitution = TypeSubstitution.Create(_fullInstanceType, _fullInstanceType.TypeParameters, typeArguments, allowAlphaRenamedTypeParametersAsArguments:=True)
209Return New SubstitutedErrorType(_container, _fullInstanceType, TypeSubstitution.Concat(_fullInstanceType, _substitution.Parent, substitution))
213Public Sub New(container As Symbol, fullInstanceType As InstanceErrorTypeSymbol, substitution As TypeSubstitution)
Symbols\SubstitutedNamedType.vb (26)
29Private ReadOnly _substitution As TypeSubstitution
31Private Sub New(substitution As TypeSubstitution)
86Friend NotOverridable Overrides ReadOnly Property TypeSubstitution As TypeSubstitution
614Protected Sub New(container As NamedTypeSymbol, substitution As TypeSubstitution)
693Dim substitution = VisualBasic.Symbols.TypeSubstitution.CreateForAlphaRename(container.TypeSubstitution, newTypeParameters)
702substitution As TypeSubstitution,
777Dim substitution = TypeSubstitution.Create(_substitution.Parent, Me.OriginalDefinition, typeArguments,
788Friend Overrides Function InternalSubstituteTypeParameters(additionalSubstitution As TypeSubstitution) As TypeWithModifiers
848substitution As TypeSubstitution
863substitution = VisualBasic.Symbols.TypeSubstitution.Concat(fullInstanceType, parentsTypeSubstitution, Nothing)
869substitution = VisualBasic.Symbols.TypeSubstitution.Concat(fullInstanceType, parentsTypeSubstitution, Nothing)
876Private Sub New(container As NamedTypeSymbol, substitution As TypeSubstitution)
919Friend Overrides Function InternalSubstituteTypeParameters(additionalSubstitution As TypeSubstitution) As TypeWithModifiers
923Private Overloads Function InternalSubstituteTypeParametersInSpecializedNonGenericType(additionalSubstitution As TypeSubstitution) As NamedTypeSymbol
960Protected Sub New(substitution As TypeSubstitution)
1039Public Sub New(substitution As TypeSubstitution)
1056Friend Overrides Function InternalSubstituteTypeParameters(additionalSubstitution As TypeSubstitution) As TypeWithModifiers
1060Private Overloads Function InternalSubstituteTypeParametersInConstructedInstanceType(additionalSubstitution As TypeSubstitution) As NamedTypeSymbol
1075Dim substitution As TypeSubstitution
1083substitution = VisualBasic.Symbols.TypeSubstitution.AdjustForConstruct(newContainedType.TypeSubstitution, _substitution, additionalSubstitution)
1090substitution = VisualBasic.Symbols.TypeSubstitution.AdjustForConstruct(Nothing, _substitution, additionalSubstitution)
1124Public Sub New(constructedFrom As SpecializedGenericType, substitution As TypeSubstitution)
1146Friend Overrides Function InternalSubstituteTypeParameters(additionalSubstitution As TypeSubstitution) As TypeWithModifiers
1150Private Overloads Function InternalSubstituteTypeParametersInConstructedSpecializedGenericType(additionalSubstitution As TypeSubstitution) As NamedTypeSymbol
1161Dim newSubstitution As TypeSubstitution = VisualBasic.Symbols.TypeSubstitution.AdjustForConstruct(newContainer.TypeSubstitution, _substitution, additionalSubstitution)
Symbols\TypeSubstitution.vb (40)
83Private ReadOnly _parent As TypeSubstitution
115Public ReadOnly Property Parent As TypeSubstitution
135Dim current As TypeSubstitution = Me
159Dim current As TypeSubstitution = Me
191Dim current As TypeSubstitution = Me
215Dim current As TypeSubstitution = Me
240Dim toCheck As TypeSubstitution = Me
260) As TypeSubstitution
262Dim current As TypeSubstitution = Me
281) As TypeSubstitution
283Dim current As TypeSubstitution = Me
328Public Shared Function Concat(targetGenericDefinition As Symbol, sub1 As TypeSubstitution, sub2 As TypeSubstitution) As TypeSubstitution
349Private Shared Function ConcatNotNulls(sub1 As TypeSubstitution, sub2 As TypeSubstitution) As TypeSubstitution
372) As TypeSubstitution
381) As TypeSubstitution
400) As TypeSubstitution
407Dim currentParent As TypeSubstitution = Nothing
487) As TypeSubstitution
495parent As TypeSubstitution,
499) As TypeSubstitution
511parent As TypeSubstitution,
514) As TypeSubstitution
556Private Sub New(targetGenericDefinition As Symbol, pairs As ImmutableArray(Of KeyValuePair(Of TypeParameterSymbol, TypeWithModifiers)), parent As TypeSubstitution)
584parent As TypeSubstitution,
586) As TypeSubstitution
631) As TypeSubstitution
699adjustedParent As TypeSubstitution,
700oldConstructSubstitution As TypeSubstitution,
701additionalSubstitution As TypeSubstitution
702) As TypeSubstitution
713Dim result As TypeSubstitution
745oldConstructSubstitution As TypeSubstitution,
746additionalSubstitution As TypeSubstitution
784Dim append As TypeSubstitution = additionalSubstitution.GetSubstitutionForGenericDefinition(targetGenericDefinition)
804parent As TypeSubstitution,
808) As TypeSubstitution