TypeDescriptor replacement for GetCustomAttributes