Another note: in the Windows Store APIs they've moved much of the Reflection APIs from Type to a new class called TypeInfo.

I added in these shims so that you didn't need to hack up the code with ifdef's.