public static EventInfo GetRuntimeEvent (this Type type, string name) { if (type == null) throw new ArgumentNullException ("type"); return type.GetEvent (name); }