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
25 references to TypeSubstitution
Microsoft.CodeAnalysis.VisualBasic (25)
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (1)
124
Return Me.F.CurrentType.
TypeSubstitution
Symbols\ConstraintsHelper.vb (1)
578
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)
609
Debug.Assert(substitution.Parent Is container.
TypeSubstitution
)
681
Debug.Assert(container.
TypeSubstitution
IsNot Nothing AndAlso
682
container.
TypeSubstitution
.TargetGenericDefinition Is fullInstanceType.ContainingSymbol)
683
Dim substitution = VisualBasic.Symbols.TypeSubstitution.CreateForAlphaRename(container.
TypeSubstitution
, newTypeParameters)
846
Dim parentsTypeSubstitution = container.
TypeSubstitution
927
Debug.Assert(newContainer.
TypeSubstitution
Is Nothing AndAlso definition.ContainingSymbol Is newContainer)
931
Return Create(DirectCast(newContainer, NamedTypeSymbol), definition, newContainer.
TypeSubstitution
)
1072
Debug.Assert(newContainedType.
TypeSubstitution
IsNot Nothing)
1073
substitution = VisualBasic.Symbols.TypeSubstitution.AdjustForConstruct(newContainedType.
TypeSubstitution
, _substitution, additionalSubstitution)
1079
Debug.Assert(newContainedType Is Nothing OrElse newContainedType.
TypeSubstitution
Is Nothing)
1151
Dim newSubstitution As TypeSubstitution = VisualBasic.Symbols.TypeSubstitution.AdjustForConstruct(newContainer.
TypeSubstitution
, _substitution, additionalSubstitution)
1155
Debug.Assert(newContainer.IsDefinition AndAlso newContainer.
TypeSubstitution
Is Nothing)
Symbols\SubstitutedTypeParameterSymbol.vb (1)
91
DirectCast(_containingSymbol, NamedTypeSymbol).
TypeSubstitution
)