Compiler Warning (level 2) CS1571
XML comment on 'construct' has a duplicate param tag for 'parameter'
When using the DocumentationFile compiler option, multiple comments were found for the same method parameter. Remove one of the duplicate lines.
The following sample generates CS1571:
C#
// CS1571.cs
// compile with: /W:2 /doc:x.xml
/// <summary>help text</summary>
public class MyClass
{
/// <param name='Int1'>Used to indicate status.</param>
/// <param name='Char1'>An initial.</param>
/// <param name='Int1'>Used to indicate status.</param> // CS1571
public static void MyMethod(int Int1, char Char1)
{
}
/// <summary>help text</summary>
public static void Main ()
{
}
}
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: