Actual behavior
error PInvoke000: An internal error occurred: Failed to generate IUIAutomation. Failed while generating the method: IntSafeArrayToNativeArray. Specified argument was out of the range of valid values.
Expected behavior
CsWin32 can generate a projection for IUIAutomation.
Repro steps
- 
NativeMethods.txtcontent:
 Windows.Win32.UI.Accessibility
 
- 
NativeMethods.jsoncontent (if present):
 N/A (used defaults)
 
- 
Any of your own code that should be shared?
 N/A
 
Context
- CsWin32 version: 0.2.98-beta
- Win32Metadata version (if explicitly set by project): 36.0.9-preview
- Target Framework: net6.0