35 references to Alternate
System.Text.RegularExpressions (35)
System\Text\RegularExpressions\Symbolic\SymbolicRegexBuilder.cs (1)
331case SymbolicRegexNodeKind.Alternate:
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Automata.cs (1)
296Debug.Assert(node.Kind != SymbolicRegexNodeKind.Alternate);
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (33)
140case SymbolicRegexNodeKind.Alternate: 187Debug.Assert(listKind is SymbolicRegexNodeKind.Concat or SymbolicRegexNodeKind.Alternate); 267case SymbolicRegexNodeKind.Alternate: 497SymbolicRegexNode<TSet> head = right._kind == SymbolicRegexNodeKind.Alternate ? right._left! : right; 498SymbolicRegexNode<TSet> tail = right._kind == SymbolicRegexNodeKind.Alternate ? right._right! : builder._nothing; 514if (!deduplicated && left._kind != SymbolicRegexNodeKind.Alternate) 519while (current._kind == SymbolicRegexNodeKind.Alternate) 523Debug.Assert(current._left._kind != SymbolicRegexNodeKind.Alternate); 537if (!deduplicated || left._kind == SymbolicRegexNodeKind.Alternate) 540List<SymbolicRegexNode<TSet>> elems = left.ToList(listKind: SymbolicRegexNodeKind.Alternate); 542right.ToList(elems, listKind: SymbolicRegexNodeKind.Alternate); 583Debug.Assert(left._kind != SymbolicRegexNodeKind.Alternate); 586return Create(builder, SymbolicRegexNodeKind.Alternate, left, right, -1, -1, default, SymbolicRegexInfo.Alternate(left._info, right._info)); 946case SymbolicRegexNodeKind.Alternate: 989case SymbolicRegexNodeKind.Alternate: 1102case SymbolicRegexNodeKind.Alternate: 1126SymbolicRegexNodeKind.Alternate => (_left._left!.IsNullableFor(context) ? 1336case SymbolicRegexNodeKind.Alternate: 1388case SymbolicRegexNodeKind.Alternate: 1392List<SymbolicRegexNode<TSet>> elems = ToList(listKind: SymbolicRegexNodeKind.Alternate); 1477case SymbolicRegexNodeKind.Alternate: 1558case SymbolicRegexNodeKind.Alternate: 1648case SymbolicRegexNodeKind.Alternate: 1863case SymbolicRegexNodeKind.Alternate: 1934case SymbolicRegexNodeKind.Alternate: 1994case SymbolicRegexNodeKind.Alternate: 2039case SymbolicRegexNodeKind.Alternate: 2135case SymbolicRegexNodeKind.Alternate: 2190case SymbolicRegexNodeKind.Alternate: 2232case SymbolicRegexNodeKind.Alternate: 2235while (current._kind is SymbolicRegexNodeKind.Alternate) 2238Debug.Assert(current._left._kind is not SymbolicRegexNodeKind.Alternate); 2286case SymbolicRegexNodeKind.Alternate: