public StructNestedStruct(string name) { Name = name; Attributes = new Collection <AttributeGroup>(); Body = new StructBody(); GenericParameters = new Collection <GenericParameter>(); Interfaces = new Collection <InterfaceReference>(); Visibility = StructMemberVisibilityModifier.Private; }
public Struct(string name) { Name = name; Attributes = new Collection <AttributeGroup>(); GenericParameters = new Collection <GenericParameter>(); Interfaces = new Collection <InterfaceReference>(); Body = new StructBody(); Visibility = TypeVisibilityModifier.Public; }