public void ThrowIfDisposedTest()
        {
            using var d = new DObject();
            d.Foo();

            d.Dispose();

            d.Foo();
        }