dotnet / roslynator

Roslynator is a set of code analysis tools for C#, powered by Roslyn.

Home Page:https://josefpihrt.github.io/docs/roslynator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RCS1228 triggered for primary constructor parameters

gtbuchanan opened this issue · comments

Product and Version Used:
Roslynator 4.6.2

Steps to Reproduce:
Create a class with a primary constructor and document the parameters as you would with a record primary constructor.

Actual Behavior:

/// <summary>
/// This is a class.
/// </summary>
/// <param name="value">This is a value.</param>
internal sealed class MyClass(string value)
{
    public string Value { get; } = value;
}

image

Expected Behavior:
RCS1228 should not be triggered.