12 references to WellKnownBaseType
ILAssembler (12)
EntityRegistry.cs (4)
514
public TypeEntity? ResolveImplicitBaseType(
WellKnownBaseType
? type)
522
WellKnownBaseType
.System_Object => SystemObjectType,
523
WellKnownBaseType
.System_ValueType => SystemValueTypeType,
524
WellKnownBaseType
.System_Enum => SystemEnumType,
GrammarVisitor.cs (8)
921
public GrammarResult.Literal<(GrammarResult.Flag<TypeAttributes> Attribute, EntityRegistry.
WellKnownBaseType
? FallbackBase, bool RequireSealed)> VisitClassAttr(CILParser.ClassAttrContext context)
930
EntityRegistry.
WellKnownBaseType
? fallbackBase = null;
934
fallbackBase = EntityRegistry.
WellKnownBaseType
.System_ValueType;
938
fallbackBase = EntityRegistry.
WellKnownBaseType
.System_Enum;
951
return new((new(context.VALUE() is not null ? TypeAttributes.Sealed : 0), EntityRegistry.
WellKnownBaseType
.System_Enum, false));
956
return new((new(TypeAttributes.Sealed), EntityRegistry.
WellKnownBaseType
.System_ValueType, true));
1128
EntityRegistry.
WellKnownBaseType
? fallbackBase = _options.NoAutoInherit ? null : EntityRegistry.
WellKnownBaseType
.System_Object;