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