public static void PulseAll_Invalid() { var obj = new object(); Assert.Throws<ArgumentNullException>("obj", () => Monitor.PulseAll(null)); }