16 references to Nothing
System.Text.RegularExpressions.Generator (16)
parent\src\System\Text\RegularExpressions\RegexNode.cs (11)
662
0 => new RegexNode(Kind == RegexNodeKind.Alternate ? RegexNodeKind.
Nothing
: RegexNodeKind.Empty, Options),
720
case RegexNodeKind.
Nothing
:
951
return new RegexNode(RegexNodeKind.
Nothing
, Options);
1018
Kind = RegexNodeKind.
Nothing
;
1078
return new RegexNode(RegexNodeKind.
Nothing
, Options);
1217
else if (at.Kind == RegexNodeKind.
Nothing
)
1357
case RegexNodeKind.
Nothing
:
1758
if (child.Kind == RegexNodeKind.
Nothing
)
2290
Kind = RegexNodeKind.
Nothing
;
2911
case RegexNodeKind.
Nothing
:
3049
case RegexNodeKind.
Nothing
:
parent\src\System\Text\RegularExpressions\RegexParser.cs (1)
1856
_ => RegexNodeKind.
Nothing
,
parent\src\System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (1)
1013
case RegexNodeKind.
Nothing
:
RegexGenerator.Emitter.cs (3)
769
else if (root.Kind is RegexNodeKind.
Nothing
)
2898
case RegexNodeKind.
Nothing
:
5607
RegexNodeKind.
Nothing
=> $"Fail to match.",