Beispiel #1
0
 /// <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);
 }
Beispiel #2
0
 /// <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);
 }