You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
.NET codebase should always explicitly list access modifiers. #217
In .NET, if a symbol has no explicit access modifiers, it defaults to the most private allows for that symbol (internal for namespace members, private for everything else). We currently rely on this behavior and omit access modifiers wherever possible.
We always specify the visibility, even if it's the default (e.g. private string _foo not string _foo). Visibility should be the first modifier (e.g. public abstract not abstract public).
Activity
fulghum commentedon Aug 13, 2019
@assyadh – any chance this changed in the new generator code?
assyadh commentedon Aug 13, 2019
Yes, the access modifiers are always there. Nothing is inferred in the new generator.
assyadh commentedon Aug 13, 2019
Closing this as this is no longer an issue.
chore(deps): Update cattrs requirement from <1.11,>=1.8 to >=1.8,<22.…
chore(deps): Update cattrs requirement from <22.2,>=1.8 to >=1.8,<22.…