I'm writing some C# code that needs to parse some VBA code and identify any objects that have been declared WithEvents. I'm considering what would happen if multiple objects were declared on a single line.

Given the following VBA:-
VBA Code:
  1. Dim WithEvents rv1 As AquatorModel.Reservoir, rv2 As AquatorModel.Reservoir
... would the WithEvents be applied to rv2 or only to rv1?

Thanks in advance
FD