1 write to capsize
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Regex.cs (1)
134capsize = tree.CaptureCount;
9 references to capsize
System.Text.RegularExpressions (9)
System\Text\RegularExpressions\Match.cs (1)
122RegexReplacement repl = RegexReplacement.GetOrCreate(regex.RegexReplacementWeakReference, replacement, regex.caps!, regex.capsize, regex.capnames!, regex.roptions);
System\Text\RegularExpressions\Regex.cs (4)
323result = new string[capsize]; 346result = new int[capsize]; 372return RegexParser.GroupNameFromNumber(caps, capslist, capsize, i); 393return uint.TryParse(name, NumberStyles.None, CultureInfo.InvariantCulture, out uint result) && result < capsize ? (int)result : -1;
System\Text\RegularExpressions\Regex.Replace.cs (1)
82RegexReplacement.GetOrCreate(RegexReplacementWeakReference, replacement, caps!, capsize, capnames!, roptions).
System\Text\RegularExpressions\RegexAssemblyCompiler.cs (1)
142Stfld(RegexField(nameof(Regex.capsize)));
System\Text\RegularExpressions\RegexRunner.cs (2)
292new Match(runregex, runregex.capsize, runtext, text.Length) : 293new MatchSparse(runregex, runregex.caps, runregex.capsize, runtext, text.Length);