Skip to content

Commit 96283e6

Browse files
Port fix for .NET 9 from IronLanguages/ironpython3#1807 to ironpython2
1 parent d834e17 commit 96283e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Src/IronPython/Runtime/Types/NewTypeMaker.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,7 @@ private void ImplementCustomTypeDescriptor() {
540540
ImplementInterface(typeof(ICustomTypeDescriptor));
541541

542542
foreach (MethodInfo m in typeof(ICustomTypeDescriptor).GetMethods()) {
543+
if (!m.IsAbstract) continue;
543544
ImplementCTDOverride(m);
544545
}
545546
}

0 commit comments

Comments
 (0)