2 writes to capnames
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\Regex.cs (2)
131
capnames
= tree.CaptureNameToNumberMapping;
207
capnames
= value as Hashtable ?? new Hashtable(value);
6 references to capnames
System.Text.RegularExpressions (6)
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 (3)
199
get =>
capnames
;
385
if (
capnames
!= null)
388
return
capnames
.TryGetValue(name, out int result) ? result : -1;
System\Text\RegularExpressions\Regex.Replace.cs (1)
82
RegexReplacement.GetOrCreate(RegexReplacementWeakReference, replacement, caps!, capsize,
capnames
!, roptions).
System\Text\RegularExpressions\RegexAssemblyCompiler.cs (1)
151
GenerateCreateHashtable(RegexField(nameof(Regex.
capnames
)), tree.CaptureNameToNumberMapping);