6 overrides of TypeSubstitution
Microsoft.CodeAnalysis.VisualBasic (6)
Symbols\ErrorTypeSymbol.vb (1)
312
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)
974
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)
326
Friend Overrides ReadOnly Property
TypeSubstitution
As TypeSubstitution
Symbols\UnboundGenericType.vb (1)
320
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)
619
Debug.Assert(substitution.Parent Is container.
TypeSubstitution
)
691
Debug.Assert(container.
TypeSubstitution
IsNot Nothing AndAlso
692
container.
TypeSubstitution
.TargetGenericDefinition Is fullInstanceType.ContainingSymbol)
693
Dim substitution = VisualBasic.Symbols.TypeSubstitution.CreateForAlphaRename(container.
TypeSubstitution
, newTypeParameters)
856
Dim parentsTypeSubstitution = container.
TypeSubstitution
937
Debug.Assert(newContainer.
TypeSubstitution
Is Nothing AndAlso definition.ContainingSymbol Is newContainer)
941
Return Create(DirectCast(newContainer, NamedTypeSymbol), definition, newContainer.
TypeSubstitution
)
1082
Debug.Assert(newContainedType.
TypeSubstitution
IsNot Nothing)
1083
substitution = VisualBasic.Symbols.TypeSubstitution.AdjustForConstruct(newContainedType.
TypeSubstitution
, _substitution, additionalSubstitution)
1089
Debug.Assert(newContainedType Is Nothing OrElse newContainedType.
TypeSubstitution
Is Nothing)
1161
Dim newSubstitution As TypeSubstitution = VisualBasic.Symbols.TypeSubstitution.AdjustForConstruct(newContainer.
TypeSubstitution
, _substitution, additionalSubstitution)
1165
Debug.Assert(newContainer.IsDefinition AndAlso newContainer.
TypeSubstitution
Is Nothing)
Symbols\SubstitutedTypeParameterSymbol.vb (1)
91
DirectCast(_containingSymbol, NamedTypeSymbol).
TypeSubstitution
)