title: Attributes and XML Documentation for method/property
body: <p>When I want to have an attribute and XML documentation for a method/property - what is the correct order to write them above the method/property?</p>
  
  <p>This sounds so trivial, but...</p>
  
  <p>If I use:</p>
  
  <pre><code>/// &lt;summary&gt;
  /// Something here
  /// &lt;/summary&gt;
  [MyAttribute]
  public void MyMethod() {}
  </code></pre>
  
  <p>Build is successful and ReSharper is "happy", but I don't see the documentation in IntelliSense for <code>MyClass.MyMethod</code>.</p>
  
  <p>When I use:</p>
  
  <pre><code>[MyAttribute]
  /// &lt;summary&gt;
  /// Something here
  /// &lt;/summary&gt;
  public void MyMethod() {}
  </code></pre>
  
  <p>Build is successful but ReSharper has a warning (<em>XML comment is not placed on a valid language element</em>), and I still don't see the documentation in IntelliSense for <code>MyClass.MyMethod</code>.</p>
  
  <p>I've searched the internet and see only examples where attributes are used without documentation; or documentation without attributes.</p>
  
  <p>Is there really no way to have attributes and XML documentation for the same method/property?</p>
  
  <p>Info: WPF application, .NET 4.0, C#.</p>