[Mono-list] Mono, Rhino.Mocks, and MbUnit

Tom Opgenorth opgenorth at gmail.com
Tue Sep 4 20:23:51 EDT 2007


Hello,

I tried running the est suite for Rhino.Mocks under Mono 1.2.5,
using MbUnit.Cons.exe.  Not to sure, but it looks like Mono doesn't
like that is going on .  I don't suppose that anybody has any ideas?

I get an error:

file reflection.c: line 9704 (resolve_object): should not be reached aborting...

When I add the --verbose parameter to mono, it's a pretty big file (~
1MB of text).


The last few lines are :
Method (wrapper managed-to-native)
System.Reflection.MonoGenericClass:GetParentType () emitted at
03881318 to 0388135B (code length 67) [domain-Rhino.Mocks.Tests.dll]
Method System.Reflection.Emit.TypeBuilder:GetMethods
(System.Reflection.BindingFlags) emitted at 03881360 to 0388137A (code
length 26) [domain-Rhino.Mocks.Tests.dll]
Method System.Reflection.Emit.TypeBuilder:GetMethodsByName
(string,System.Reflection.BindingFlags,bool,System.Type) emitted at
03881390 to 038815D6 (code length 582) [domain-Rhino.Mocks.Tests.dll]
Method System.Reflection.Emit.TypeBuilder:GetConstructors
(System.Reflection.BindingFlags) emitted at 038815D8 to 03881752 (code
length 378) [domain-Rhino.Mocks.Tests.dll]
Method System.Reflection.Emit.ConstructorBuilder:get_Attributes ()
emitted at 03881758 to 03881763 (code length 11)
[domain-Rhino.Mocks.Tests.dll]
Method System.Reflection.Emit.TypeBuilder:GetFields
(System.Reflection.BindingFlags) emitted at 03881768 to 0388190D (code
length 421) [domain-Rhino.Mocks.Tests.dll]
Method System.Reflection.Emit.TypeBuilder:GetProperties
(System.Reflection.BindingFlags) emitted at 03881910 to 03881AC3 (code
length 435) [domain-Rhino.Mocks.Tests.dll]
Method System.Reflection.MonoGenericClass:get_event_info () emitted at
03881AC8 to 03881B40 (code length 120) [domain-Rhino.Mocks.Tests.dll]
Method System.Reflection.Emit.TypeBuilder:GetEvents_internal
(System.Reflection.BindingFlags) emitted at 03881B58 to 03881D26 (code
length 462) [domain-Rhino.Mocks.Tests.dll]
Method (wrapper managed-to-native)
System.Reflection.MonoGenericClass:initialize
(System.Reflection.MethodInfo[],System.Reflection.ConstructorInfo[],System.Reflection.FieldInfo[],System.Reflection.PropertyInfo[],System.Reflection.EventInfo[])
emitted at 03881D38 to 03881D84 (code length 76)
[domain-Rhino.Mocks.Tests.dll]
Method (wrapper managed-to-native)
System.Reflection.MonoGenericClass:GetCorrespondingInflatedConstructor
(System.Reflection.ConstructorInfo) emitted at 03881D88 to 03881DCE
(code length 70) [domain-Rhino.Mocks.Tests.dll]
Method Castle.DynamicProxy.Generators.BaseProxyGenerator:EmitLoadGenricMethodArguments
(Castle.DynamicProxy.Generators.Emitters.MethodEmitter,System.Reflection.MethodInfo,Castle.DynamicProxy.Generators.Emitters.SimpleAST.LocalReference)
emitted at 03881DD0 to 03882097 (code length 711)
[domain-Rhino.Mocks.Tests.dll]
Method Castle.DynamicProxy.Generators.BaseProxyGenerator:<EmitLoadGenricMethodArguments>b__0
(System.Type) emitted at 038820A8 to 038820D0 (code length 40)
[domain-Rhino.Mocks.Tests.dll]
Method System.Reflection.Emit.GenericTypeParameterBuilder:get_IsGenericParameter
() emitted at 038820D8 to 038820E2 (code length 10)
[domain-Rhino.Mocks.Tests.dll]
Method System.Reflection.Emit.GenericTypeParameterBuilder:IsValueTypeImpl
() emitted at 038820E8 to 03882123 (code length 59)
[domain-Rhino.Mocks.Tests.dll]
Method IWithGeneric1Proxy693f431168aa4565aa5a6b75d3fe588f:.cctor ()
emitted at 038822A0 to 03882713 (code length 1139)
[domain-Rhino.Mocks.Tests.dll]
Method IWithGeneric1Proxy693f431168aa4565aa5a6b75d3fe588f:.ctor
(Castle.Core.Interceptor.IInterceptor[],object) emitted at 03882718 to
0388272F (code length 23) [domain-Rhino.Mocks.Tests.dll]
Method IWithGeneric1Proxy693f431168aa4565aa5a6b75d3fe588f:get_ProxyHash
() emitted at 03882788 to 03882839 (code length 177)
[domain-Rhino.Mocks.Tests.dll]
Method Invocationget_ProxyHash_10:.ctor
(IWithGeneric1Proxy693f431168aa4565aa5a6b75d3fe588f,Castle.Core.Interceptor.IInterceptor[],System.Type,System.Reflection.MethodInfo,object[],object)
emitted at 03882850 to 0388287B (code length 43)
[domain-Rhino.Mocks.Tests.dll]
Method (wrapper managed-to-native)
System.Object:__icall_wrapper_compile_generic_method
(object,intptr,intptr,intptr) emitted at 010CE158 to 010CE1A7 (code
length 79) [MbUnit.Cons.exe]
GenericTypeParameterBuilder


More information about the Mono-list mailing list