20 references to Bol
System.Text.RegularExpressions.Generator (20)
RegexGenerator.Emitter.cs (5)
943case RegexNodeKind.Bol: 2854case RegexNodeKind.Bol: 3203Debug.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}"); 3228case RegexNodeKind.Bol: 5467RegexNodeKind.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 (5)
232case RegexNodeKind.Bol: 1110case RegexNodeKind.Beginning or RegexNodeKind.Start or RegexNodeKind.Bol 2340case RegexNodeKind.Bol: 2475case RegexNodeKind.Bol: 2578RegexNodeKind.Bol or
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: 1004case RegexNodeKind.Bol: 1260case RegexNodeKind.Bol: 1327case RegexNodeKind.Bol: 1439RegexNodeKind.Bol => 2,