InsteadOperator
Operator that replaces the left constraint with the right constraint
using System.Runtime.CompilerServices;
namespace NUnit.Framework.Constraints
{
public class InsteadOperator : BinaryOperator
{
public InsteadOperator()
{
left_precedence = 1;
right_precedence = 99;
}
[System.Runtime.CompilerServices.NullableContext(1)]
public override IConstraint ApplyOperator(IConstraint left, IConstraint right)
{
return right;
}
}
}