AndOperator
Operator that requires both its arguments to succeed
using System.Runtime.CompilerServices;
namespace NUnit.Framework.Constraints
{
public class AndOperator : BinaryOperator
{
public AndOperator()
{
left_precedence = (right_precedence = 2);
}
[System.Runtime.CompilerServices.NullableContext(1)]
public override IConstraint ApplyOperator(IConstraint left, IConstraint right)
{
return new AndConstraint(left, right);
}
}
}