1 write to _match
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\GroupCollection.cs (1)
27
_match
= match;
12 references to _match
System.Text.RegularExpressions (12)
System\Text\RegularExpressions\GroupCollection.cs (12)
36
public int Count =>
_match
._matchcount.Length;
40
public Group this[string groupname] =>
_match
._regex is null ?
42
GetGroup(
_match
._regex.GroupNumberFromName(groupname));
58
else if ((uint)groupnum <
_match
._matchcount.Length)
73
return
_match
;
79
_groups = new Group[
_match
._matchcount.Length - 1];
82
string groupname =
_match
._regex!.GroupNameFromNumber(i + 1);
83
_groups[i] = new Group(
_match
.Text,
_match
._matches[i + 1],
_match
._matchcount[i + 1], groupname);
92
public object SyncRoot =>
_match
;
210
public bool ContainsKey(string key) =>
_match
._regex!.GroupNumberFromName(key) >= 0;