Skip to content

Commit a566702

Browse files
committed
NH-2801
SVN: trunk@5987
1 parent 0a8510d commit a566702

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/NHibernate/Proxy/DefaultDynamicProxyMethodCheckerExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public static bool ShouldBeProxiable(this MethodInfo method)
2626
return (method.DeclaringType != typeof (MarshalByRefObject)) &&
2727
(method.DeclaringType != typeof (object) || !"finalize".Equals(method.Name.ToLowerInvariant())) &&
2828
(!(method.DeclaringType == typeof (object) && "GetType".Equals(method.Name))) &&
29+
(!(method.DeclaringType == typeof (object) && "obj_address".Equals(method.Name))) && // Mono-specific method
2930
!IsDisposeMethod(method) &&
3031
(method.IsPublic || method.IsAssembly || method.IsFamilyOrAssembly);
3132
}

0 commit comments

Comments
 (0)