Skip to content

Fix UWP GateKeeper errors#2415

Merged
mattjohnsonpint merged 3 commits intomainfrom
fix/uwp-struct-default-constructor
Jun 8, 2023
Merged

Fix UWP GateKeeper errors#2415
mattjohnsonpint merged 3 commits intomainfrom
fix/uwp-struct-default-constructor

Conversation

@mattjohnsonpint
Copy link
Copy Markdown
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
@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.

2 participants