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

WithOperator

public class WithOperator : PrefixOperator
Represents a constraint that simply wraps the constraint provided as an argument, without any further functionality, but which modifies the order of evaluation because of its precedence.
using System.Runtime.CompilerServices; namespace NUnit.Framework.Constraints { public class WithOperator : PrefixOperator { public WithOperator() { left_precedence = 1; right_precedence = 4; } [NullableContext(1)] public override IConstraint ApplyPrefix(IConstraint constraint) { return constraint; } } }