StoreArgument() public abstract method

Pops a value from the stack and stores it in the method argument with the given index.
public abstract StoreArgument ( int argumentIndex ) : void
argumentIndex int The index of the argument to store into.
return void
Exemplo n.º 1
0
 /// <summary>
 /// Stores the reference on top of the stack as the new value of the <c>this</c> keyword.
 /// </summary>
 /// <param name="generator"> The IL generator. </param>
 public static void StoreThis(ILGenerator generator)
 {
     generator.StoreArgument(2);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Stores the reference on top of the stack as the new value of the <c>this</c> keyword.
 /// </summary>
 /// <param name="generator"> The IL generator. </param>
 public static void StoreThis(ILGenerator generator)
 {
     generator.StoreArgument(2);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Stores the reference on top of the stack as the new scope.
 /// </summary>
 /// <param name="generator"> The IL generator. </param>
 public static void StoreScope(ILGenerator generator)
 {
     generator.StoreArgument(1);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Stores the reference on top of the stack as the new scope.
 /// </summary>
 /// <param name="generator"> The IL generator. </param>
 public static void StoreScope(ILGenerator generator)
 {
     generator.StoreArgument(1);
 }