Implicit Public Member
Highlights implicit Public access modifiers in user code.
Reasoning
In modern VB (VB.NET), the implicit access modifier is Private, as it is in most other programming languages. Making the Public modifiers explicit can help surface potentially unexpected language defaults.
Default severity
Hint
Inspection type
LanguageOpportunities
Examples
This example should trigger a result
This example should NOT trigger a result
Rubberduck.CodeAnalysis.Inspections.Concrete.ImplicitPublicMemberInspection.cs (Prerelease-v2.5.9.6289)