22 references to Bol
System.Text.RegularExpressions.Generator (22)
RegexGenerator.Emitter.cs (5)
1081
case RegexNodeKind.
Bol
:
2921
case RegexNodeKind.
Bol
:
3284
Debug.Assert(node.Kind is RegexNodeKind.Beginning or RegexNodeKind.Start or RegexNodeKind.
Bol
or RegexNodeKind.End or RegexNodeKind.EndZ or RegexNodeKind.Eol, $"Unexpected type: {node.Kind}");
3309
case RegexNodeKind.
Bol
:
5544
RegexNodeKind.
Bol
=> "Match if at the beginning of a line.",
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexFindOptimizations.cs (2)
56
if (rightToLeft && LeadingAnchor == RegexNodeKind.
Bol
)
280
LeadingAnchor == RegexNodeKind.
Bol
; // there's a leading BOL anchor we can otherwise search for
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexNode.cs (7)
272
case RegexNodeKind.
Bol
:
922
RegexNodeKind.
Bol
or RegexNodeKind.Eol or
1211
case RegexNodeKind.Beginning or RegexNodeKind.Start or RegexNodeKind.
Bol
1965
RegexNodeKind.
Bol
or RegexNodeKind.Eol or
2243
RegexNodeKind.
Bol
or RegexNodeKind.Eol or
2780
case RegexNodeKind.
Bol
:
2915
case RegexNodeKind.
Bol
:
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexParser.cs (1)
394
_unit = new RegexNode((_options & RegexOptions.Multiline) != 0 ? RegexNodeKind.
Bol
: RegexNodeKind.Beginning, _options);
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (7)
90
case RegexNodeKind.
Bol
:
459
case RegexNodeKind.
Bol
:
663
case RegexNodeKind.
Bol
:
1014
case RegexNodeKind.
Bol
:
1284
case RegexNodeKind.
Bol
:
1351
case RegexNodeKind.
Bol
:
1462
RegexNodeKind.
Bol
=> 2,