Example #1
0
 public static CodeBuilder GenerateLoad(this ILBuilder il, int value)
 {
     return(() =>
     {
         il.Load(value);
     });
 }
Example #2
0
 public static CodeBuilder GenerateLoadInstanceField(this ILBuilder il, FieldInfo field)
 {
     return(() =>
     {
         il.Arguments.LoadMachine();
         il.Load(field);
     });
 }