16 references to Subsumes
System.Text.RegularExpressions (16)
System\Text\RegularExpressions\Symbolic\SymbolicRegexBuilder.cs (1)
123/// Cache for <see cref="SymbolicRegexNode{TSet}.Subsumes(SymbolicRegexBuilder{TSet}, SymbolicRegexNode{TSet}, int)"/> keyed by:
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (15)
501if (!hintRightLikelySubsumes && left.Subsumes(builder, head)) 506if (head.Subsumes(builder, left) && TryFoldAlternation(builder, left, head, out SymbolicRegexNode<TSet>? result)) 510if (hintRightLikelySubsumes && left.Subsumes(builder, head)) 632return StackHelper.CallOnEmptyStack(Subsumes, builder, other, depth); 654return left._left.Subsumes(builder, right, depth); 662return left.Subsumes(builder, right._left, depth); 675return tail.Subsumes(builder, right._right, depth); 689return left._right.Subsumes(builder, tail, depth); 699return left._right.Subsumes(builder, right, depth); 775Debug.Assert(right.Subsumes(builder, left)); 792Debug.Assert(right.Subsumes(builder, left._left)); 815Debug.Assert(right._left.Subsumes(builder, left)); 846Debug.Assert(suffix.Subsumes(builder, left)); 854else if (suffix._right.Subsumes(builder, left)) 860else if (left.Subsumes(builder, suffix))