Compiler Warning (level 2) CS1587
XML comment is not placed on a valid language element
Recommended tags for documentation comments are not allowed on all language elements. For example, a tag is not allowed on a namespace. For more information on XML comments, see Recommended Tags for Documentation Comments (C# Programming Guide).
Example
The following sample generates CS1587:
// CS1587.cs
// compile with: /W:2 /doc:x.xml
/// <summary>test</summary> // CS1587, tag not allowed on namespace
namespace MySpace
{
class MyClass
{
public static void Main()
{
}
}
}