Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d51483 commit 929849dCopy full SHA for 929849d
pythonnet/src/runtime/classmanager.cs
@@ -35,6 +35,10 @@ private ClassManager() {}
35
36
static ClassManager() {
37
cache = new Dictionary<Type, ClassBase>(128);
38
+ // SEE: http://msdn.microsoft.com/en-us/library/96b1ayy4%28VS.90%29.aspx
39
+ // ""All delegates inherit from MulticastDelegate, which inherits from Delegate.""
40
+ // Was Delegate, which caused a null MethodInfo returned from GetMethode("Invoke")
41
+ // and crashed on Linux under Mono.
42
dtype = typeof(System.MulticastDelegate);
43
}
44
0 commit comments