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