NRefactory icon indicating copy to clipboard operation
NRefactory copied to clipboard

XmlDoc comment is not detected correctly

Open dgrunwald opened this issue 11 years ago • 0 comments

The following program:

class Program
{
    /////////////////////////////////////////////////////////////////////////////
    // Overriden Functions
    #region Package Members
    /// <summary>
    /// Initialization
    /// </summary>
    protected override void Initialize()
    {
    }
    #endregion
}

produces the warning "Xml doc comment is not placed on a valid language element".

This is a parser bug: the line '////////' is detected as an XML documentation comment, even though it does not start with exactly 3 slashes.

dgrunwald avatar Apr 30 '14 19:04 dgrunwald