Пример #1
0
        public void ClonedInstanceMustStillBeImmutable()
        {
            ISet clone = (ISet)Set.Clone();

            Assert.Throws <NotSupportedException>(() => clone.Add("bad chair, bad chair"));
        }