public void FormatString(string format, IRefLocal arg0) { var stringFormat = Reflection <string> .GetMethod( "Format", Types.Array <string, object>(), instance : false); Load(format); arg0.Load(); arg0.LoadIndirectValueAndBox(); Call(stringFormat); }
public void DebugWrite(string format, IRefLocal arg0, IRefLocal arg1, IRefLocal arg2) { FormatString(format, arg0, arg1, arg2); Call(debugWriteLine); }