title: Get a method's contents from a cs file
body: <p>I have a requirement to get the contents of every method in a cs file into a string. What I am looking for is when you have an input of a cs file, a dictionary is returned with the method name as the key and the method body as the value.</p>
  
  <p>I have tried Regex and reflection with no success, can anyone help?</p>
  
  <p>Thanks</p>