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 System.MissingMethodException on constructing a row with a string[] #31

Merged
merged 1 commit into from
Jan 18, 2025

Conversation

KalopsiaTwilight
Copy link
Contributor

This fixes an exception that is thrown when trying to call the .ConstructRow method for a .db2 file that has an array of strings in its definition such as for the BattlePetEffectProperties.db2 in 9.2.7.45745.

Current code in the added testcase fails with the following exception:
System.MissingMethodException: 'Cannot dynamically create an instance of type 'System.String'. Reason: Uninitialized Strings cannot be created.'

After changes the above exception no longer occurs.

@Marlamin Marlamin merged commit 2a02a8b into wowdev:master Jan 18, 2025
1 check passed
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