Specify SizeConst when marshalling field as ByValArray #36134
Labels
api-approved
API was approved in API review, it can be implemented
area-System.Runtime.InteropServices
code-analyzer
Marks an issue that suggests a Roslyn analyzer
help wanted
[up-for-grabs] Good issue for external contributors
in-pr
There is an active PR which will close this issue when it is merged
Milestone
When marshalling using
UnmanagedType.ByValArray
, theSizeConst
field should be specified.Category: Interoperability
Default: Enabled
cc @terrajobst @stephentoub @AaronRobinsonMSFT @jkoritzinsky
The text was updated successfully, but these errors were encountered: