Exemplo n.º 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);
 }
Exemplo n.º 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);
 }