public static IEnumerable<FieldInfo> GetRuntimeFields (this Type type) { if (type == null) throw new ArgumentNullException ("type"); return type.GetFields (AllMembersBindingFlags); }