title: How can I get a list of all methods in a certain class from c++ in mono?
body: <p>I've loaded my assembly "monoass.dll" using</p>
  
  <pre><code>mono_domain_assembly_open(domain, "C:/monoass.dll");
  </code></pre>
  
  <p>then I found my class which name is "MainClass" using </p>
  
  <pre><code>mono_class_from_name(mono_assembly_get_image(ass), "monoass", "MainClass"); // where "monoass" is the name of namespace
  </code></pre>
  
  <p>then I need to find <strong>all methods</strong> in "MainClass" class as <code>MonoMethod**</code> array. How can I do this?</p>
  
  <p><em>Mono version is: Mono-3.2.3</em></p>
  
  <p><strong><em>Additional questions:</em></strong></p>
  
  <p>1) How can I output the <code>MonoMethod</code>'s name, arguments and return value to the console? Is there any mono_method_to_string(MonoMethod* method) function?</p>
  
  <p>2) How can I get all namespaces in my assembly (and print each name to the console) and then for each namespace get the array of all clases which are in the namespace?</p>