14 references to GetComponentName
System.ComponentModel.TypeConverter (3)
System\ComponentModel\Design\Serialization\MemberRelationshipService.cs (2)
123
string? sourceName = TypeDescriptor.
GetComponentName
(source.Owner!) ?? source.Owner!.ToString();
124
string? relName = TypeDescriptor.
GetComponentName
(relationship.Owner!) ?? relationship.Owner!.ToString();
System\ComponentModel\ReflectTypeDescriptionProvider.cs (1)
854
return TypeDescriptor.
GetComponentName
(component);
System.Windows.Forms.Design (11)
System\ComponentModel\Design\ReferenceService.cs (2)
321
Debug.Assert(TypeDescriptor.
GetComponentName
(sitedComponent) is not null, $"Sited component has no name: {sitedComponent}");
344
string? siteName = TypeDescriptor.
GetComponentName
(SitedComponent);
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (1)
464
string? name = TypeDescriptor.
GetComponentName
(c);
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
365
string name = TypeDescriptor.
GetComponentName
(_dragComponents[0].dragComponent);
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
239
string name = TypeDescriptor.
GetComponentName
(_resizeComponents[0].resizeControl);
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (1)
197
string? name = TypeDescriptor.
GetComponentName
(control);
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
1246
string? ICustomTypeDescriptor.GetComponentName() => TypeDescriptor.
GetComponentName
(DataGridViewColumn);
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
340
string name = TypeDescriptor.
GetComponentName
(_dragControls[0]);
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1839
string name = TypeDescriptor.
GetComponentName
(dragComponents[0]);
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
663
string name = TypeDescriptor.
GetComponentName
(dragComponents[0]);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
2699
string name = TypeDescriptor.
GetComponentName
(dragComponents[0]);