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