OrOperator
Operator that requires at least one of its arguments to succeed
using System.Runtime.CompilerServices;
namespace NUnit.Framework.Constraints
{
public class OrOperator : BinaryOperator
{
public OrOperator()
{
left_precedence = (right_precedence = 3);
}
[System.Runtime.CompilerServices.NullableContext(1)]
public override IConstraint ApplyOperator(IConstraint left, IConstraint right)
{
return new OrConstraint(left, right);
}
}
}