6 overrides of TypeSubstitution
Microsoft.CodeAnalysis.VisualBasic (6)
Symbols\ErrorTypeSymbol.vb (1)
318
Friend Overrides ReadOnly Property
TypeSubstitution
As TypeSubstitution
Symbols\InstanceTypeSymbol.vb (1)
119
Friend Overrides ReadOnly Property
TypeSubstitution
As TypeSubstitution
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
980
Friend Overrides ReadOnly Property
TypeSubstitution
As TypeSubstitution
Symbols\SubstitutedNamedType.vb (1)
86
Friend NotOverridable Overrides ReadOnly Property
TypeSubstitution
As TypeSubstitution
Symbols\Tuples\TupleTypeSymbol.vb (1)
332
Friend Overrides ReadOnly Property
TypeSubstitution
As TypeSubstitution
Symbols\UnboundGenericType.vb (1)
326
Friend MustOverride Overrides ReadOnly Property
TypeSubstitution
As TypeSubstitution
24 references to TypeSubstitution
Microsoft.CodeAnalysis.VisualBasic (24)
Symbols\ConstraintsHelper.vb (1)
590
Dim substitution = type.
TypeSubstitution
Symbols\InstanceErrorTypeSymbol.vb (3)
92
Debug.Assert(newContainer.
TypeSubstitution
Is substitution.Parent) ' How can it be otherwise? The contained type didn't have any substitution before.
96
Debug.Assert(newContainer.
TypeSubstitution
IsNot Nothing)
97
substitution = VisualBasic.Symbols.TypeSubstitution.Concat(Me, newContainer.
TypeSubstitution
, Nothing)
Symbols\InstanceTypeSymbol.vb (1)
112
Debug.Assert(newContainer.
TypeSubstitution
Is substitution.Parent) ' How can it be otherwise? The contained type didn't have any substitution before.
Symbols\Metadata\PE\TupleTypeDecoder.vb (1)
226
Dim parentSubst = type.ConstructedFrom.ContainingType?.
TypeSubstitution
Symbols\MethodSignatureComparer.vb (3)
806
Return containingType.
TypeSubstitution
816
Debug.Assert(containingType.
TypeSubstitution
Is Nothing OrElse TypeOf method Is SignatureOnlyMethodSymbol)
819
Return TypeSubstitution.Create(containingType.
TypeSubstitution
, method.OriginalDefinition, indexedTypeArguments)
Symbols\SubstitutedErrorType.vb (2)
179
Dim newSubstitution = VisualBasic.Symbols.TypeSubstitution.AdjustForConstruct(newContainer.
TypeSubstitution
, _substitution, additionalSubstitution)
182
Debug.Assert(newContainer.
TypeSubstitution
Is Nothing AndAlso newContainer.IsDefinition)
Symbols\SubstitutedNamedType.vb (12)
625
Debug.Assert(substitution.Parent Is container.
TypeSubstitution
)
697
Debug.Assert(container.
TypeSubstitution
IsNot Nothing AndAlso
698
container.
TypeSubstitution
.TargetGenericDefinition Is fullInstanceType.ContainingSymbol)
699
Dim substitution = VisualBasic.Symbols.TypeSubstitution.CreateForAlphaRename(container.
TypeSubstitution
, newTypeParameters)
862
Dim parentsTypeSubstitution = container.
TypeSubstitution
943
Debug.Assert(newContainer.
TypeSubstitution
Is Nothing AndAlso definition.ContainingSymbol Is newContainer)
947
Return Create(DirectCast(newContainer, NamedTypeSymbol), definition, newContainer.
TypeSubstitution
)
1088
Debug.Assert(newContainedType.
TypeSubstitution
IsNot Nothing)
1089
substitution = VisualBasic.Symbols.TypeSubstitution.AdjustForConstruct(newContainedType.
TypeSubstitution
, _substitution, additionalSubstitution)
1095
Debug.Assert(newContainedType Is Nothing OrElse newContainedType.
TypeSubstitution
Is Nothing)
1167
Dim newSubstitution As TypeSubstitution = VisualBasic.Symbols.TypeSubstitution.AdjustForConstruct(newContainer.
TypeSubstitution
, _substitution, additionalSubstitution)
1171
Debug.Assert(newContainer.IsDefinition AndAlso newContainer.
TypeSubstitution
Is Nothing)
Symbols\SubstitutedTypeParameterSymbol.vb (1)
91
DirectCast(_containingSymbol, NamedTypeSymbol).
TypeSubstitution
)