6 writes to runtext
System.Text.RegularExpressions (6)
System\Text\RegularExpressions\Regex.cs (4)
428runner.runtext = input; 455runner.runtext = null; // drop reference to text to avoid keeping it alive in a cache. 535runner.runtext = inputString; 601runner.runtext = null; // drop reference to string to avoid keeping it alive in a cache.
System\Text\RegularExpressions\RegexRunner.cs (2)
178runtext = text; 210runtext = null; //drop reference
9 references to runtext
System.Text.RegularExpressions (9)
System\Text\RegularExpressions\RegexRunner.cs (9)
129string? s = runtext; 292new Match(runregex, runregex.capsize, runtext, text.Length) : 293new MatchSparse(runregex, runregex.caps, runregex.capsize, runtext, text.Length); 297m.Reset(runtext, text.Length); 364void ThrowRegexTimeout() => throw new RegexMatchTimeoutException(runtext ?? string.Empty, runregex!.pattern!, TimeSpan.FromMilliseconds(_timeout)); 410return (index > startpos && RegexCharClass.IsBoundaryWordChar(runtext![index - 1])) != 411(index < endpos && RegexCharClass.IsBoundaryWordChar(runtext![index])); 426return (index > startpos && RegexCharClass.IsECMAWordChar(runtext![index - 1])) != 427(index < endpos && RegexCharClass.IsECMAWordChar(runtext![index]));