public static PropertyInfo GetRuntimeProperty (this Type type, string name) { if (type == null) throw new ArgumentNullException ("type"); return type.GetProperty (name); } }