public void CopyTo(MethodReturnType copy) { copy._type = _type; if (MarshalType != null) { MarshalType.CopyTo(copy.CreateMarshalType(MarshalType.UnmanagedType)); } CustomAttributes.CopyTo(copy.CustomAttributes); }
public void CopyTo(MethodParameter copy) { copy._name = _name; copy._flags = _flags; copy._type = _type; copy._defaultValue = DefaultValue; if (MarshalType != null) { MarshalType.CopyTo(copy.CreateMarshalType(MarshalType.UnmanagedType)); } CustomAttributes.CopyTo(copy.CustomAttributes); }