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