3 implementations of ValidateName
DesignSurfaceExt (1)
NameCreationServiceImp.cs (1)
87public void ValidateName(string name)
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (1)
1176void INameCreationService.ValidateName(string name)
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\DataGridViewAddColumnDialogTests.cs (1)
135public void ValidateName(string name) => throw new NotImplementedException();
9 references to ValidateName
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerHost.cs (1)
412nameCreate?.ValidateName(name);
System\ComponentModel\Design\DesignerHost.Site.cs (1)
250nameService.ValidateName(value);
System.Windows.Forms.Design.Tests (7)
System\ComponentModel\Design\DesignerHostTests.cs (7)
709.Setup(s => s.ValidateName(It.IsAny<string>())) 731mockNameCreationService.Verify(s => s.ValidateName(name), Times.Once()); 738mockNameCreationService.Verify(s => s.ValidateName("name2"), Times.Once()); 1414.Setup(s => s.ValidateName("oldName")) 1417.Setup(s => s.ValidateName(expectedName)) 1438mockNameCreationService.Verify(s => s.ValidateName("oldName"), Times.Once()); 1442mockNameCreationService.Verify(s => s.ValidateName(expectedName), Times.Exactly(expectedCallCount));