Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
1>WasmApp.Common.targets(793,5): Message WASM0060 : Type System.Object is not blittable: Not a ValueType
1>WasmApp.Common.targets(793,5): Message WASM0062 : Type System.Runtime.InteropServices.HandleRef is not blittable: Field _wrapper is not blittable
1>WasmApp.Common.targets(793,5): Warning WASM0001 : Could not get pinvoke, or callbacks for method 'ExternalLibrary.ExternalClass::GetCharABCWidthsFloat' because 'System.NotSupportedException: Unsupported parameter type in method 'ExternalLibrary.ExternalClass.GetCharABCWidthsFloat'
at PInvokeCollector.g__CollectPInvokesForMethod|6_0(MethodInfo method, <>c__DisplayClass6_0&)
at PInvokeCollector.CollectPInvokes(List1 pinvokes, List
1 callbacks, HashSet`1 signatures, Type type)'
Expected Behavior
No warnings (as it was in NET8)
Steps To Reproduce
https://github.com/konstantin-karpukhin/BlazorWASM0001
Exceptions (if any)
Project should be configured for NET9 with WasmEnableSIMD set to false
.NET Version
No response
Anything else?
No response