From 947a44fc4ad5fa2263c48b92c4ea170b49fa67f2 Mon Sep 17 00:00:00 2001 From: aengland-lab Date: Tue, 10 Feb 2026 08:16:57 +1100 Subject: [PATCH] Porting fix for .NET 9 for https://github.com/IronLanguages/ironpython3/issues/1811 from https://github.com/IronLanguages/ironpython3/pull/1807/changes/9c2e61c49c4ffcea367c9566e24f5ded8a06dd9d --- Src/IronPython/Runtime/Types/NewTypeMaker.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Src/IronPython/Runtime/Types/NewTypeMaker.cs b/Src/IronPython/Runtime/Types/NewTypeMaker.cs index b878a8e91..ca0f96ffe 100644 --- a/Src/IronPython/Runtime/Types/NewTypeMaker.cs +++ b/Src/IronPython/Runtime/Types/NewTypeMaker.cs @@ -540,6 +540,7 @@ private void ImplementCustomTypeDescriptor() { ImplementInterface(typeof(ICustomTypeDescriptor)); foreach (MethodInfo m in typeof(ICustomTypeDescriptor).GetMethods()) { + if (!m.IsAbstract) continue; ImplementCTDOverride(m); } }