public void TestDispose()
        {
            ac.Add(a);
            ac.Dispose();

            Assert.Throws <ObjectDisposedException>(() => ac.Add(a));
            Assert.Throws <ObjectDisposedException>(() => ac.Clear());

            // No throw on second dispose
            ac.Dispose();
        }