1 write to _matchcount
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Match.cs (1)
55_matchcount = new int[capcount];
17 references to _matchcount
System.Text.RegularExpressions (17)
System\Text\RegularExpressions\GroupCollection.cs (4)
36public int Count => _match._matchcount.Length; 58else if ((uint)groupnum < _match._matchcount.Length) 79_groups = new Group[_match._matchcount.Length - 1]; 83_groups[i] = new Group(_match.Text, _match._matches[i + 1], _match._matchcount[i + 1], groupname);
System\Text\RegularExpressions\Match.cs (13)
71int[] matchcount = _matchcount; 89internal bool FoundMatch => _matchcount[0] > 0; 130int c = _matchcount[groupnum]; 141GroupToStringImpl(_matchcount.Length - 1); 154int numgroups = inner._matchcount.Length; 173int[] matchcount = _matchcount; 204int capcount = _matchcount[cap]; 230internal void RemoveMatch(int cap) => _matchcount[cap]--; 235int[] matchcount = _matchcount; 249int i = matches[cap][_matchcount[cap] * 2 - 2]; 260int i = matches[cap][_matchcount[cap] * 2 - 1]; 269int[] matchcount = _matchcount; 318int[] matchcount = _matchcount;