Unspecified error message/location using c# inline arrays

Hello,
this solution has a c# library defining a struct with inline array.
When trying to access this with Marshal.StructureToPtr the compiler emits an error “Inline arrays not allowed here” without any further information or location.

ClassLibrary.txt (4.4 KB)
ClassLibrary.zip (3.8 KB)

Logged as bugs://E27036.

Good catch Andreas, checking…

1 Like

bugs://E27036 was closed as fixed.