VBA153 — Implements method signature mismatch¶
Severity: 🔴 error Category: interface Phase: 2.12
Description¶
A method implementing an interface member must match the member's parameter count.
Failing example¶
' IShape: Public Sub Draw(ByVal scale As Double)
Implements IShape
Private Sub IShape_Draw()
End Sub
Compliant example¶
How to fix¶
Match the interface member's parameter list exactly.
Source: src/rules.py — entry VBA153.