4 types derived from TypeEntity
ILAssembler (4)
EntityRegistry.cs (4)
1143
public sealed class FakeTypeEntity :
TypeEntity
1179
public sealed class TypeDefinitionEntity :
TypeEntity
, IHasReflectionNotation
1241
public sealed class TypeReferenceEntity(EntityBase resolutionScope, string @namespace, string name) :
TypeEntity
, IHasReflectionNotation
1252
public sealed class TypeSpecificationEntity(BlobBuilder signature) :
TypeEntity
43 references to TypeEntity
ILAssembler (43)
BlobBuilderExtensions.cs (1)
86
public static void WriteTypeEntity(this BlobBuilder builder, EntityRegistry.
TypeEntity
entity)
EntityRegistry.cs (18)
514
public
TypeEntity
? ResolveImplicitBaseType(WellKnownBaseType? type)
529
private
TypeEntity
? _systemObject;
530
public
TypeEntity
SystemObjectType
538
private
TypeEntity
? _systemValueType;
539
public
TypeEntity
SystemValueTypeType
547
private
TypeEntity
? _systemEnum;
548
public
TypeEntity
SystemEnumType
657
public static GenericParameterConstraintEntity CreateGenericConstraint(
TypeEntity
baseType)
770
public static InterfaceImplementationEntity CreateUnrecordedInterfaceImplementation(TypeDefinitionEntity implementingType,
TypeEntity
interfaceType)
780
public MemberReferenceEntity CreateLazilyRecordedMemberReference(
TypeEntity
containingType, string name, BlobBuilder signature)
962
case
TypeEntity
{ Handle.Kind: HandleKind.TypeDefinition } type:
1215
public
TypeEntity
? BaseType { get; set; }
1270
public sealed class GenericParameterConstraintEntity(
TypeEntity
baseType) : EntityBase
1274
public
TypeEntity
BaseType { get; } = baseType;
1430
public sealed class InterfaceImplementationEntity(TypeDefinitionEntity type,
TypeEntity
interfaceType) : EntityBase
1433
public
TypeEntity
InterfaceType { get; } = interfaceType;
1436
public sealed class EventEntity(EventAttributes attributes,
TypeEntity
type, string name) : EntityBase
1439
public
TypeEntity
Type { get; } = type;
GrammarVisitor.cs (24)
116
public sealed record Type(EntityRegistry.
TypeEntity
Entity) : TypedefEntry;
869
public GrammarResult.Literal<EntityRegistry.
TypeEntity
> VisitCatchClause(CILParser.CatchClauseContext context) => VisitTypeSpec(context.typeSpec());
887
var
name = VisitClassName(className).Value;
1241
public GrammarResult.Literal<EntityRegistry.
TypeEntity
> VisitClassName(CILParser.ClassNameContext context)
1260
var
baseType = _currentTypeDefinition.Peek().BaseType;
1318
EntityRegistry.
TypeEntity
ResolveTypeDef()
1324
var
typedefResult = TryResolveTypedefAsType(typeName.DottedName);
1361
if (resolvedToken is not EntityRegistry.
TypeEntity
type)
1910
EntityRegistry.
TypeEntity
typeEntity = VisitClassName(className).Value;
2234
(_, EntityRegistry.
TypeEntity
) => newImplementation,
2235
(EntityRegistry.
TypeEntity
, _) => implementationEntity,
2284
public GrammarResult.Literal<EntityRegistry.
TypeEntity
?> VisitExtendsClause(CILParser.ExtendsClauseContext context)
2598
EntityRegistry.
TypeEntity
definingType = _currentTypeDefinition.PeekOrDefault() ?? _entityRegistry.ModuleType;
3186
var
arg = VisitTypeSpec(context.typeSpec()).Value;
3714
var
ownerType = VisitTypeSpec(context.typeSpec()).Value;
3803
var
baseType = VisitTypeSpec(context.typeSpec()).Value;
4023
EntityRegistry.
TypeEntity
owner = _currentTypeDefinition.PeekOrDefault() ?? _entityRegistry.ModuleType;
4686
internal sealed record Catch(EntityRegistry.
TypeEntity
Type, LabelHandle Start, LabelHandle End) : ExceptionClause(Start, End);
5191
var
typeEntity = VisitClassName(className).Value;
5225
private EntityRegistry.
TypeEntity
? TryResolveTypedefAsType(string alias)
5294
public GrammarResult.Sequence<EntityRegistry.
TypeEntity
> VisitTypeList(CILParser.TypeListContext context)
5297
ImmutableArray<EntityRegistry.
TypeEntity
>.Builder builder = ImmutableArray.CreateBuilder<EntityRegistry.
TypeEntity
>(bounds.Length);
5306
public GrammarResult.Literal<EntityRegistry.
TypeEntity
> VisitTypeSpec(CILParser.TypeSpecContext context)