https://bugs.winehq.org/show_bug.cgi?id=51835
--- Comment #5 from marc_aurel@me.com --- Sorry, I messed up a bit during testing but I can confirm that on current wine git with the patches from https://bugs.winehq.org/show_bug.cgi?id=51818 PInvoke works fine for wine-mono and native .net on linux