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 whenSIMPLE_JSON_TYPEINFO == false
we can use the same code for both values of the conditional compilation constantSIMPLE_JSON_TYPEINFO
.Normally this would be done with an extension method but we can't use those in this project. :)