}
[Fact]
- [ActiveIssue("https://github.com/mono/mono/issues/15029", TestRuntimes.Mono)]
public static void FindMembers()
{
MemberInfo[] members = typeof(MembersClass).GetTypeInfo().FindMembers(MemberTypes.All, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance, (MemberInfo memberInfo, object c) => true, "notused");
}
[Fact]
- [ActiveIssue("https://github.com/mono/mono/issues/15029", TestRuntimes.Mono)]
public void GetMethod()
{
MethodInfo[] methods = typeof(MembersClass).GetTypeInfo().GetMethods();
}
[Theory]
- [ActiveIssue("https://github.com/mono/mono/issues/15029", TestRuntimes.Mono)]
[InlineData(BindingFlags.Default, 9)]
[InlineData(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance, 16)]
public void GetMethods(BindingFlags bindingAttributes, int length)
}
[Theory]
- [ActiveIssue("https://github.com/mono/mono/issues/15029", TestRuntimes.Mono)]
[InlineData(BindingFlags.Default, 15)]
[InlineData(BindingFlags.NonPublic | BindingFlags.Instance, 13)]
[InlineData(BindingFlags.Public | BindingFlags.Instance, 15)]