27 references to Notone
System.Text.RegularExpressions.Generator (27)
RegexGenerator.Emitter.cs (4)
774
else if (root.Kind is RegexNodeKind.Multi or RegexNodeKind.One or RegexNodeKind.
Notone
or RegexNodeKind.Set)
2936
case RegexNodeKind.
Notone
:
3129
int repeatCount = child.Kind is RegexNodeKind.One or RegexNodeKind.
Notone
or RegexNodeKind.Set ? 1 : child.M;
5560
RegexNodeKind.
Notone
=> $"Match any character other than {Literal(node.Ch)}{direction}.",
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexNode.cs (17)
283
case RegexNodeKind.
Notone
:
908
case RegexNodeKind.
Notone
:
981
Kind == RegexNodeKind.Set ? RegexNodeKind.
Notone
:
1208
case RegexNodeKind.One or RegexNodeKind.
Notone
or RegexNodeKind.Set:
1586
case RegexNodeKind.
Notone
:
1622
case RegexNodeKind.
Notone
or RegexNodeKind.Notoneloop or RegexNodeKind.Notoneloopatomic or RegexNodeKind.Notonelazy:
1874
case RegexNodeKind.Notoneloop or RegexNodeKind.Notonelazy when nextNode.Kind == RegexNodeKind.
Notone
&& currentNode.Ch == nextNode.Ch:
1942
case RegexNodeKind.
Notone
when (nextNode.Kind is RegexNodeKind.Notoneloop or RegexNodeKind.Notoneloopatomic or RegexNodeKind.Notonelazy) && currentNode.Ch == nextNode.Ch:
1956
case RegexNodeKind.
Notone
when nextNode.Kind == currentNode.Kind && currentNode.Ch == nextNode.Ch:
2101
RegexNodeKind.One or RegexNodeKind.
Notone
or RegexNodeKind.Set &&
2423
case RegexNodeKind.
Notone
when node.Ch == subsequent.Ch:
2707
case RegexNodeKind.
Notone
:
2820
case RegexNodeKind.
Notone
:
3065
RegexNodeKind.One or RegexNodeKind.
Notone
or RegexNodeKind.Set => true,
3133
case RegexNodeKind.
Notone
:
3268
public bool IsNotoneFamily => Kind is RegexNodeKind.
Notone
or RegexNodeKind.Notoneloop or RegexNodeKind.Notoneloopatomic or RegexNodeKind.Notonelazy;
3326
case RegexNodeKind.
Notone
:
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexNodeKind.cs (2)
37
/// This is purely a representational optimization, equivalent to a <see cref="Loop"/> wrapped around a <see cref="
Notone
"/>.
50
/// This is purely a representational optimization, equivalent to a <see cref="Lazyloop"/> wrapped around a <see cref="
Notone
"/>.
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexParser.cs (1)
404
new RegexNode(RegexNodeKind.
Notone
, _options & ~RegexOptions.IgnoreCase, '\n');
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (3)
652
case RegexNodeKind.
Notone
:
963
case RegexNodeKind.
Notone
or RegexNodeKind.Notoneloop or RegexNodeKind.Notoneloopatomic or RegexNodeKind.Notonelazy:
977
return node.Kind is RegexNodeKind.
Notone
|| node.M > 0 ? true : null;