Skip to content

Fix constructor detection on Unity. #118

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

Merged
merged 1 commit into from
Dec 8, 2015

Conversation

richardjrossiii
Copy link
Contributor

GetConstructors() does not find private constructors by default, causing us to be unable to find the constructor of ParseObject when running in the context of Unity.

Fixes #111.

`GetConstructors()` does not find private constructors by default, causing us to be unable to find the constructor of `ParseObject` when running in the context of Unity.

Fixes #111.
@hallucinogen
Copy link
Contributor

Good catch. I wonder why it only fail on Unity :/

@hallucinogen hallucinogen added this to the 1.6.3 milestone Dec 8, 2015
@richardjrossiii
Copy link
Contributor Author

@hallucinogen This code branch is actually only executed for unity (which does not have TypeInfo, which is what we use for the PCL version of Parse, as it doesn't have GetConstructors() at all).

richardjrossiii added a commit that referenced this pull request Dec 8, 2015
…tors.fix

Fix constructor detection on Unity.
@richardjrossiii richardjrossiii merged commit df7d27a into master Dec 8, 2015
@richardjrossiii richardjrossiii deleted the richardross.unity.constructors.fix branch December 8, 2015 19:56
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.

3 participants