System.Collections.Tests.SortedListTests.GetKeyList_IListProperties C# (CSharp) Method

GetKeyList_IListProperties() private method

private GetKeyList_IListProperties ( ) : void
return void
        public static void GetKeyList_IListProperties()
        {
            SortedList sortList1 = Helpers.CreateIntSortedList(100);
            Helpers.PerformActionOnAllSortedListWrappers(sortList1, sortList2 =>
            {
                IList keys = sortList2.GetKeyList();

                Assert.True(keys.IsReadOnly);
                Assert.True(keys.IsFixedSize);
                Assert.False(keys.IsSynchronized);
                Assert.Equal(sortList2.SyncRoot, keys.SyncRoot);
            });
        }
SortedListTests