Skip to main content

RCS1247: Fix documentation comment tag

Properties

PropertyValue
Default SeverityInfo
Minimum language version-

Examples

Example #1

diagnostic.cs
/// <summary>
/// <code>null</code>
/// </summary>
void M()
{
}
fix.cs
/// <summary>
/// <c>null<c>
/// </summary>
void M()
{
}

Example #2

diagnostic.cs
/// <summary>
/// <c>
/// if (x == null)
/// x = new object();
/// </c>
/// </summary>
void M()
{
}
fix.cs
/// <summary>
/// <code>
/// if (x == null)
/// x = new object();
/// </code>
/// </summary>
void M()
{
}

Applies to