Hehe, well it's easier this time around because you don't need the VM if you
don't want it.  The PDC bits were a real pain to work with by comparison.
 
.Net 4.0 Beta 1 is looking pretty good for the most part although I've filed
a couple of bugs and encountered other weird issues along the way.  Better
to do that when the bits are fresh than when they are frozen!  ;-p
 
Jeff.

  _____  

From: [email protected] [mailto:[email protected]] On
Behalf Of Tim Barcz
Sent: Friday, May 22, 2009 7:18 AM
To: [email protected]
Subject: [RhinoMocks] Re: Ambiguous match exception on .Net 4.0.


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/Icaru
s/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