rspec/rules/S3442/rspecator.adoc
Costin Zaharia e6db263ce7
Modify rule 3442: apply LaYC format (#2194)
## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)
2023-06-15 09:34:26 +02:00

29 lines
931 B
Plaintext

ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
=== Message
Reduce the visibility of this constructor.
=== Highlighting
`public` keyword
'''
== Comments And Links
(visible only on this page)
=== on 8 Dec 2015, 08:48:44 Tamas Vajk wrote:
\[~ann.campbell.2] LGTM, changed the label from api-design to clumsy. The constructor can't be called directly, because it's in an `abstract` class. So we can only call it from a deriving type's constructor, but this is also the case if the constructor is `protected`, so we are not proposing any real change in api-design. WDYT?
=== on 12 Apr 2016, 17:56:27 Ann Campbell wrote:
Rule originally taken from R#, but also exists in MSFT Roslyn rule set & therefore doesn't need re-implementation.
=== on 26 Jan 2017, 16:49:21 Ann Campbell wrote:
https://msdn.microsoft.com/en-us/library/ms182126.aspx
endif::env-github,rspecator-view[]