[Mono-bugs] [Bug 354759] New: Mono can't execute Rhino.Mocks tests: Invalid IL code

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jan 18 11:13:41 EST 2008


           Summary: Mono can't execute Rhino.Mocks tests: Invalid IL code
           Product: Mono: Runtime
           Version: 1.2.6
          Platform: 32bit
        OS/Version: Ubuntu
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: generics
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: miltondp at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Sorry if I can't provide more information about the bug. I have this test:

public void RetrieveByDni_ISession()
        ISession session = this.mocks.CreateMock<ISession>();
                .Return(new Person("Pividori", "Milton", true));

        Person aPerson = this.personsManager.RetrieveById(session, 1);
        Assert.AreEqual("Pividori", aPerson.Surname);
        Assert.AreEqual("Milton", aPerson.Name);



The output of nunit-console (version 2.4.6) is:

2) PersonsManagerTest.GenericManagerPerson.RetrieveByDni_ISession :
System.InvalidProgramException : Invalid IL code in
IL_0000: stelem.any0xa4b49680 

The test works on Windows with NET 2.0. I am using Mono 1.2.6 and Rhino.Mocks
3.3 on Ubuntu Gutsy 7.10.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list