Base:
property
TypeSubstitution
Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.TypeSubstitution
14 references to TypeSubstitution
Microsoft.CodeAnalysis.CSharp (14)
Lowering\MethodToClassRewriter.cs (1)
745
TypeMap? typeMap = methodBeingWrapped.ContainingType is SubstitutedNamedTypeSymbol substitutedType ? substitutedType.
TypeSubstitution
: TypeMap.Empty;
Symbols\ConstructedNamedTypeSymbol.cs (1)
23
map: newContainer.
TypeSubstitution
,
Symbols\SubstitutedEventSymbol.cs (2)
30
var type = _containingType.
TypeSubstitution
.SubstituteType(OriginalDefinition.TypeWithAnnotations);
104
ExplicitInterfaceHelpers.SubstituteExplicitInterfaceImplementations(OriginalDefinition.ExplicitInterfaceImplementations, _containingType.
TypeSubstitution
),
Symbols\SubstitutedFieldSymbol.cs (3)
31
var type = _containingType.
TypeSubstitution
.SubstituteType(OriginalDefinition.GetFieldType(fieldsBeingBound));
103
return (NamedTypeSymbol)_containingType.
TypeSubstitution
.SubstituteType(OriginalDefinition.FixedImplementationType(emitModule)).Type;
109
_containingType.
TypeSubstitution
.SubstituteCustomModifiers(_underlyingField.RefCustomModifiers);
Symbols\SubstitutedNamedTypeSymbol.cs (2)
376
var newBody = ExplicitInterfaceHelpers.SubstituteExplicitInterfaceImplementation(body, this.
TypeSubstitution
);
377
var newImplemented = ExplicitInterfaceHelpers.SubstituteExplicitInterfaceImplementation(implemented, this.
TypeSubstitution
);
Symbols\SubstitutedPropertySymbol.cs (4)
31
var type = _containingType.
TypeSubstitution
.SubstituteType(OriginalDefinition.TypeWithAnnotations);
70
get { return _containingType.
TypeSubstitution
.SubstituteCustomModifiers(OriginalDefinition.RefCustomModifiers); }
122
ExplicitInterfaceHelpers.SubstituteExplicitInterfaceImplementations(OriginalDefinition.ExplicitInterfaceImplementations, _containingType.
TypeSubstitution
),
161
substituted[i] = new SubstitutedParameterSymbol(this, _containingType.
TypeSubstitution
, unsubstitutedParameters[i]);
Symbols\TypeMap.cs (1)
66
new SmallDictionary<TypeParameterSymbol, TypeWithAnnotations>(substituted.
TypeSubstitution
.Mapping, ReferenceEqualityComparer.Instance) :