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

Consolidate compilation conditionals around types #35

Merged
merged 1 commit into from
Sep 8, 2013
Merged

Consolidate compilation conditionals around types #35

merged 1 commit into from
Sep 8, 2013

Conversation

haacked
Copy link
Contributor

@haacked haacked commented Sep 7, 2013

By writing a static method GetTypeInfo that just returns the passed in type when SIMPLE_JSON_TYPEINFO == false we can use the same code for both values of the conditional compilation constant SIMPLE_JSON_TYPEINFO.

Normally this would be done with an extension method but we can't use those in this project. :)

By writing a static method `GetTypeInfo` that just returns the passed in
type when `SIMPLE_JSON_TYPEINFO == false` we can use the same code for
both values of the conditional compilation constant
`SIMPLE_JSON_TYPEINFO`.
prabirshrestha added a commit that referenced this pull request Sep 8, 2013
Consolidate compilation conditionals around types
@prabirshrestha prabirshrestha merged commit fd63918 into facebook-csharp-sdk:master Sep 8, 2013
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