public void UnamangedMemory_BlockGrowWhenDisposed() { var memory = new UnmanagedMemory(0, 1); memory.Dispose(); Assert.ThrowsException <ObjectDisposedException>(() => memory.Grow(1)); }
public void UnamangedMemory_BlockGrowWhenDisposed() { var memory = new UnmanagedMemory(0, 1); memory.Dispose(); Assert.ThrowsException <ObjectDisposedException>(() => memory.Grow(1)); }