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

Fix UWP GateKeeper errors #2415

Merged
merged 3 commits into from
Jun 8, 2023
Merged

Conversation

mattjohnsonpint
Copy link
Contributor

Reported from UWP customer through Sentry Support.

Using .NET Native and "Enable static analysis for .NET Native" enabled, UWP's GateKeeper errors with:

Sentry : Gatekeeper error GK0018 : GK0018 Value type 'Sentry.Internal.GrowableArray' has an explicit default constructor which is unsupported. Use an initialization function instead.

Sentry : Gatekeeper error GK0018 : GK0018 Value type 'Sentry.Internal.HashableGrowableArray' has an explicit default constructor which is unsupported. Use an initialization function instead.

I was able to reproduce this, and resolve with the changes in this PR.

@mattjohnsonpint mattjohnsonpint merged commit af9cc59 into main Jun 8, 2023
15 checks passed
@mattjohnsonpint mattjohnsonpint deleted the fix/uwp-struct-default-constructor branch June 8, 2023 00:29
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.

None yet

2 participants