We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Blazor properties need to have a public setter. There is even a rule for that: https://learn.microsoft.com/en-us/aspnet/core/diagnostics/bl0001?view=aspnetcore-7.0
S4004 recommends the opposite.
See: https://peach.sonarsource.com/code?id=mudblazor&branch=master&selected=mudblazor%3AMudBlazor.Docs%2FComponents%2FDocsPageSection.razor.cs
The rule should not raise an issue in this case.
The rule reports an issue:
The text was updated successfully, but these errors were encountered:
costin-zaharia-sonarsource
Successfully merging a pull request may close this issue.
Description
Blazor properties need to have a public setter. There is even a rule for that: https://learn.microsoft.com/en-us/aspnet/core/diagnostics/bl0001?view=aspnetcore-7.0
S4004 recommends the opposite.
Repro steps
See: https://peach.sonarsource.com/code?id=mudblazor&branch=master&selected=mudblazor%3AMudBlazor.Docs%2FComponents%2FDocsPageSection.razor.cs
Expected behavior
The rule should not raise an issue in this case.
Actual behavior
The rule reports an issue:
Related information
The text was updated successfully, but these errors were encountered: