7 references to CreateInstance
System.ComponentModel.TypeConverter (2)
System\ComponentModel\PropertyDescriptor.cs (2)
232
return TypeDescriptor.
CreateInstance
(null, type, typeArgs, new object[] { PropertyType });
235
return TypeDescriptor.
CreateInstance
(null, type, null, null);
System.Windows.Forms.Design (5)
System\ComponentModel\Design\CollectionEditor.cs (1)
116
if (TypeDescriptor.
CreateInstance
(host, itemType, argTypes: null, args: null) is { } obj)
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (2)
287
instance = TypeDescriptor.
CreateInstance
(_provider, type, argTypes: null, argArray);
341
instance = TypeDescriptor.
CreateInstance
(_provider, type, argTypes: null, tempArgs);
System\Drawing\Design\ToolboxItem.cs (1)
267
comps.Add((IComponent)TypeDescriptor.
CreateInstance
(provider: null, createType, argTypes: null, args: null)!);
System\Windows\Forms\Design\DataGridViewDesigner.cs (1)
663
DataGridViewColumn? dataGridViewColumn = TypeDescriptor.
CreateInstance
(host, columnType, null, null) as DataGridViewColumn;