Skip to main content

RCS1181: Convert comment to documentation comment

Properties

PropertyValue
Default SeverityHidden
Minimum language version-

Examples

Example #1

diagnostic.cs
// Represents foo.
public class Foo
{
}
fix.cs
/// <summary>
/// Represents foo.
/// </summary>
public class Foo
{
}

Example #2

diagnostic.cs
public string Value { get; } // Gets a value.
fix.cs
/// <summary>
/// Gets a value.
/// </summary>
public string Value { get; }

Applies to