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

Ctor_IDictionary_NullDictionary_ThrowsArgumentNullException() private method

        public static void Ctor_IDictionary_NullDictionary_ThrowsArgumentNullException()
        {
            Assert.Throws<ArgumentNullException>("d", () => new SortedList((IDictionary)null)); // Dictionary is null
        }
SortedListTests