NRefactory
NRefactory copied to clipboard
XmlDoc comment is not detected correctly
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.