2 types derived from SubstitutedNamedTypeSymbol
Microsoft.CodeAnalysis.CSharp (2)
Symbols\ConstructedNamedTypeSymbol.cs (2)
18
internal sealed class SubstitutedNestedTypeSymbol :
SubstitutedNamedTypeSymbol
57
internal sealed class ConstructedNamedTypeSymbol :
SubstitutedNamedTypeSymbol
16 references to SubstitutedNamedTypeSymbol
Microsoft.CodeAnalysis.CSharp (16)
Lowering\MethodToClassRewriter.cs (1)
745
TypeMap? typeMap = methodBeingWrapped.ContainingType is
SubstitutedNamedTypeSymbol
substitutedType ? substitutedType.TypeSubstitution : TypeMap.Empty;
Symbols\ConstructedNamedTypeSymbol.cs (1)
20
internal SubstitutedNestedTypeSymbol(
SubstitutedNamedTypeSymbol
newContainer, NamedTypeSymbol originalDefinition)
Symbols\EventSymbol.cs (2)
264
Debug.Assert(newOwner.IsDefinition || newOwner is
SubstitutedNamedTypeSymbol
);
265
return newOwner.IsDefinition ? this : new SubstitutedEventSymbol((newOwner as
SubstitutedNamedTypeSymbol
)!, this);
Symbols\FieldSymbol.cs (1)
331
return newOwner.IsDefinition ? this : new SubstitutedFieldSymbol(newOwner as
SubstitutedNamedTypeSymbol
, this);
Symbols\NamedTypeSymbol.cs (1)
1351
return newOwner.IsDefinition ? this : new SubstitutedNestedTypeSymbol((
SubstitutedNamedTypeSymbol
)newOwner, this);
Symbols\PropertySymbol.cs (1)
383
return newOwner.IsDefinition ? this : new SubstitutedPropertySymbol(newOwner as
SubstitutedNamedTypeSymbol
, this);
Symbols\SubstitutedEventSymbol.cs (2)
13
private readonly
SubstitutedNamedTypeSymbol
_containingType;
17
internal SubstitutedEventSymbol(
SubstitutedNamedTypeSymbol
containingType, EventSymbol originalDefinition)
Symbols\SubstitutedFieldSymbol.cs (2)
17
private readonly
SubstitutedNamedTypeSymbol
_containingType;
21
internal SubstitutedFieldSymbol(
SubstitutedNamedTypeSymbol
containingType, FieldSymbol substitutedFrom)
Symbols\SubstitutedMethodSymbol.cs (1)
43
Debug.Assert(containingSymbol is
SubstitutedNamedTypeSymbol
|| containingSymbol is SubstitutedErrorTypeSymbol);
Symbols\SubstitutedPropertySymbol.cs (2)
14
private readonly
SubstitutedNamedTypeSymbol
_containingType;
19
internal SubstitutedPropertySymbol(
SubstitutedNamedTypeSymbol
containingType, PropertySymbol originalDefinition)
Symbols\TypeMap.cs (2)
64
var
substituted = containingType as
SubstitutedNamedTypeSymbol
;