1 write to MemberName
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionMethodItem.cs (1)
19MemberName = memberName;
19 references to MemberName
System.Windows.Forms.Design (3)
System\ComponentModel\Design\DesignerActionMethodItem.cs (2)
51_methodInfo ??= _actionList?.GetType()?.GetMethod(MemberName, BindingFlags.Default | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); 55throw new InvalidOperationException(string.Format(SR.DesignerActionPanel_CouldNotFindMethod, MemberName));
System\ComponentModel\Design\DesignerActionPanel.MethodLine.cs (1)
36public override string FocusId => $"METHOD:{_actionList!.GetType().FullName}.{_methodItem!.MemberName}";
System.Windows.Forms.Design.Tests (16)
System\ComponentModel\Design\DesignerActionListTests.cs (4)
73Assert.Equal("AnnotatedMethod", item1.MemberName); 85Assert.Equal("EmptyAnnotatedMethod", item3.MemberName); 97Assert.Equal("NullAnnotatedMethod", item5.MemberName); 109Assert.Equal("PublicMethod", item7.MemberName);
System\ComponentModel\Design\DesignerActionMethodItemTests.cs (6)
24Assert.Equal(memberName, item.MemberName); 50Assert.Equal(memberName, item.MemberName); 76Assert.Equal(memberName, item.MemberName); 102Assert.Equal(memberName, item.MemberName); 128Assert.Equal(memberName, item.MemberName); 154Assert.Equal(memberName, item.MemberName);
System\ComponentModel\Design\DesignerActionServiceTests.cs (1)
509Assert.Null(actionItem.MemberName);
System\Windows\Forms\Design\PictureBoxActionListTests.cs (1)
52methodItem.MemberName.Should().Be("ChooseImage");
System\Windows\Forms\Design\ToolStripActionListTests.cs (4)
111methodItems.Should().ContainSingle(action => action.MemberName == "InvokeEmbedVerb"); 112methodItems.Should().ContainSingle(action => action.MemberName == "InvokeInsertStandardItemsVerb"); 126methodItems.Should().NotContain(action => action.MemberName == "InvokeEmbedVerb"); 134methodItems.Should().ContainSingle(action => action.MemberName == "InvokeInsertStandardItemsVerb");