private static bool ArgsEqual(object[] a, object[] b) { if ((a == null) != (b == null)) return false; return a == null || a.SequenceEqual(b); }