-
Notifications
You must be signed in to change notification settings - Fork 509
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
SA 1642 Is Triggered with Private Constructor Text. #1318
Comments
You are seeing two different things here.
My recommendation is updating your constructors to use the non-misleading public constructor wording. @pdelvo Should we drop the |
I like the idea of leaving off the trailing |
Keep in mind that your current constructor text is misleading. From outside the class, the constructor is not visible at all, which means it's not showing up in IntelliSense and you can't see the summary. The only place where the summary is visible is within the context of your current class, and in that scope it does not prevent the creation of new instances of the class.
📝 We may yet drop the |
Triggers SA 1642. Code fix attempts to replace the summary with the public constructor default text. This was seen using beta 8.
The text was updated successfully, but these errors were encountered: