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