6 overrides of TypeSubstitution
Microsoft.CodeAnalysis.VisualBasic (6)
Symbols\ErrorTypeSymbol.vb (1)
312Friend Overrides ReadOnly Property TypeSubstitution As TypeSubstitution
Symbols\InstanceTypeSymbol.vb (1)
119Friend Overrides ReadOnly Property TypeSubstitution As TypeSubstitution
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
974Friend Overrides ReadOnly Property TypeSubstitution As TypeSubstitution
Symbols\SubstitutedNamedType.vb (1)
86Friend NotOverridable Overrides ReadOnly Property TypeSubstitution As TypeSubstitution
Symbols\Tuples\TupleTypeSymbol.vb (1)
326Friend Overrides ReadOnly Property TypeSubstitution As TypeSubstitution
Symbols\UnboundGenericType.vb (1)
320Friend MustOverride Overrides ReadOnly Property TypeSubstitution As TypeSubstitution
25 references to TypeSubstitution
Microsoft.CodeAnalysis.VisualBasic (25)
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (1)
124Return Me.F.CurrentType.TypeSubstitution
Symbols\ConstraintsHelper.vb (1)
578Dim substitution = type.TypeSubstitution
Symbols\InstanceErrorTypeSymbol.vb (3)
92Debug.Assert(newContainer.TypeSubstitution Is substitution.Parent) ' How can it be otherwise? The contained type didn't have any substitution before. 96Debug.Assert(newContainer.TypeSubstitution IsNot Nothing) 97substitution = VisualBasic.Symbols.TypeSubstitution.Concat(Me, newContainer.TypeSubstitution, Nothing)
Symbols\InstanceTypeSymbol.vb (1)
112Debug.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)
226Dim parentSubst = type.ConstructedFrom.ContainingType?.TypeSubstitution
Symbols\MethodSignatureComparer.vb (3)
806Return containingType.TypeSubstitution 816Debug.Assert(containingType.TypeSubstitution Is Nothing OrElse TypeOf method Is SignatureOnlyMethodSymbol) 819Return TypeSubstitution.Create(containingType.TypeSubstitution, method.OriginalDefinition, indexedTypeArguments)
Symbols\SubstitutedErrorType.vb (2)
179Dim newSubstitution = VisualBasic.Symbols.TypeSubstitution.AdjustForConstruct(newContainer.TypeSubstitution, _substitution, additionalSubstitution) 182Debug.Assert(newContainer.TypeSubstitution Is Nothing AndAlso newContainer.IsDefinition)
Symbols\SubstitutedNamedType.vb (12)
609Debug.Assert(substitution.Parent Is container.TypeSubstitution) 681Debug.Assert(container.TypeSubstitution IsNot Nothing AndAlso 682container.TypeSubstitution.TargetGenericDefinition Is fullInstanceType.ContainingSymbol) 683Dim substitution = VisualBasic.Symbols.TypeSubstitution.CreateForAlphaRename(container.TypeSubstitution, newTypeParameters) 846Dim parentsTypeSubstitution = container.TypeSubstitution 927Debug.Assert(newContainer.TypeSubstitution Is Nothing AndAlso definition.ContainingSymbol Is newContainer) 931Return Create(DirectCast(newContainer, NamedTypeSymbol), definition, newContainer.TypeSubstitution) 1072Debug.Assert(newContainedType.TypeSubstitution IsNot Nothing) 1073substitution = VisualBasic.Symbols.TypeSubstitution.AdjustForConstruct(newContainedType.TypeSubstitution, _substitution, additionalSubstitution) 1079Debug.Assert(newContainedType Is Nothing OrElse newContainedType.TypeSubstitution Is Nothing) 1151Dim newSubstitution As TypeSubstitution = VisualBasic.Symbols.TypeSubstitution.AdjustForConstruct(newContainer.TypeSubstitution, _substitution, additionalSubstitution) 1155Debug.Assert(newContainer.IsDefinition AndAlso newContainer.TypeSubstitution Is Nothing)
Symbols\SubstitutedTypeParameterSymbol.vb (1)
91DirectCast(_containingSymbol, NamedTypeSymbol).TypeSubstitution)