RCS1247: Fix documentation comment tag
Properties
Property | Value |
---|---|
Default Severity | Info |
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()
{
}