title: How do I get the parameters passed in to the constructor of an attribute?
body: <p>I'm working on a documentation generator. MSDN documentation shows the parameters passed to Attributes when they are applied. Such as <code>[ComVisibleAttribute(true)]</code>. How would I get those parameter values and/or the constructor called in my c# code via reflection, pdb file or otherwise?</p>
  
  <p>To clarify> If someone has documented a method that has an attribute on it like so:</p>
  
  <pre><code>/// &lt;summary&gt; foo does bar &lt;/summary&gt;
  [SomeCustomAttribute("a supplied value")]
  void Foo() {
    DoBar();
  }
  </code></pre>
  
  <p>I want to be able to show the signature of the method in my documentation like so:</p>
  
  <pre><code>Signature:
  
  [SomeCustomAttribute("a supplied value")]
  void Foo();
  </code></pre>