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