2 writes to LeadingPrefix
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\RegexFindOptimizations.cs (2)
102LeadingPrefix = prefix; 166LeadingPrefix = prefix;
6 references to LeadingPrefix
System.Text.RegularExpressions (6)
System\Text\RegularExpressions\RegexCompiler.cs (2)
785opts.LeadingPrefix : 811string prefix = _regexTree.FindOptimizations.LeadingPrefix;
System\Text\RegularExpressions\RegexFindOptimizations.cs (4)
462int i = textSpan.Slice(0, pos).LastIndexOf(LeadingPrefix.AsSpan()); 465pos = i + LeadingPrefix.Length; 619int i = textSpan.Slice(pos).IndexOf(LeadingPrefix.AsSpan()); 634int i = textSpan.Slice(pos).IndexOf(LeadingPrefix.AsSpan(), StringComparison.OrdinalIgnoreCase);