9 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 (7)
System\ComponentModel\Design\CollectionEditor.cs (1)
116
if (TypeDescriptor.
CreateInstance
(host, itemType, argTypes: null, args: null) is { } obj)
System\ComponentModel\Design\DesignSurface.cs (2)
280
instance = TypeDescriptor.
CreateInstance
(this, type, [], []);
291
instance = TypeDescriptor.
CreateInstance
(this, type, [typeof(IContainer)], [ComponentContainer]);
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)
662
DataGridViewColumn? dataGridViewColumn = TypeDescriptor.
CreateInstance
(host, columnType, null, null) as DataGridViewColumn;