We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0d3ace commit a8ecab0Copy full SHA for a8ecab0
1 file changed
Src/IronPython/Runtime/Types/PythonType.cs
@@ -2371,6 +2371,14 @@ private void AddSystemInterfaces(List<PythonType> mro) {
2371
}
2372
2373
foreach (Type iface in interfaces) {
2374
+#if NET45
2375
+ // causes failures on Mono: https://github.com/mono/mono/issues/14712
2376
+ if (iface == typeof(System.Runtime.InteropServices._Type) || iface == typeof(System.Runtime.InteropServices._MethodInfo)) {
2377
+ nonCollidingInterfaces.Remove(iface);
2378
+ continue;
2379
+ }
2380
+#endif
2381
+
2382
InterfaceMapping mapping = _underlyingSystemType.GetInterfaceMap(iface);
2383
2384
// grab all the interface methods which would hide other members
0 commit comments