1 write to TrailingAnchor
System.Text.RegularExpressions.Generator (1)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexFindOptimizations.cs (1)
82
TrailingAnchor
= RegexPrefixAnalyzer.FindTrailingAnchor(root);
5 references to TrailingAnchor
System.Text.RegularExpressions.Generator (5)
RegexGenerator.Emitter.cs (2)
688
rm.Tree.FindOptimizations.
TrailingAnchor
!= RegexNodeKind.Unknown;
976
switch (regexTree.FindOptimizations.
TrailingAnchor
)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexFindOptimizations.cs (3)
83
if (
TrailingAnchor
is RegexNodeKind.End or RegexNodeKind.EndZ &&
90
FindMode =
TrailingAnchor
== RegexNodeKind.End ?
297
/// This is currently only set when <see cref="
TrailingAnchor
"/> is found to be an end anchor.