14 overrides of CreateInstance
System.ComponentModel.TypeConverter (5)
System\ComponentModel\NullableConverter.cs (1)
132public override object? CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues)
System\Drawing\PointConverter.cs (1)
95public override object CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues)
System\Drawing\RectangleConverter.cs (1)
98public override object CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues)
System\Drawing\SizeConverter.cs (1)
93public override object CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues)
System\Drawing\SizeFConverter.cs (1)
90public override object CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues)
System.Drawing.Common (2)
Special\NotSupported.cs (2)
373public override object CreateInstance(System.ComponentModel.ITypeDescriptorContext? context, System.Collections.IDictionary propertyValues) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2739public override object CreateInstance(System.ComponentModel.ITypeDescriptorContext? context, System.Collections.IDictionary propertyValues) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Windows.Forms (5)
System\Windows\Forms\ComponentModel\COM2Interop\COM2ExtendedTypeConverter.cs (1)
73public override object? CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues)
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (1)
119public override object CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues)
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (1)
141public override object CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues)
System\Windows\Forms\DataBinding\ListBindingConverter.cs (1)
82public override object CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (1)
76public override object? CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues)
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifierConverter.cs (1)
47public override object? CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues)
System.Windows.Forms.Primitives (1)
System\Windows\Forms\PaddingConverter.cs (1)
69public override object CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues)
12 references to CreateInstance
System.ComponentModel.TypeConverter (3)
System\ComponentModel\NullableConverter.cs (2)
136object? instance = UnderlyingTypeConverter.CreateInstance(context, propertyValues); 140return base.CreateInstance(context, propertyValues);
System\ComponentModel\TypeConverter.cs (1)
181return CreateInstance(null, propertyValues);
System.Windows.Forms (3)
System\Windows\Forms\ComponentModel\COM2Interop\COM2ExtendedTypeConverter.cs (2)
75? _innerConverter.CreateInstance(context, propertyValues) 76: base.CreateInstance(context, propertyValues);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
72newObject = parentConverter.CreateInstance(parentEntry, values);
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifierConverter.cs (1)
48=> GetConverter(context).CreateInstance(context, propertyValues);
System.Windows.Forms.Tests (5)
System\Windows\Forms\TableLayoutPanelCellPositionTests.cs (5)
208TableLayoutPanelCellPosition position = Assert.IsType<TableLayoutPanelCellPosition>(converter.CreateInstance(null, new Dictionary<string, object> 220Assert.Throws<ArgumentNullException>("propertyValues", () => converter.CreateInstance(null, null)); 279Assert.Throws<ArgumentException>("propertyValues", () => converter.CreateInstance(null, propertyValues)); 286Assert.Throws<ArgumentOutOfRangeException>("column", () => converter.CreateInstance(null, new Dictionary<string, object> 297Assert.Throws<ArgumentOutOfRangeException>("row", () => converter.CreateInstance(null, new Dictionary<string, object>