2 writes to caps
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\Regex.cs (2)
133
caps
= tree.CaptureNumberSparseMapping;
192
caps
= value as Hashtable ?? new Hashtable(value);
10 references to caps
System.Text.RegularExpressions (10)
System\Text\RegularExpressions\Match.cs (1)
122
RegexReplacement repl = RegexReplacement.GetOrCreate(regex.RegexReplacementWeakReference, replacement, regex.
caps
!, regex.capsize, regex.capnames!, regex.roptions);
System\Text\RegularExpressions\Regex.cs (5)
184
get =>
caps
;
344
if (
caps
is null)
355
result = new int[
caps
.Count];
356
IDictionaryEnumerator de =
caps
.GetEnumerator();
372
return RegexParser.GroupNameFromNumber(
caps
, capslist, capsize, i);
System\Text\RegularExpressions\Regex.Replace.cs (1)
82
RegexReplacement.GetOrCreate(RegexReplacementWeakReference, replacement,
caps
!, capsize, capnames!, roptions).
System\Text\RegularExpressions\RegexAssemblyCompiler.cs (1)
146
GenerateCreateHashtable(RegexField(nameof(Regex.
caps
)), tree.CaptureNumberSparseMapping);
System\Text\RegularExpressions\RegexRunner.cs (2)
291
runmatch = runregex!.
caps
is null ?
293
new MatchSparse(runregex, runregex.
caps
, runregex.capsize, runtext, text.Length);