Compiler Warning (level 1) CS1574
XML comment on 'construct' has syntactically incorrect cref attribute 'name'
A string passed to a cref tag, for example, within an <exception> tag, referred to a member that is not available within the current build environment. The string that you pass to a cref tag must be the syntactically correct name of a member or field.
For more information, see Recommended Tags for Documentation Comments.
The following sample generates CS1574:
// CS1574.cs
// compile with: /W:1 /doc:x.xml
using System;
/// <exception cref="System.Console.WriteLin">An exception class.</exception> // CS1574
// instead, uncomment and try the following line
// /// <exception cref="System.Console.WriteLine">An exception class.</exception>
class EClass : Exception
{
}
class TestClass
{
public static void Main()
{
try
{
}
catch(EClass)
{
}
}
}