public void TestDispose2() { UnixSignal a = new UnixSignal(Signum.SIGINT); UnixSignal b = new UnixSignal(Signum.SIGINT); Stdlib.raise(Signum.SIGINT); Assert.AreEqual(a.Count, 1); Assert.AreEqual(b.Count, 1); b.Close(); a.Reset(); Stdlib.raise(Signum.SIGINT); Assert.AreEqual(a.Count, 1); a.Close(); }