Skip to content
This repository was archived by the owner on Sep 14, 2018. It is now read-only.

Commit 4a76497

Browse files
committed
Fix #32400 - regression handling __rop__ methods.
1 parent ce90110 commit 4a76497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Languages/IronPython/IronPython/Runtime/Binding/SlotOrFunction.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public bool MaybeNotImplemented {
8888
get {
8989
if (_function != null) {
9090
var method = _function.Overload.ReflectionInfo as MethodInfo;
91-
return method != null && method.IsDefined(typeof(MaybeNotImplementedAttribute), false);
91+
return method != null && method.ReturnTypeCustomAttributes.IsDefined(typeof(MaybeNotImplementedAttribute), false);
9292
}
9393

9494
return true;

0 commit comments

Comments
 (0)