1 write to _matchcount
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Match.cs (1)
62_matchcount = new int[capcount];
17 references to _matchcount
System.Text.RegularExpressions (17)
System\Text\RegularExpressions\GroupCollection.cs (4)
67public int Count => _match._matchcount.Length; 139else if ((uint)groupnum < _match._matchcount.Length) 160_groups = new Group[_match._matchcount.Length - 1]; 164_groups[i] = new Group(_match.Text, _match._matches[i + 1], _match._matchcount[i + 1], groupname);
System\Text\RegularExpressions\Match.cs (13)
83int[] matchcount = _matchcount; 101internal bool FoundMatch => _matchcount[0] > 0; 214int c = _matchcount[groupnum]; 225GroupToStringImpl(_matchcount.Length - 1); 243int numgroups = inner._matchcount.Length; 262int[] matchcount = _matchcount; 290int capcount = _matchcount[cap]; 316internal void RemoveMatch(int cap) => _matchcount[cap]--; 321int[] matchcount = _matchcount; 335int i = matches[cap][_matchcount[cap] * 2 - 2]; 346int i = matches[cap][_matchcount[cap] * 2 - 1]; 355int[] matchcount = _matchcount; 404int[] matchcount = _matchcount;