public static void DynamicInvoke_MissingTypeForNonDefaultParameter_ThrowsArgumentException() { Delegate d = new IntIntDelegate(IntIntMethod); Assert.Throws<ArgumentException>("parameters", () => d.DynamicInvoke(7, Type.Missing)); }