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

NUnit.Framework.Internal.Extensions.ArgumentsExtensions

static class ArgumentsExtensions
public static bool LastArgumentIsCancellationToken(this object[] arguments)

Checks if the last element of an argument list is a CancellationToken

public static bool LastParameterAcceptsCancellationToken(this IParameterInfo[] parameters)

Checks if the last type of a parameter list has a type CancellationToken

public static bool LastParameterAcceptsCancellationToken(this ParameterInfo[] parameters)

Checks if the last type of a parameter list has a type CancellationToken

public static bool LastParameterIsParamsArray(this IParameterInfo[] parameters)

Checks if the last parameter in a parameter list is a 'params' array.

public static bool ParameterIsParamsArray(this IParameterInfo lastParameter)

Checks if the parameter is a 'params' array.

public static bool ParameterIsParamsArray(this ParameterInfo lastParameter)

Checks if the parameter is a 'params' array.