public unsafe SafeCorMethodInfo64(CorMethodInfo64 *other) { this.args = other->args; this.EHCount = other->EHCount; this.ftn = other->ftn; this.ilCode = new byte[other->ilCodeSize]; Marshal.Copy((IntPtr)other->ilCode, ilCode, 0, ilCode.Length); this.ilCodeSize = other->ilCodeSize; this.locals = other->locals; this.maxStack = other->maxStack; this.options = other->options; this.scope = other->scope; }
public unsafe SafeCorMethodInfo64(CorMethodInfo64 *other) { args = other->args; EHCount = other->EHCount; ftn = other->ftn; ilCode = new byte[other->ilCodeSize]; Marshal.Copy((IntPtr)other->ilCode, ilCode, 0, ilCode.Length); ilCodeSize = other->ilCodeSize; locals = other->locals; maxStack = other->maxStack; options = other->options; scope = other->scope; }