Base:
method
CreateInstance
System.ComponentModel.TypeConverter.CreateInstance(System.ComponentModel.ITypeDescriptorContext, System.Collections.IDictionary)
5 references to CreateInstance
System.Windows.Forms.Tests (5)
System\Windows\Forms\PaddingConverterTests.cs (5)
145
Padding padding = Assert.IsType<Padding>(converter.
CreateInstance
(
162
Padding padding = Assert.IsType<Padding>(converter.
CreateInstance
(
178
Assert.Throws<ArgumentNullException>("propertyValues", () => converter.
CreateInstance
(new Mock<ITypeDescriptorContext>(MockBehavior.Strict).Object, null));
362
Assert.Throws<ArgumentException>("propertyValues", () => converter.
CreateInstance
(mockContext.Object, propertyValues));
387
Padding padding = Assert.IsType<Padding>(converter.
CreateInstance
(mockContext.Object, propertyValues));