Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Never use marshaled types in a union struct #576

Merged
merged 8 commits into from
Jun 4, 2022
Merged

Never use marshaled types in a union struct #576

merged 8 commits into from
Jun 4, 2022

Conversation

AArnott
Copy link
Member

@AArnott AArnott commented Jun 4, 2022

  • Force unmarshaled fields in union structs. Fixes Could not load type "that is incorrectly aligned or overlapped by a non-object field" #292
  • Propagate generation context
  • Recognize that certain delegates are never declared as managed
  • Fix type ref to type def conversion in light of multiple platform definitions
  • Avoid marshalling in disallowed contexts
  • Defend against infinite recursion in certian error conditions
  • Small touch-ups
  • Never emit an array when marshaling is not permitted

@AArnott AArnott enabled auto-merge June 4, 2022 00:10
@AArnott AArnott merged commit be5ffb3 into main Jun 4, 2022
@AArnott AArnott deleted the fix292 branch June 4, 2022 00:38
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.

Could not load type "that is incorrectly aligned or overlapped by a non-object field"
1 participant