Implicit Public Member
Highlights implicit Public access modifiers in user code.
NEW! This inspection is only available in pre-release builds.
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
QuickFixes
The following quickfixes are available for this inspection:
Examples
This example should trigger a result
This example should NOT trigger a result
Rubberduck.CodeAnalysis.Inspections.Concrete.ImplicitPublicMemberInspection.cs (Prerelease-v2.5.2.6174)