public void CopyTo(TypeDeclaration copy)
 {
     copy._name        = _name;
     copy._namespace   = _namespace;
     copy._flags       = _flags;
     copy._packingSize = PackingSize;
     copy._classSize   = ClassSize;
     copy._baseType    = BaseType;
     Interfaces.CopyTo(copy.Interfaces);
     GenericParameters.CopyTo(copy.GenericParameters);
     Methods.CopyTo(copy.Methods);
     Fields.CopyTo(copy.Fields);
     Properties.CopyTo(copy.Properties);
     Events.CopyTo(copy.Events);
     CustomAttributes.CopyTo(copy.CustomAttributes);
     SecurityAttributes.CopyTo(copy.SecurityAttributes);
     NestedTypes.CopyTo(copy.NestedTypes);
 }
Beispiel #2
0
 /// <summary>
 /// Copies the delimited file to an array
 /// </summary>
 /// <param name="array">Array to copy to</param>
 /// <param name="arrayIndex">Index to start at</param>
 public void CopyTo(IField <T>[] array, int arrayIndex)
 {
     Fields.CopyTo(array, arrayIndex);
 }
Beispiel #3
0
 /// <inheritdoc />
 public void CopyTo(SetField[] array, int arrayIndex)
 => Fields.CopyTo(array, arrayIndex);