Default Member Required
Locates indexed default member calls for which the corresponding object does not have a suitable suitable default member.
Reasoning
The VBA compiler does not check whether the necessary default member is present. Instead there is a runtime error whenever the runtime type fails to have the default member.
Default severity
Warning
Inspection type
CodeQualityIssues
Examples
This example should trigger a result
This example should NOT trigger a result
Rubberduck.CodeAnalysis.Inspections.Concrete.DefaultMemberRequiredInspection.cs (Prerelease-v2.5.9.6289)