https://bugzilla.novell.com/show_bug.cgi?id=354759
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=354759#c2 --- Comment #2 from Milton Pividori <[EMAIL PROTECTED]> 2008-01-18 14:42:17 MST --- Created an attachment (id=191053) --> (https://bugzilla.novell.com/attachment.cgi?id=191053) Testcase for bug 354759 Sorry for not attaching this before. To compile, some dependences are needed. Copy mentioned files to directory where extracted: * NUnit 2.4.6 (it should work with 2.2.*): file nunit.framework.dll http://prdownloads.sourceforge.net/nunit/NUnit-2.4.6-net-2.0.zip?download * Rhino.Mocks 3.3: file Rhino.Mocks.dll http://www.ayende.com/20/section.aspx/download/211 * NHibernate 1.2.1 GA: file NHibernate.dll http://downloads.sourceforge.net/nhibernate/NHibernate-1.2.1.GA-bin.zip?modtime=1196063669&big_mirror=0 Command line to compile: gmcs IExample.cs SomeClass.cs Testcase.cs -r:nunit.framework.dll -r:NHibernate.dll -r:Rhino.Mocks.dll -t:library -out:Testcase_bug-354759.dll Command to run: nunit-console Testcase_bug-354759.dll All tests should success. Actualy, one fails. The output is this: --- PersonsManagerTest.GenericManagerPerson.RetrieveAll_ISession : System.InvalidProgramException : Invalid IL code in InvocationList_35:.ctor (object,Castle.Core.Interceptor.IInterceptor[],System.Type,System.Reflection.MethodInfo,System.Reflection.MethodInfo,object[],object): IL_0000: break at ICriteriaProxy6958827077e7400d9a8194b2d100ca88.List[Person] () [0x00000] at PersonsManagerTest.GenericManagerPerson.RetrieveAll_ISession () [0x00000] at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[]) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] --- -- 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
