Gets the underlying type code of the specified Type.
type The type whose underlying type code to get.
The code of the underlying type, or TypeCode.Empty if type is null.
When you inherit from Type, you can change the behavior of this method by overriding the Type.GetTypeCodeImpl method.