public StructSpec ( ClrStructName Name, CodeDocumentationSpec Documentation = null, ClrAccessKind?AccessLevel = null, IEnumerable <AttributionSpec> Attributions = null, IEnumerable <TypeParameter> TypeParameters = null, IEnumerable <ClrTypeClosure> BaseTypes = null, IEnumerable <ClrInterfaceName> ImplicitRealizations = null, IClrElementName DeclaringType = null, bool IsPartial = false, params IClrMemberSpec[] Members ) : base ( Name, Documentation, AccessLevel ?? ClrAccessKind.Public, Attributions ?? array <AttributionSpec>(), TypeParameters ?? array <TypeParameter>(), BaseTypes ?? array <ClrTypeClosure>(), ImplicitRealizations ?? array <ClrInterfaceName>(), DeclaringType, false, Members, IsPartial: IsPartial ) { }
public ClrEnumInfo(ClrEnumName Name, ClrStructName BaseType, params ClrEnumLiteralInfo[] Literals) { this.Name = Name; this.BaseType = BaseType; this.Literals = Literals.ToReadOnlyList(); }