1 write to MemberName
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionMethodItem.cs (1)
19
MemberName
= memberName;
15 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 (12)
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");