22 references to Bol
System.Text.RegularExpressions.Generator (22)
RegexGenerator.Emitter.cs (5)
1081case RegexNodeKind.Bol: 2921case RegexNodeKind.Bol: 3284Debug.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}"); 3309case RegexNodeKind.Bol: 5544RegexNodeKind.Bol => "Match if at the beginning of a line.",
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexFindOptimizations.cs (2)
56if (rightToLeft && LeadingAnchor == RegexNodeKind.Bol) 280LeadingAnchor == 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)
272case RegexNodeKind.Bol: 922RegexNodeKind.Bol or RegexNodeKind.Eol or 1211case RegexNodeKind.Beginning or RegexNodeKind.Start or RegexNodeKind.Bol 1965RegexNodeKind.Bol or RegexNodeKind.Eol or 2243RegexNodeKind.Bol or RegexNodeKind.Eol or 2780case RegexNodeKind.Bol: 2915case 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)
90case RegexNodeKind.Bol: 459case RegexNodeKind.Bol: 663case RegexNodeKind.Bol: 1014case RegexNodeKind.Bol: 1284case RegexNodeKind.Bol: 1351case RegexNodeKind.Bol: 1462RegexNodeKind.Bol => 2,