SigImp TranslateSnippet should translate SAFEARRAY into [MarshalAs(SafeArray)] Array
Opened this issue · 0 comments
jozefizso commented
Issue from Mon, 12 Oct 2009 02:44:34 GMT
Originally opened at https://clrinterop.codeplex.com/workitem/4442
Try to translate the following into C#:
HRESULT SafeArrayAccessData(
SAFEARRAY * psa,
void HUGEP ** ppvData
);
SigImp TranslateSnippet gives a very complex output including a full definition of SAFEARRAY structure. It should use MarshalAs(UnmanagedType.SafeArray) Array instead.