1 write to MemberName
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionMethodItem.cs (1)
23
MemberName
= memberName;
21 references to MemberName
System.Windows.Forms.Design (4)
System\ComponentModel\Design\DesignerActionMethodItem.cs (3)
111
if (
MemberName
is null)
116
_methodInfo ??= _actionList?.GetType()?.GetMethod(
MemberName
, BindingFlags.Default | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic);
120
throw new InvalidOperationException(string.Format(SR.DesignerActionPanel_CouldNotFindMethod,
MemberName
));
System\ComponentModel\Design\DesignerActionPanel.MethodLine.cs (1)
36
public override string FocusId => $"METHOD:{_actionList!.GetType().FullName}.{_methodItem!.
MemberName
}";
System.Windows.Forms.Design.Tests (17)
System\ComponentModel\Design\DesignerActionListTests.cs (4)
75
Assert.Equal("AnnotatedMethod", item1.
MemberName
);
87
Assert.Equal("EmptyAnnotatedMethod", item3.
MemberName
);
99
Assert.Equal("NullAnnotatedMethod", item5.
MemberName
);
111
Assert.Equal("PublicMethod", item7.
MemberName
);
System\ComponentModel\Design\DesignerActionMethodItemTests.cs (6)
26
Assert.Equal(memberName, item.
MemberName
);
52
Assert.Equal(memberName, item.
MemberName
);
78
Assert.Equal(memberName, item.
MemberName
);
104
Assert.Equal(memberName, item.
MemberName
);
130
Assert.Equal(memberName, item.
MemberName
);
156
Assert.Equal(memberName, item.
MemberName
);
System\ComponentModel\Design\DesignerActionServiceTests.cs (1)
511
Assert.Null(actionItem.
MemberName
);
System\Windows\Forms\Design\NotifyIconDesignerActionListTests.cs (1)
47
methodItem.
MemberName
.Should().Be(nameof(NotifyIconActionList.ChooseIcon));
System\Windows\Forms\Design\PictureBoxActionListTests.cs (1)
50
methodItem.
MemberName
.Should().Be("ChooseImage");
System\Windows\Forms\Design\ToolStripActionListTests.cs (4)
109
methodItems.Should().ContainSingle(action => action.
MemberName
== "InvokeEmbedVerb");
110
methodItems.Should().ContainSingle(action => action.
MemberName
== "InvokeInsertStandardItemsVerb");
124
methodItems.Should().NotContain(action => action.
MemberName
== "InvokeEmbedVerb");
132
methodItems.Should().ContainSingle(action => action.
MemberName
== "InvokeInsertStandardItemsVerb");