Hi Tim,

When I target to the 2.0. It failed because the Func delegate doesn't
exist in Net 2.0.

I changed
        public static void AssertWasCalled<T>(this T mock, Func<T,
object> action)
    and
        public static void AssertWasCalled<T>(this T mock, Func<T,
object> action, Action<IMethodOptions<object>> setupConstraints)

To
        public static IList<CallRecord> AssertWasCalled<T>(this T
mock, Function<T, object> action)
    and
        public static IList<CallRecord> AssertWasCalled<T>(this T
mock, Function<T, object> action, Action<IMethodOptions<object>>
setupConstraints)

in the RhinoMocksExtensions class to fix the issue.

Cheers,
Kenneth

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
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