https://bugs.winehq.org/show_bug.cgi?id=52359
--- Comment #5 from Esme Povirk madewokherd@gmail.com --- This is an issue I've encountered before but wasn't able to fix yet. When marshaling for the IEnumString.Next method (https://docs.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.c...), Mono treats the array as input/output, but the inputs to the array are uninitialized. The attributes of the array indicate that it's output only.
Because this interface is part of the public API, we can't change it. We have to fix Mono's marshaling for this case.