29 references to
System.ComponentModel.TypeConverter (1)
System\ComponentModel\ReferenceConverter.cs (1)
67object? obj = cont.Components[text];
System.Windows.Forms.Design (28)
System\ComponentModel\Design\DesignerHost.cs (1)
1142IComponent? component = Components[name];
System\ComponentModel\Design\DesignerHost.Site.cs (1)
235IComponent? namedComponent = _container.Components[value];
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (1)
238curComp = container.Components[compName];
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.cs (1)
249object? instance = container.Components[compName];
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.PassThroughSerializationManager.cs (1)
70Manager.PreserveNames && Manager.Container?.Components[name] is not null && _resolved.Add(name))
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (3)
1064if (container.Components[finalName] is not null) 1161if (Modified && LoaderHost.Container.Components[name] is not null) 1254if (!dup && Modified && LoaderHost.Container.Components[name] is not null)
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (4)
237instance = Container.Components[name]; 267if (Container.Components[name] is not null) 367if (Container.Components[name] is not null) 807instance = Container.Components[name];
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (1)
262IComponent? comp = container.Components[name];
System\ComponentModel\Design\UndoEngine.UndoUnit.AddRemoveUndoEvent.cs (1)
86IComponent? component = host.Container.Components[_componentName];
System\ComponentModel\Design\UndoEngine.UndoUnit.ChangeUndoEvent.cs (1)
119component = host.Container.Components[_componentName];
System\ComponentModel\Design\UndoEngine.UndoUnit.cs (1)
475IComponent? comp = container.Components[name];
System\ComponentModel\Design\UndoEngine.UndoUnit.RenameUndoEvent.cs (1)
29IComponent? comp = engine._host.Container.Components[_after];
System\Windows\Forms\Design\ComponentTray.cs (1)
520if (host.Container.Components[name] is not null)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
876if (container is not null && container.Components[name] is not null)
System\Windows\Forms\Design\DesignerUtils.cs (1)
633object? existingComponent = host.Container.Components[name];
System\Windows\Forms\Design\ParentControlDesigner.cs (2)
622if (container.Components[name] is not null) 2332if (name is not null && container.Components[name] is not null)
System\Windows\Forms\Design\StandardMenuStripVerb.cs (3)
115while (_host.Container.Components[name] is not null) 289while (_host.Container.Components[name] is not null) 494object existingComponent = _host.Container.Components[baseName];
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
1739object existingComponent = container.Components[baseName]; 1758for (int indexer = 1; !nameCreate.IsValidName(newName) || container.Components[newName] is not null; indexer++)
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
811newItem = (ToolStripItem)host.Container.Components[name];