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