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