I could use Type.IsValueType to figure this out in a straightforward way in .net 4.5, but when I create universal apps using the portable library, it doesn't have any equivalent method to find if the type is value or not.
Is there any other trick to finding this?
One workaround I found is:
typeof(ValueType).IsAssignableFrom(type)