<PackageReference Include="NUnit" Version="4.6.1" />

NUnit.Framework.Internal.Reflect

public static class Reflect
namespace NUnit.Framework.Internal { } namespace NUnit.Framework.Internal { public static class Reflect { public static bool HasMethodWithAttribute(Type fixtureType, Type attributeType); public static object Construct(Type type); public static object Construct(Type type, object[] arguments); public static object InvokeMethod(MethodInfo method, object fixture); public static object InvokeMethod(MethodInfo method, object fixture, params object[] args); public static ConstraintResult InvokeApplyTo(IConstraint constraint, Type actualType, object actual); public static ConstraintResult InvokeApplyToEnumerable(IEnumerableConstraint constraint, object actual, Type itemType); public static PropertyInfo GetUltimateShadowingProperty(Type type, string name, BindingFlags bindingFlags); public static MethodInfo GetDefaultIndexer(Type type, Type[] indexerTypes); public static MemberInfo[] GetMemberIncludingFromBase(this Type type, string name, BindingFlags flags); } }