Skip to content

[netcore] Make System.Reflection.Tests.TypeInfoTests.FindMembers Pass #15029

@steveisok

Description

@steveisok

The test currently fails with:

System.Reflection.Tests.TypeInfoTests.FindMembers [FAIL]
      Assert.Equal() Failure
      Expected: 28
      Actual:   30
      Stack Trace:
           at System.Reflection.Tests.TypeInfoTests.FindMembers()
           at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

It appears we have two extra instance methods on Object, which makes this test fail. If that can't change, we may want to modify the tests to detect which VM is running and act accordingly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions