public static IEnumerable<PropertyInfo> GetProperties(this Type type) { return type.GetRuntimeProperties(); } public static FieldInfo GetField(this Type type, string name)