2 implementations of IsValidName
DesignSurfaceExt (1)
NameCreationServiceImp.cs (1)
67public bool IsValidName(string name)
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (1)
1107bool INameCreationService.IsValidName(string name)
8 references to IsValidName
System.Windows.Forms.Design (8)
System\ComponentModel\Design\InheritanceService.cs (1)
199if (ncs is null || ncs.IsValidName(name))
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
885if (nameCreationService is not null && !nameCreationService.IsValidName(name))
System\Windows\Forms\Design\DesignerUtils.cs (2)
637return nameCreationService.IsValidName(name) ? name : null; 643for (int i = 1; !nameCreationService.IsValidName(nameN); ++i)
System\Windows\Forms\Design\StandardMenuStripVerb.cs (2)
497if (!nameCreationService.IsValidName(baseName)) 512for (int indexer = 1; !nameCreationService.IsValidName(newName); indexer++)
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
1743if (!nameCreate.IsValidName(baseName)) 1758for (int indexer = 1; !nameCreate.IsValidName(newName) || container.Components[newName] is not null; indexer++)