Inspection Details

MultilineParameter


Summary
Flags parameters declared across multiple physical lines of code.
Reasoning
When splitting a long list of parameters across multiple lines, care should be taken to avoid splitting a parameter declaration in two.
The following code example(s) would trigger this inspection:

Public Sub DoSomething(ByVal foo As Long, ByVal _
                                         bar As Long)
    ' ...
End Sub

The following code example(s) would not trigger this inspection:

Public Sub DoSomething(ByVal foo As Long, _
                       ByVal bar As Long)
    ' ...
End Sub


Back to List