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
C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\6.0.0\Sdk\WasmApp.Native.targets(239,5): error : The return type 'BlazorApp8.UnicodeGeneralCategory' of pinvoke callback method 'BlazorApp8.UnicodeGeneralCategory GeneralCategoryProxyImplementation(System.IntPtr, System.UInt32, System.Void*)' needs to be blittable.
Description
I have this pinvoke code:
And compiler gives this:
Reproduction Steps
BlazorApp8.zip
Expected behavior
Compiles
Actual behavior
Error
Regression?
Probably not.
Known Workarounds
Make the return type an int and then cast to an enum.
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: