Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SA1612 does not trigger on primary constructor #3786

Closed
bjornhellander opened this issue Jan 23, 2024 · 0 comments · Fixed by #3833
Closed

SA1612 does not trigger on primary constructor #3786

bjornhellander opened this issue Jan 23, 2024 · 0 comments · Fixed by #3833

Comments

@bjornhellander
Copy link
Contributor

bjornhellander commented Jan 23, 2024

I expect the following code to trigger SA1612 (element parameter documentation must match element parameters), but it does not:

/// <summary>
/// Stuff.
/// </summary>
/// <param name="Y">Foo.</param>
/// <param name="X">Bar.</param>
public record Class8(int X, int Y)
{
}

Tested with version 1.2.0-beta.556

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants