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