public void TestDisposed() { BigMemoryStream stream = new BigMemoryStream(5); stream.Close(); Assert.Throws <ObjectDisposedException>(() => stream.Position = 5); }
public void TestDisposed() { BigMemoryStream stream = new BigMemoryStream(5); stream.Close(); Assert.Throws <ObjectDisposedException>(() => stream.Position = 5); }