From 4a764976adb8753a524b06d2926824850d97a491 Mon Sep 17 00:00:00 2001 From: Jeff Hardy Date: Mon, 12 Mar 2012 22:59:45 -0700 Subject: [PATCH] Fix #32400 - regression handling __rop__ methods. --- .../IronPython/IronPython/Runtime/Binding/SlotOrFunction.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Languages/IronPython/IronPython/Runtime/Binding/SlotOrFunction.cs b/Languages/IronPython/IronPython/Runtime/Binding/SlotOrFunction.cs index 33e6da186e..47375527c1 100644 --- a/Languages/IronPython/IronPython/Runtime/Binding/SlotOrFunction.cs +++ b/Languages/IronPython/IronPython/Runtime/Binding/SlotOrFunction.cs @@ -88,7 +88,7 @@ sealed class SlotOrFunction { get { if (_function != null) { var method = _function.Overload.ReflectionInfo as MethodInfo; - return method != null && method.IsDefined(typeof(MaybeNotImplementedAttribute), false); + return method != null && method.ReturnTypeCustomAttributes.IsDefined(typeof(MaybeNotImplementedAttribute), false); } return true;