private Disassembler(MethodBase method, ILStyler styler) { this._module = method.DeclaringType.Module; this._styler = styler; if (method.GetMethodBody() != null) { this._il = method.GetMethodBody().GetILAsByteArray(); } }
private static string Disassemble(MethodBase method, ILStyler styler, int offsetFrom, int offsetTo) { return new Disassembler(method, styler).Dis(offsetFrom, offsetTo).ToString(); }
private static string Disassemble(MethodBase method, ILStyler styler) { return Disassemble(method, styler, 0, 0x7fffffff); }
private static string Disassemble(MethodBase method, ILStyler styler, int offsetFrom, int offsetTo) { return(new Disassembler(method, styler).Dis(offsetFrom, offsetTo).ToString()); }
private static string Disassemble(MethodBase method, ILStyler styler) { return(Disassemble(method, styler, 0, 0x7fffffff)); }