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

Made all methods in ReflectionHelpers non-extensions. #123

Merged
merged 1 commit into from Dec 10, 2015

Conversation

richardjrossiii
Copy link
Contributor

Reason: as we start adding support for more platforms which may or may not have this natively, our extension methods are not guaranteed to be invoked if they have the same name of a builtin method.

My requiring explicit invoking, it allows us to enforce custom logic here.

Fixes #111 (for real this time).

Reason: as we start adding support for more platforms which may or may not have this natively, our extension methods are not guaranteed to be invoked if they have the same name of a builtin method.

My requiring explicit invoking, it allows us to enforce custom logic here.

Fixes #111 (for real this time).
@@ -7,7 +7,7 @@

namespace Parse.Internal {
static class ReflectionHelpers {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. So this is because of GetConstructors shouldn't be used as extension, right?

If it is, can you add some description here on why is this not an extension for future reference?

@hallucinogen
Copy link
Contributor

Looking good. Should've known that magic don't last forever :(

@richardjrossiii
Copy link
Contributor Author

Good night, sweet extension prince :(

richardjrossiii added a commit that referenced this pull request Dec 10, 2015
…ds.disable

Made all methods in ReflectionHelpers non-extensions.
@richardjrossiii richardjrossiii merged commit 10f4862 into master Dec 10, 2015
@richardjrossiii richardjrossiii deleted the richardross.extensionmethods.disable branch December 10, 2015 20:26
@richardjrossiii richardjrossiii added this to the 1.7.0 milestone Jan 8, 2016
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

3 participants