21 references to Bol
System.Text.RegularExpressions.Generator (21)
parent\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
parent\src\System\Text\RegularExpressions\RegexNode.cs (6)
977RegexNodeKind.Bol or RegexNodeKind.Eol or 1266case RegexNodeKind.Beginning or RegexNodeKind.Start or RegexNodeKind.Bol 2023RegexNodeKind.Bol or RegexNodeKind.Eol or 2301RegexNodeKind.Bol or RegexNodeKind.Eol or 2917case RegexNodeKind.Bol: 3052case RegexNodeKind.Bol:
parent\src\System\Text\RegularExpressions\RegexParser.cs (1)
400_unit = new RegexNode((_options & RegexOptions.Multiline) != 0 ? RegexNodeKind.Bol : RegexNodeKind.Beginning, _options);
parent\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,
RegexGenerator.Emitter.cs (5)
1082case RegexNodeKind.Bol: 2923case RegexNodeKind.Bol: 3286Debug.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}"); 3311case RegexNodeKind.Bol: 5592RegexNodeKind.Bol => "Match if at the beginning of a line.",