Geez Jeff...4.0 ... already....UG! :-)

I've yet to build a solid VM that has 4.0 on it.  Sounds like a project for
the long weekend.

Tim

On Fri, May 22, 2009 at 7:18 AM, Jeff Brown <[email protected]> wrote:

>
> Here's an interesting exception that happens with Rhino.Mocks 3.5
> (for .Net 3.5, ILMerged) when running on .Net 4.0.
>
> System.Reflection.AmbiguousMatchException: Ambiguous match found.
>   at System.RuntimeType.GetMethodImpl(String name, BindingFlags
> bindingAttr, Binder binder, CallingConventions callConv, Type[] types,
> ParameterModifier[] modifiers)
>   at System.Type.GetMethod(String name)
>   at Rhino.Mocks.Constraints.LambdaConstraint.Eval(Object obj)
>   at Rhino.Mocks.Expectations.ConstraintsExpectation.DoIsExpected
> (Object[] args)
>   at Rhino.Mocks.Expectations.AbstractExpectation.IsExpected(Object[]
> args)
>   at Rhino.Mocks.RhinoMocksExtensions.AssertWasCalled[T](T mock,
> Action`1 action, Action`1 setupConstraints)
>   at Rhino.Mocks.RhinoMocksExtensions.AssertWasCalled[T](T mock,
> Action`1 action)
>   at Gallio.Icarus.Tests.Controllers.TestControllerTest.Explore_Test
> ()
>
> Test code is available here:
>
> http://code.google.com/p/mb-unit/source/browse/trunk/v3/src/Extensions/Icarus/Gallio.Icarus.Tests/Controllers/TestControllerTest.cs
>
> I am currently working around the issue by running these particular
> tests under .Net 2.0.  So there's no rush beyond the itch you may
> already be feeling with respect to the beta bits.  :-)
>
> Jeff.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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