Closed TomasVotruba closed 1 year ago
No, that's not possible. I've found only 1 exception in our projects. The rules overlapped in 99 % cases, so they were merged.
The goal is exactly to avoid those properties you describe.
The new rule also report protected properties in non-final classes where I still want to use them for the time-being.
@TomasVotruba I was using
NoProtectedElementInFinalClassRule
but not the other rules. Is there a way to restrict the new rule to final classes? The new rule is too restrictive for our project.