- Notifications
You must be signed in to change notification settings - Fork750
Closed
Description
Environment
- Pythonnet version: 2.4.0
- Python version: 3.6
- Operating System: Windows10
Details
- calling a method that uses C# enum as an argument with the enum fails with TypeError: No method matches given arguments for XXX
The enum comes in Python as an int, and since the method signature is not int, it fails.
I cannot see how to force the typecast, or whether I could somehow force the method call directly (overloads lists the method, but I can't figure out whether I can call directly).
Searching google did not return anything recent, although some older comments (2017/18 IIRC) indicated there was a fix for this?
Metadata
Metadata
Assignees
Labels
No labels