System\Text\RegularExpressions\Symbolic\CharSetSolver.cs (11)
157public BDD Or(BDD set1, BDD set2) => ApplyBinaryOp(BooleanOperation.Or, set1, set2);
176public BDD And(BDD a, BDD b) => ApplyBinaryOp(BooleanOperation.And, a, b);
208(int, BDD set, BDD?) key = ((int)BooleanOperation.Not, set, null);
221private BDD ApplyBinaryOp(BooleanOperation op, BDD set1, BDD set2)
223Debug.Assert(op is BooleanOperation.Or or BooleanOperation.And or BooleanOperation.Xor);
228case BooleanOperation.Or:
235case BooleanOperation.And:
242case BooleanOperation.Xor:
295public bool IsFull(BDD set) => ApplyBinaryOp(BooleanOperation.Xor, set, Full) == Empty;