public virtual string Disassemble() { BytecodeDisassembler dis = new BytecodeDisassembler(this); using (StringWriter sw = new StringWriter()) { sw.WriteLine(dis.Disassemble()); sw.WriteLine("Strings:"); sw.WriteLine(dis.GetStrings()); sw.WriteLine("Bytecode to template map:"); sw.WriteLine(dis.GetSourceMap()); return(sw.ToString()); } }
public virtual string Disassemble() { BytecodeDisassembler dis = new BytecodeDisassembler(this); using (StringWriter sw = new StringWriter()) { sw.WriteLine(dis.Disassemble()); sw.WriteLine("Strings:"); sw.WriteLine(dis.GetStrings()); sw.WriteLine("Bytecode to template map:"); sw.WriteLine(dis.GetSourceMap()); return sw.ToString(); } }