Browse files

Fix #32400 - regression handling __rop__ methods.

  • Loading branch information...
1 parent ce90110 commit 4a764976adb8753a524b06d2926824850d97a491 @jdhardy jdhardy committed Mar 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Languages/IronPython/IronPython/Runtime/Binding/SlotOrFunction.cs
View
2 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;

0 comments on commit 4a76497

Please sign in to comment.