public static void PrepareDelegate (Delegate d) { if (d == null) throw new ArgumentNullException ("d"); }