22 references to SubstituteNamedType
Microsoft.CodeAnalysis.CSharp (22)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
315return typeMap.SubstituteNamedType(otherDef); 889return typeMap.SubstituteNamedType(translatedOriginalDef);
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (1)
708var delegateTypeOverContainerTypeParameters = methodToContainerTypeParametersMap.SubstituteNamedType(delegateTypeOverMethodTypeParameters);
Symbols\AbstractTypeMap.cs (8)
29NamedTypeSymbol newContainingType = SubstituteNamedType(previous.ContainingType); 102result = SubstituteNamedType((NamedTypeSymbol)previous); 143var substituted = SubstituteNamedType(modifier); 154substituted = SubstituteNamedType(modifier); 201interfaces = ImmutableArray.Create<NamedTypeSymbol>(SubstituteNamedType(interfaces[0])); 206interfaces = ImmutableArray.Create<NamedTypeSymbol>(SubstituteNamedType(interfaces[0]), SubstituteNamedType(interfaces[1])); 415var substituted = SubstituteNamedType(t);
Symbols\ErrorTypeSymbol.cs (1)
44return TypeWithAnnotations.Create(typeMap.SubstituteNamedType(this));
Symbols\Metadata\PE\SymbolFactory.cs (1)
151NamedTypeSymbol constructedType = substitution.SubstituteNamedType(genericType);
Symbols\NamedTypeSymbol.cs (2)
985return substitution.SubstituteNamedType(definition).WithTupleDataFrom(this); 1005result = substitution.SubstituteNamedType(this.OriginalDefinition);
Symbols\NativeIntegerTypeSymbol.cs (1)
243internal NamedTypeSymbol SubstituteUnderlyingType(NamedTypeSymbol type) => GetTypeMap().SubstituteNamedType(type);
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
582constructedType = substitution.SubstituteNamedType(newDefinition).WithTupleDataFrom(type);
Symbols\Source\ExplicitInterfaceHelpers.cs (1)
128var explicitInterfaceType = map.SubstituteNamedType(unsubstitutedInterfaceType);
Symbols\SubstitutedNamedTypeSymbol.cs (2)
147return _unbound ? null : Map.SubstituteNamedType(OriginalDefinition.GetDeclaredBaseType(basesBeingResolved)); 166var baseType = Map.SubstituteNamedType(OriginalDefinition.BaseTypeNoUseSiteDiagnostics);
Symbols\SubstitutedTypeParameterSymbol.cs (1)
177return _map.SubstituteNamedType(_underlyingTypeParameter.GetEffectiveBaseClass(inProgress));
Symbols\TypeSymbolExtensions.cs (1)
1990type = typeMap.SubstituteNamedType(originalDefinition).WithTupleDataFrom(originalType);