3 writes to _capnames
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\RegexParser.cs (3)
67_capnames = capnames; 1811_capnames = new Hashtable(); 1871_capnames = new Hashtable();
17 references to _capnames
System.Text.RegularExpressions (17)
System\Text\RegularExpressions\RegexParser.cs (17)
133return new RegexTree(root, captureCount, parser._capnamelist?.ToArray(), parser._capnames!, sparseMapping, options, parser._hasIgnoreCaseBackreferenceNodes ? culture : null); 869if (_capnames?[capname] is int tmpCapnum) 916uncapnum = _capnames?[uncapname] is int tmpCapnum ? 971if (_capnames?[capname] is int tmpCapnum && _pos < _pattern.Length && _pattern[_pos++] == ')') 1269_capnames?[capname] is int tmpCapnum ? new RegexNode(RegexNodeKind.Backreference, _options, tmpCapnum) : 1365if (_capnames?[capname] is int tmpCapnum) 1809if (_capnames == null) 1815if (!_capnames.ContainsKey(name)) 1817_capnames.Add(name, pos); 1825if (_capnames != null) 1835int pos = (int)_capnames[name]!; 1836_capnames[name] = _autocap; 1862if (_capnames != null || _capnumlist != null) 1868if (_capnames == null) 1879next = (int)_capnames[oldcapnamelist![0]]!; 1889next = (k == oldcapnamelist.Count) ? -1 : (int)_capnames[oldcapnamelist[k]]!; 1895_capnames[str] = j;