1 write to _rules
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexReplacement.cs (1)
91
_rules
= rules.AsSpan().ToArray();
7 references to _rules
System.Text.RegularExpressions (7)
System\Text\RegularExpressions\RegexReplacement.cs (7)
128
foreach (int rule in
_rules
)
159
for (int i =
_rules
.Length - 1; i >= 0; i--)
161
int rule =
_rules
[i];
215
Debug.Assert(
_rules
.Length <= 1);
216
Debug.Assert(
_rules
.Length == 0 || (
_rules
[0] == 0 && _strings.Length == 1));
218
return ReplaceSimpleText(regex, input,
_rules
.Length != 0 ? _strings[0] : "", count, startat);