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

NUnit.Framework.Internal.ParameterWrapper

The ParameterWrapper class wraps a ParameterInfo so that it may be used in a platform-independent manner.
namespace NUnit.Framework.Internal { public class ParameterWrapper : IParameterInfo, IReflectionInfo { public bool IsOptional { get; } public IMethodInfo Method { get; } public ParameterInfo ParameterInfo { get; } public Type ParameterType { get; } public ParameterWrapper(IMethodInfo method, ParameterInfo parameterInfo); public T[] GetCustomAttributes<T>(bool inherit) where T : class; public bool IsDefined<T>(bool inherit) where T : class; } }