Google.Protobuf.Compatibility.TypeExtensions
Provides extension methods on Type that just proxy to TypeInfo.
These are used to support the new type system from .NET 4.5, without
having calls to GetTypeInfo all over the place. While the methods here are meant to be
broadly compatible with the desktop framework, there are some subtle differences in behaviour - but
they're not expected to affect our use cases. While the class is internal, that should be fine: we can
evaluate each new use appropriately.