Skip to content

Conversation

@AArnott
Copy link
Member

@AArnott AArnott commented May 17, 2022

The MarshalAsAttribute doesn't let us discern between 0 and unset. The C# compiler can tell and sets metadata based on the syntax. We have to lug around NativeArrayInfo in order to track a 0 vs. an unset value though till we're ready to emit syntax.

Fixes #372

The `MarshalAsAttribute` doesn't let us discern between 0 and unset. The C# compiler can tell and sets metadata based on the syntax. We have to lug around `NativeArrayInfo` in order to track a 0 vs. an unset value though till we're ready to emit syntax.

Fixes #372
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Marshalled arrays should include SizeParamIndex and direction

2 participants