public static IEnumerable<FieldInfo> GetFields(this Type type) { return type.GetRuntimeFields(); } #endif