2 types derived from PENamedTypeSymbol
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (2)
2544private sealed class PENamedTypeSymbolNonGeneric : PENamedTypeSymbol 2608private sealed class PENamedTypeSymbolGeneric : PENamedTypeSymbol
70 references to PENamedTypeSymbol
Microsoft.CodeAnalysis.CSharp (70)
Emitter\Model\NamedTypeSymbolAdapter.cs (3)
78PENamedTypeSymbol peNamedType = AdaptedNamedTypeSymbol as PENamedTypeSymbol; 793AdaptedNamedTypeSymbol.OriginalDefinition is PENamedTypeSymbol, "type name contains dots: " + unsuffixedName);
Symbols\ConstraintsHelper.cs (1)
754if (type.OriginalDefinition is not PENamedTypeSymbol)
Symbols\Metadata\PE\MemberRefMetadataDecoder.cs (3)
36base(moduleSymbol, containingType as PENamedTypeSymbol) 60PENamedTypeSymbol peType = _containingType as PENamedTypeSymbol;
Symbols\Metadata\PE\MetadataDecoder.cs (10)
26private readonly PENamedTypeSymbol _typeContextOpt; 35PENamedTypeSymbol context) : 43this(moduleSymbol, (PENamedTypeSymbol)context.ContainingType, context) 53private MetadataDecoder(PEModuleSymbol moduleSymbol, PENamedTypeSymbol typeContextOpt, PEMethodSymbol methodContextOpt) 88PENamedTypeSymbol type = _typeContextOpt; 92type = type.ContainingSymbol as PENamedTypeSymbol; 492if (typeSymbol is PENamedTypeSymbol peTypeSymbol && ReferenceEquals(peTypeSymbol.ContainingPEModule, moduleSymbol)) 517Debug.Assert(typeSymbol is PENamedTypeSymbol || typeSymbol is ErrorTypeSymbol); 590PENamedTypeSymbol peTypeSymbol = typeSymbol as PENamedTypeSymbol;
Symbols\Metadata\PE\PEEventSymbol.cs (4)
27private readonly PENamedTypeSymbol _containingType; 54PENamedTypeSymbol containingType, 479var containingType = (PENamedTypeSymbol)ContainingType;
Symbols\Metadata\PE\PEFieldSymbol.cs (4)
119private readonly PENamedTypeSymbol _containingType; 136PENamedTypeSymbol containingType, 649var containingType = (PENamedTypeSymbol)ContainingType;
Symbols\Metadata\PE\PEMethodSymbol.cs (2)
382private readonly PENamedTypeSymbol _containingType; 403PENamedTypeSymbol containingType,
Symbols\Metadata\PE\PEModuleSymbol.cs (2)
481Dictionary<ReadOnlyMemory<char>, ImmutableArray<PENamedTypeSymbol>> typesDict) 487foreach (var type in types)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (21)
30private static readonly Dictionary<ReadOnlyMemory<char>, ImmutableArray<PENamedTypeSymbol>> s_emptyNestedTypes = 31new Dictionary<ReadOnlyMemory<char>, ImmutableArray<PENamedTypeSymbol>>(EmptyReadOnlyMemoryOfCharComparer.Instance); 64private Dictionary<ReadOnlyMemory<char>, ImmutableArray<PENamedTypeSymbol>> _lazyNestedTypes; 177internal static PENamedTypeSymbol Create( 189PENamedTypeSymbol result; 230internal static PENamedTypeSymbol Create( 232PENamedTypeSymbol containingType, 249PENamedTypeSymbol result; 1183return HandleComparer.Default.Compare(((PENamedTypeSymbol)x).Handle, ((PENamedTypeSymbol)y).Handle); 1515ImmutableArray<PENamedTypeSymbol> t; 1569var types = ArrayBuilder<PENamedTypeSymbol>.GetInstance(); 1589ImmutableArray<PENamedTypeSymbol> t; 1859private IEnumerable<PENamedTypeSymbol> CreateNestedTypes() 1889yield return PENamedTypeSymbol.Create(moduleSymbol, this, typeRid); 2090private static Dictionary<ReadOnlyMemory<char>, ImmutableArray<PENamedTypeSymbol>> GroupByName(ArrayBuilder<PENamedTypeSymbol> symbols) 2189return ContainingType is PENamedTypeSymbol containingType 2578var containingType = _container as PENamedTypeSymbol; 2756var nestedType = Create(this.ContainingPEModule, (PENamespaceSymbol)this.ContainingNamespace, _handle, null);
Symbols\Metadata\PE\PENamespaceSymbol.cs (6)
36protected Dictionary<ReadOnlyMemory<char>, ImmutableArray<PENamedTypeSymbol>> lazyTypes; 48private ImmutableArray<PENamedTypeSymbol> _lazyFlattenedTypes; 125ImmutableArray<PENamedTypeSymbol> t; 158ImmutableArray<PENamedTypeSymbol> t; 278var children = ArrayBuilder<PENamedTypeSymbol>.GetInstance(); 288children.Add(PENamedTypeSymbol.Create(moduleSymbol, this, t, g.Key));
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
1198PEPropertySymbol => new MetadataDecoder(containingModule, (PENamedTypeSymbol)ContainingType),
Symbols\Metadata\PE\PEPropertySymbol.cs (6)
31private readonly PENamedTypeSymbol _containingType; 188PENamedTypeSymbol containingType, 223PENamedTypeSymbol containingType, 974var containingType = (PENamedTypeSymbol)ContainingType; 1076PENamedTypeSymbol containingType,
Symbols\Metadata\PE\PETypeParameterSymbol.cs (3)
48PENamedTypeSymbol definingNamedType, 258tokenDecoder = new MetadataDecoder(moduleSymbol, (PENamedTypeSymbol)_containingSymbol); 610((PENamedTypeSymbol)_containingSymbol).TypeParameters;
Symbols\Retargeting\RetargetingSymbolTranslator.cs (4)
306return RetargetNamedTypeDefinition((PENamedTypeSymbol)type, addedModule); 401private static NamedTypeSymbol RetargetNamedTypeDefinition(PENamedTypeSymbol type, PEModuleSymbol addedModule) 423NamedTypeSymbol scope = RetargetNamedTypeDefinition((PENamedTypeSymbol)containingType, addedModule); 435Debug.Assert(result is PENamedTypeSymbol peResult && peResult.Handle == type.Handle);