System.Collections.Tests.IList_NonGeneric_Tests.IList_NonGeneric_ItemGet_IndexGreaterThanListCount_ThrowsException C# (CSharp) Method

IList_NonGeneric_ItemGet_IndexGreaterThanListCount_ThrowsException() private method

private IList_NonGeneric_ItemGet_IndexGreaterThanListCount_ThrowsException ( int count ) : void
count int
return void
        public void IList_NonGeneric_ItemGet_IndexGreaterThanListCount_ThrowsException(int count)
        {
            IList list = NonGenericIListFactory(count);
            Assert.Throws(IList_NonGeneric_Item_InvalidIndex_ThrowType, () => list[count]);
            Assert.Throws(IList_NonGeneric_Item_InvalidIndex_ThrowType, () => list[count + 1]);
        }
IList_NonGeneric_Tests