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
{{ message }}
Repository navigation
Specify SizeConst when marshalling field as ByValArray #36134
Roslyn already requires SizeConst for ByValTStr. Should we instead extend Roslyn to also require SizeConst for ByValArray instead of writing a separate analyzer?
Activity
AaronRobinsonMSFT commentedon May 10, 2020
I think any of these type of requirements should be in some analyzer.
terrajobst commentedon Jul 13, 2021
UnmanagedType.ByValTStrjkoritzinsky commentedon Jul 10, 2023
Roslyn already requires
SizeConstforByValTStr. Should we instead extend Roslyn to also requireSizeConstforByValArrayinstead of writing a separate analyzer?