11 overrides of InternalSubstituteTypeParameters
Microsoft.CodeAnalysis.VisualBasic (11)
Symbols\ArrayTypeSymbol.vb (1)
317Friend MustOverride Overrides Function InternalSubstituteTypeParameters(substitution As TypeSubstitution) As TypeWithModifiers
Symbols\ErrorTypeSymbol.vb (1)
315Friend Overrides Function InternalSubstituteTypeParameters(substitution As TypeSubstitution) As TypeWithModifiers
Symbols\InstanceTypeSymbol.vb (1)
71Friend Overrides Function InternalSubstituteTypeParameters(substitution As TypeSubstitution) As TypeWithModifiers
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
862Friend Overrides Function InternalSubstituteTypeParameters(substitution As TypeSubstitution) As TypeWithModifiers
Symbols\SubstitutedNamedType.vb (4)
794Friend Overrides Function InternalSubstituteTypeParameters(additionalSubstitution As TypeSubstitution) As TypeWithModifiers 925Friend Overrides Function InternalSubstituteTypeParameters(additionalSubstitution As TypeSubstitution) As TypeWithModifiers 1062Friend Overrides Function InternalSubstituteTypeParameters(additionalSubstitution As TypeSubstitution) As TypeWithModifiers 1152Friend Overrides Function InternalSubstituteTypeParameters(additionalSubstitution As TypeSubstitution) As TypeWithModifiers
Symbols\Tuples\TupleTypeSymbol.vb (1)
1077Friend Overrides Function InternalSubstituteTypeParameters(substitution As TypeSubstitution) As TypeWithModifiers
Symbols\TypeParameterSymbol.vb (1)
308Friend Overrides Function InternalSubstituteTypeParameters(substitution As TypeSubstitution) As TypeWithModifiers
Symbols\UnboundGenericType.vb (1)
260Friend MustOverride Overrides Function InternalSubstituteTypeParameters(additionalSubstitution As TypeSubstitution) As TypeWithModifiers
49 references to InternalSubstituteTypeParameters
Microsoft.CodeAnalysis.VisualBasic (49)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Await.vb (1)
34Dim awaiterType As TypeSymbol = node.GetAwaiter.Type.InternalSubstituteTypeParameters(Me.TypeMap).Type
Lowering\AsyncRewriter\AsyncRewriter.vb (2)
61Me._resultType = DirectCast(Me.Method.ReturnType, NamedTypeSymbol).TypeArgumentsNoUseSiteDiagnostics().Single().InternalSubstituteTypeParameters(Me.TypeMap).Type 413expression.Type.InternalSubstituteTypeParameters(typeMap).Type)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
343p.Type.InternalSubstituteTypeParameters(_typeMap).Type,
Lowering\IteratorRewriter\IteratorRewriter.vb (1)
40Me._elementType = DirectCast(methodReturnType, NamedTypeSymbol).TypeArgumentsNoUseSiteDiagnostics().Single().InternalSubstituteTypeParameters(Me.TypeMap).Type
Lowering\LambdaRewriter\LambdaCapturedVariable.vb (2)
88type = local.Type.InternalSubstituteTypeParameters(frame.TypeMap).Type 93type = parameter.Type.InternalSubstituteTypeParameters(frame.TypeMap).Type
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
1220type.InternalSubstituteTypeParameters(containerAsFrame.TypeMap).Type)
Lowering\LambdaRewriter\SynthesizedLambdaMethod.vb (2)
84curParam.Type.InternalSubstituteTypeParameters(TypeMap).Type, 144Return _lambda.ReturnType.InternalSubstituteTypeParameters(TypeMap).Type
Lowering\MethodToClassRewriter\MethodToClassRewriter.MyBaseMyClassWrapper.vb (2)
201params(i) = SynthesizedMethod.WithNewContainerAndType(Me, curParam.Type.InternalSubstituteTypeParameters(Me._typeMap).Type, curParam) 205Me._returnType = Me._wrappedMethod.ReturnType.InternalSubstituteTypeParameters(Me._typeMap).Type
Lowering\MethodToClassRewriter\MethodToClassRewriter.vb (4)
102Return type.InternalSubstituteTypeParameters(Me.TypeMap).Type 262Dim newContainer As TypeSymbol = method.ContainingType.InternalSubstituteTypeParameters(substitution).AsTypeSymbolOnly() 297Dim newContainer As TypeSymbol = [property].ContainingType.InternalSubstituteTypeParameters(substitution).AsTypeSymbolOnly() 324Dim newContainer As TypeSymbol = field.ContainingType.InternalSubstituteTypeParameters(substitution).AsTypeSymbolOnly()
Lowering\StateMachineRewriter\StateMachineRewriter.vb (2)
240Dim paramType As TypeSymbol = parameter.Type.InternalSubstituteTypeParameters(typeMap).Type 290Dim fieldType = local.Type.InternalSubstituteTypeParameters(typeMap).Type
Semantics\TypeInference\TypeArgumentInference.vb (1)
2270Return parameterType.InternalSubstituteTypeParameters(partialSubstitution).Type
Symbols\AnonymousTypes\AnonymousTypeDescriptor.vb (1)
127current.Type.InternalSubstituteTypeParameters(substitution).Type,
Symbols\InstanceErrorTypeSymbol.vb (1)
88Dim newContainer = DirectCast(containingType.InternalSubstituteTypeParameters(substitution).AsTypeSymbolOnly(), NamedTypeSymbol)
Symbols\InstanceTypeSymbol.vb (2)
96newContainer = DirectCast(Me.ContainingType.InternalSubstituteTypeParameters(substitution.Parent).AsTypeSymbolOnly(), NamedTypeSymbol) 98newContainer = DirectCast(Me.ContainingType.InternalSubstituteTypeParameters(substitution).AsTypeSymbolOnly(), NamedTypeSymbol)
Symbols\NamedTypeSymbol.vb (1)
524Return DirectCast(InternalSubstituteTypeParameters(substitution).AsTypeSymbolOnly(), NamedTypeSymbol)
Symbols\ReducedExtensionMethodSymbol.vb (3)
173receiverType = receiverType.InternalSubstituteTypeParameters(partialSubstitution).Type 395type = type.InternalSubstituteTypeParameters(_curryTypeSubstitution).Type 864paramType = paramType.InternalSubstituteTypeParameters(_curriedMethod._curryTypeSubstitution).Type
Symbols\Source\ImplementsHelper.vb (1)
676Dim substitutedInterfaceType = TryCast(unsubstitutedInterfaceType.InternalSubstituteTypeParameters(substitution).AsTypeSymbolOnly(), SubstitutedNamedType)
Symbols\Source\SourceMethodSymbol.vb (2)
2150param.Type.InternalSubstituteTypeParameters(replaceMethodTypeParametersWithFakeTypeParameters).AsTypeSymbolOnly(), 2166returnType:=retType.InternalSubstituteTypeParameters(replaceMethodTypeParametersWithFakeTypeParameters).AsTypeSymbolOnly(),
Symbols\SubstitutedErrorType.vb (1)
177Dim newContainer = DirectCast(containingType.InternalSubstituteTypeParameters(additionalSubstitution).AsTypeSymbolOnly(), NamedTypeSymbol)
Symbols\SubstitutedEventSymbol.vb (1)
70_originalDefinition.Type.InternalSubstituteTypeParameters(TypeSubstitution).AsTypeSymbolOnly(),
Symbols\SubstitutedFieldSymbol.vb (1)
164Return _originalDefinition.Type.InternalSubstituteTypeParameters(_containingType.TypeSubstitution).Type
Symbols\SubstitutedMethodSymbol.vb (1)
311Return OriginalDefinition.ReturnType.InternalSubstituteTypeParameters(Me.TypeSubstitution).Type
Symbols\SubstitutedNamedType.vb (8)
253Return DirectCast(OriginalDefinition.GetDeclaredBase(basesBeingResolved).InternalSubstituteTypeParameters(_substitution).AsTypeSymbolOnly(), NamedTypeSymbol) 266substitutedInterfaces(i) = DirectCast(instanceInterfaces(i).InternalSubstituteTypeParameters(_substitution).AsTypeSymbolOnly(), NamedTypeSymbol) 278Return DirectCast(fullBase.InternalSubstituteTypeParameters(_substitution).AsTypeSymbolOnly(), NamedTypeSymbol) 294substitutedInterfaces(i) = DirectCast(instanceInterfaces(i).InternalSubstituteTypeParameters(_substitution).AsTypeSymbolOnly(), NamedTypeSymbol) 582Return DirectCast(fullBase.InternalSubstituteTypeParameters(_substitution).AsTypeSymbolOnly(), NamedTypeSymbol) 934Dim newContainer = DirectCast(_container.InternalSubstituteTypeParameters(additionalSubstitution).AsTypeSymbolOnly(), NamedTypeSymbol) 1076newContainedType = DirectCast(containedType.InternalSubstituteTypeParameters(additionalSubstitution).AsTypeSymbolOnly, NamedTypeSymbol) 1166Dim newContainer = DirectCast(container.InternalSubstituteTypeParameters(additionalSubstitution).AsTypeSymbolOnly, NamedTypeSymbol)
Symbols\SubstitutedParameterSymbol.vb (1)
100Return _originalDefinition.Type.InternalSubstituteTypeParameters(TypeSubstitution).Type
Symbols\SubstitutedPropertySymbol.vb (1)
220Return _originalDefinition.Type.InternalSubstituteTypeParameters(TypeSubstitution).Type
Symbols\Tuples\TupleTypeSymbol.vb (1)
1078Dim substitutedUnderlying = DirectCast(Me.TupleUnderlyingType.InternalSubstituteTypeParameters(substitution).Type, NamedTypeSymbol)
Symbols\TypeParameterSymbol.vb (1)
353Private Shared ReadOnly s_substituteFunc As Func(Of TypeSymbol, TypeSubstitution, TypeSymbol) = Function(type, substitution) type.InternalSubstituteTypeParameters(substitution).Type
Symbols\TypeSubstitution.vb (2)
877Dim substituted = DirectCast(modifier.InternalSubstituteTypeParameters(Me).AsTypeSymbolOnly(), NamedTypeSymbol) 886substituted = DirectCast(modifier.InternalSubstituteTypeParameters(Me).AsTypeSymbolOnly(), NamedTypeSymbol)
Symbols\TypeWithModifiers.vb (1)
83Dim newTypeWithModifiers As TypeWithModifiers = Me.Type.InternalSubstituteTypeParameters(substitution)