4 types derived from TypeEntity
Microsoft.DotNet.ILAssembler (4)
EntityRegistry.cs (4)
1852public sealed class FakeTypeEntity : TypeEntity 1888public sealed class TypeDefinitionEntity : TypeEntity, IHasReflectionNotation 1953public sealed class TypeReferenceEntity(EntityBase resolutionScope, string @namespace, string name) : TypeEntity, IHasReflectionNotation 2003public sealed class TypeSpecificationEntity(BlobBuilder signature) : TypeEntity
45 references to TypeEntity
Microsoft.DotNet.ILAssembler (45)
Actions\GrammarActions.CustomAttributes.Serialization.cs (1)
307EntityRegistry.TypeEntity type = ResolveClassName(className);
Actions\GrammarActions.Manifest.Typedefs.cs (1)
75private EntityRegistry.TypeEntity? TryResolveTypedefAsType(string alias)
Actions\GrammarActions.Members.Class.cs (3)
213EntityRegistry.TypeEntity resolvedBodyOwner = 461EntityRegistry.TypeEntity baseType = 491EntityRegistry.TypeEntity resolvedInterface =
Actions\GrammarActions.MethodBodies.Directives.cs (2)
153EntityRegistry.TypeEntity owner = 240EntityRegistry.TypeEntity baseType =
Actions\GrammarActions.MethodBodies.ExceptionHandling.cs (1)
165EntityRegistry.TypeEntity catchType =
Actions\GrammarActions.Signatures.cs (1)
11internal EntityRegistry.TypeEntity ResolveTypeSpecification(CILParser.TypeSpecContext context)
Actions\GrammarActions.Signatures.References.cs (2)
92EntityRegistry.TypeEntity owner = methodReference.Owner is null 161EntityRegistry.TypeEntity owner = parsed.Owner is null
Actions\GrammarActions.Signatures.Types.cs (2)
86EntityRegistry.TypeEntity typeEntity = ResolveClassName(classType.ClassName); 261private static SignatureTypeCode? TryGetNormalizedTypeCode(EntityRegistry.TypeEntity typeEntity, bool isValueType)
Actions\GrammarActions.Types.Headers.cs (1)
248EntityRegistry.TypeEntity baseType = ResolveTypeSpecification(header.BaseType);
Actions\GrammarActions.Types.References.cs (4)
48private EntityRegistry.TypeEntity ResolveClassName(ClassNameValue className) 104return resolvedToken is EntityRegistry.TypeEntity type 112private EntityRegistry.TypeEntity ResolveUnqualifiedClassName(TypeName typeName) 148private EntityRegistry.TypeEntity ResolveTypeSpecification(TypeSpecificationValue typeSpecification)
BlobBuilderExtensions.cs (1)
83public static void WriteTypeEntity(this BlobBuilder builder, EntityRegistry.TypeEntity entity)
CILParser.SemanticValues.Manifest.cs (2)
184internal Type(EntityRegistry.TypeEntity entity) 189internal EntityRegistry.TypeEntity Entity { get; }
CILParser.SemanticValues.MethodBodies.cs (2)
79internal CatchTypeValue(EntityRegistry.TypeEntity? type, bool isValid) 87internal EntityRegistry.TypeEntity? Type { get; }
EntityRegistry.cs (22)
724public TypeEntity? ResolveImplicitBaseType(WellKnownBaseType? type) 739private TypeEntity? _systemObject; 740public TypeEntity SystemObjectType 748private TypeEntity? _systemValueType; 749public TypeEntity SystemValueTypeType 758public bool IsSystemValueType(TypeEntity? type) 771private TypeEntity? _systemEnum; 772public TypeEntity SystemEnumType 788private TypeEntity ResolveFromCoreAssembly(string typeName) 928public static GenericParameterConstraintEntity CreateGenericConstraint(TypeEntity baseType) 1075public static InterfaceImplementationEntity CreateUnrecordedInterfaceImplementation(TypeDefinitionEntity implementingType, TypeEntity interfaceType) 1085public MemberReferenceEntity CreateLazilyRecordedMemberReference(TypeEntity containingType, string name, BlobBuilder signature) 1590case TypeEntity { Handle.Kind: HandleKind.TypeDefinition } type: 1612case TypeEntity { Handle.Kind: HandleKind.TypeDefinition } type: 1924public TypeEntity? BaseType { get; set; } 2021public sealed class GenericParameterConstraintEntity(TypeEntity baseType) : EntityBase 2025public TypeEntity BaseType { get; } = baseType; 2203public sealed class InterfaceImplementationEntity(TypeDefinitionEntity type, TypeEntity interfaceType) : EntityBase 2206public TypeEntity InterfaceType { get; } = interfaceType; 2209public sealed class EventEntity(EventAttributes attributes, TypeEntity? type, string name) : EntityBase 2212public TypeEntity? Type { get; } = type; 2376internal sealed record CatchRegion(LabelHandle TryStart, LabelHandle TryEnd, LabelHandle HandlerStart, LabelHandle HandlerEnd, TypeEntity CatchType, Location Location) : ExceptionRegion(TryStart, TryEnd, HandlerStart, HandlerEnd, Location);