1 implementation of CreateUniqueMethodName
System.Windows.Forms.Design (1)
System\ComponentModel\Design\EventBindingService.cs (1)
108string IEventBindingService.CreateUniqueMethodName(IComponent component, EventDescriptor e)
10 references to CreateUniqueMethodName
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
854newHandler ??= _eventBindings?.CreateUniqueMethodName(component, eventDescriptor);
System.Windows.Forms.Design (2)
System\ComponentModel\Design\ComponentDesigner.cs (1)
310handler = ebs.CreateUniqueMethodName(comp, defaultEvent);
System\Windows\Forms\Design\ComponentTray.cs (1)
2492handler = eps.CreateUniqueMethodName(component, defaultEvent);
System.Windows.Forms.Design.Tests (7)
System\ComponentModel\Design\ComponentDesignerTests.cs (7)
782.Setup(s => s.CreateUniqueMethodName(component3, It.IsAny<EventDescriptor>())) 845mockEventBindingService.Verify(s => s.CreateUniqueMethodName(component3, It.IsAny<EventDescriptor>()), Times.Once()); 866mockEventBindingService.Verify(s => s.CreateUniqueMethodName(component3, It.IsAny<EventDescriptor>()), Times.Exactly(2)); 898.Setup(s => s.CreateUniqueMethodName(component, It.IsAny<EventDescriptor>())) 1006.Setup(s => s.CreateUniqueMethodName(component3, It.IsAny<EventDescriptor>())) 1073mockEventBindingService.Verify(s => s.CreateUniqueMethodName(component3, It.IsAny<EventDescriptor>()), Times.Once()); 1097mockEventBindingService.Verify(s => s.CreateUniqueMethodName(component3, It.IsAny<EventDescriptor>()), Times.Exactly(2));