Permalink
Browse files

Fix #32400 - regression handling __rop__ methods.

(cherry picked from commit 4a76497)
  • Loading branch information...
jdhardy committed Mar 13, 2012
1 parent 6cb699a commit 92405ec54497d2545721cc31a2b18634f1a21cc7
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 92405ec

Please sign in to comment.