8 references to InvokeMember
System.Windows.Forms (1)
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (1)
561
public object? InvokeMember(string methodName) =>
InvokeMember
(methodName, parameter: null);
System.Windows.Forms.Tests (7)
System\Windows\Forms\HtmlElementTests.cs (7)
2351
Assert.Equal("value", element.
InvokeMember
("getAttribute", "attribute"));
2352
Assert.Equal("value", element.
InvokeMember
("getAttribute", "attribute", 1));
2353
Assert.Equal(Convert.DBNull, element.
InvokeMember
("getAttribute", "ATTRIBUTE", 1));
2354
Assert.Equal(Convert.DBNull, element.
InvokeMember
("getAttribute", "NoSuchAttribute"));
2355
Assert.Null(element.
InvokeMember
("getAttribute", new TimeSpan()));
2372
Assert.Null(element.
InvokeMember
("NoSuchMember", null));
2373
Assert.Null(element.
InvokeMember
("NoSuchMember", Array.Empty<object>()));