Пример #1
0
        public void IndexerSetMethodOutOfRangeException()
        {
            var testList = new ListCollection <int>();

            Assert.Throws <ArgumentOutOfRangeException>(() => testList[-1] = 1);
        }