System\Drawing\Design\ToolboxItemTests.cs (5)
1298Assert.Equal(expected, item.GetType(host, assemblyName, typeName, reference));
1309Assert.Throws<ArgumentNullException>("typeName", () => item.GetType(mockDesignerHost.Object, null, null, false));
1310Assert.Throws<ArgumentNullException>("typeName", () => item.GetType(null, null, null, false));
1321Assert.Throws<ArgumentException>(() => item.GetType(mockDesignerHost.Object, new AssemblyName(), "typeName", false));
1322Assert.Throws<ArgumentException>(() => item.GetType(null, new AssemblyName(), "typeName", false));