FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Mono (2.8.1) on Ubuntu 10.10 throws on Type.GetMethod("Invoke") · davidanthoff/pythonnet@5d51483 · GitHub

Repository navigation

Commit 5d51483

Browse files
Barton Cline
committed
Mono (2.8.1) on Ubuntu 10.10 throws on Type.GetMethod("Invoke")
when the method doesn't exist. This was the case when the ClassManager tried to create a DelegateObject in response to type.IsSubclassOf(dtype) where dtype = typeof(System.Delegate)
1 parent 2f2d385 commit 5d51483

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎pythonnet/src/runtime/classmanager.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ private ClassManager() {}
3535

3636
static ClassManager() {
3737
cache = new Dictionary<Type, ClassBase>(128);
38-
dtype = typeof(System.Delegate);
38+
dtype = typeof(System.MulticastDelegate);
3939
}
4040

4141
//====================================================================

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL