Esempio n. 1
0
 public override void GenerateCode(MethodBodyGenerator generator, MethodCompileOption options)
 {
     if (Target.Type.IsValueType)
     {
         options |= MethodCompileOption.EmitStartAddress;
     }
     Target.GenerateCode(generator, options);
     Arguments.ForEach((arg, index) =>
     {
         arg.GenerateCode(generator);
         generator.EmitConvert(Conversions[index]);
     });
     // todo indexer parmas argument convert
     generator.Call(Getter);
 }