17 references to Nothing
System.Text.RegularExpressions (17)
System\Text\RegularExpressions\RegexNode.cs (12)
242case RegexNodeKind.Nothing: 5630 => new RegexNode(Kind == RegexNodeKind.Alternate ? RegexNodeKind.Nothing : RegexNodeKind.Empty, Options), 621case RegexNodeKind.Nothing: 837return new RegexNode(RegexNodeKind.Nothing, Options); 881Kind = RegexNodeKind.Nothing; 930return new RegexNode(RegexNodeKind.Nothing, Options); 1053else if (at.Kind == RegexNodeKind.Nothing) 1188case RegexNodeKind.Nothing: 1516if (child.Kind == RegexNodeKind.Nothing) 1987Kind = Kind == RegexNodeKind.PositiveLookaround ? RegexNodeKind.Empty : RegexNodeKind.Nothing; 2330case RegexNodeKind.Nothing: 2468case RegexNodeKind.Nothing:
System\Text\RegularExpressions\RegexNodeKind.cs (1)
115/// by that child, and if an alternation has no children, it can be replaced by <see cref="Nothing"/>.
System\Text\RegularExpressions\RegexParser.cs (1)
1662_ => RegexNodeKind.Nothing,
System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (1)
1003case RegexNodeKind.Nothing:
System\Text\RegularExpressions\RegexWriter.cs (1)
431case RegexNodeKind.Nothing:
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (1)
136case RegexNodeKind.Nothing: