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)
145Padding padding = Assert.IsType<Padding>(converter.CreateInstance( 162Padding padding = Assert.IsType<Padding>(converter.CreateInstance( 178Assert.Throws<ArgumentNullException>("propertyValues", () => converter.CreateInstance(new Mock<ITypeDescriptorContext>(MockBehavior.Strict).Object, null)); 362Assert.Throws<ArgumentException>("propertyValues", () => converter.CreateInstance(mockContext.Object, propertyValues)); 387Padding padding = Assert.IsType<Padding>(converter.CreateInstance(mockContext.Object, propertyValues));