1 write to MemberName
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionMethodItem.cs (1)
19
MemberName
= 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);
55
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 (16)
System\ComponentModel\Design\DesignerActionListTests.cs (4)
73
Assert.Equal("AnnotatedMethod", item1.
MemberName
);
85
Assert.Equal("EmptyAnnotatedMethod", item3.
MemberName
);
97
Assert.Equal("NullAnnotatedMethod", item5.
MemberName
);
109
Assert.Equal("PublicMethod", item7.
MemberName
);
System\ComponentModel\Design\DesignerActionMethodItemTests.cs (6)
24
Assert.Equal(memberName, item.
MemberName
);
50
Assert.Equal(memberName, item.
MemberName
);
76
Assert.Equal(memberName, item.
MemberName
);
102
Assert.Equal(memberName, item.
MemberName
);
128
Assert.Equal(memberName, item.
MemberName
);
154
Assert.Equal(memberName, item.
MemberName
);
System\ComponentModel\Design\DesignerActionServiceTests.cs (1)
509
Assert.Null(actionItem.
MemberName
);
System\Windows\Forms\Design\PictureBoxActionListTests.cs (1)
52
methodItem.
MemberName
.Should().Be("ChooseImage");
System\Windows\Forms\Design\ToolStripActionListTests.cs (4)
111
methodItems.Should().ContainSingle(action => action.
MemberName
== "InvokeEmbedVerb");
112
methodItems.Should().ContainSingle(action => action.
MemberName
== "InvokeInsertStandardItemsVerb");
126
methodItems.Should().NotContain(action => action.
MemberName
== "InvokeEmbedVerb");
134
methodItems.Should().ContainSingle(action => action.
MemberName
== "InvokeInsertStandardItemsVerb");