System.Collections.Tests.SortedListTests.Ctor_IDictionary_NullDictionary_ThrowsArgumentNullException C# (CSharp) Méthode

Ctor_IDictionary_NullDictionary_ThrowsArgumentNullException() private méthode

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