Suppress "Missing Xml Comment" on specific methods

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dommett@gmail.com

    #1

    Suppress "Missing Xml Comment" on specific methods

    I would like to suppress the warning on some methods (e.g. Dispose
    which doesn't really need a comment and also some private methods I
    just dont want to explain).

    What I'd like is a way to do the following:

    /// <Summary>
    /// Some text ...
    /// </Summary>
    public void SomeMethod ()
    {
    // This method will get documented correctly
    }

    /// <NoComments />
    public void SomeNonDocument edMethod ()
    {
    // This method will not appear in documentation
    }

    I hope it can be done.

Working...