Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

What does fields in method table mean in this example

By: a guest on Feb 22nd, 2012  |  syntax: None  |  size: 0.52 KB  |  views: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. class MyClass
  2. {
  3.     private int x = 60;
  4.     private int y = 90;
  5.  
  6.     public void MethodB()
  7.     {
  8.         Console.WriteLine("MethodB");
  9.     }
  10.  
  11.     public void MethodC()
  12.     {
  13.         Console.WriteLine("MethodC");
  14.     }
  15.  
  16.     public void MethodA()
  17.     {
  18.         GetHashCode();
  19.  
  20.  
  21.         Monitor.Enter(this);
  22.  
  23.         Console.WriteLine("Attach debugger now");
  24.         Console.ReadKey();
  25.     }
  26.  
  27.  
  28.     static void Main(string[] args)
  29.     {
  30.         MyClass mc = new MyClass();
  31.         mc.MethodA();
  32.     }
  33. }
  34.        
  35. !sos.dumpmt 001f3310