public void ShallowCopyShouldReferenceSameArray() { var array = new ArrayValue(new IConcreteValue[] { new Integer32Value(0), new Integer32Value(1), new Integer32Value(2), }); var copy = (ArrayValue)array.Copy(); Assert.NotSame(array, copy); Assert.Equal((IEnumerable <IConcreteValue>)array, copy); copy[0] = new Integer32Value(1234); Assert.Equal(new Integer32Value(1234), array[0]); }