/// <summary> /// Creates a new method body. /// </summary> /// <param name="owner">The method that owns the method body.</param> public CilMethodBody(MethodDefinition owner) { Owner = owner; Instructions = new CilInstructionCollection(this); }
/// <summary> /// Creates a new method body. /// </summary> /// <param name="owner">The method that owns the method body.</param> public CilMethodBody(MethodDefinition owner) : base(owner) { Instructions = new CilInstructionCollection(this); }