Hello Group,

using RhinoMocks I would like to raise a event, where the event handler 
signature looks like:
MyEventHandler(int a value, ref bool handled) {..}

If I use:
myMock.Raise(x => x.MyEventHandler += null, aValue, handled);

I get the following Error message:
System.InvalidOperationException: Parameter #2 is System.Boolean but should be 
System.Boolean&

What Is the right way to raise the event?

Thanks for Help and Hints
Rainer

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rhinomocks/-/FaJmPmvobFwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhinomocks?hl=en.

Reply via email to