You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Out-of-process WinRT doesn't support passing null to an array parameter.
While trying to do this, an exception will be thrown.
System.Runtime.InteropServices.COMException (0x800706F4)
at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
at ABI.WinRTServer.ITestClassClassMethods.Test(IObjectReference _obj, Int32[] array)
at WinRTServer.TestClass.Test(Int32[] array)
at Program.<Main>$(String[] args)
Note that in-process server does work in this scenario.
Describe the bug
Out-of-process WinRT doesn't support passing null to an array parameter.
While trying to do this, an exception will be thrown.
Note that in-process server does work in this scenario.
To Reproduce
array-repro
: https://github.com/hez2010/WinRTServer/tree/array-reproExpected behavior
No exception.
Version Info
CsWinRT 2.0.7
Additional context
The text was updated successfully, but these errors were encountered: