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)
133
return new RegexTree(root, captureCount, parser._capnamelist?.ToArray(), parser.
_capnames
!, sparseMapping, options, parser._hasIgnoreCaseBackreferenceNodes ? culture : null);
869
if (
_capnames
?[capname] is int tmpCapnum)
916
uncapnum =
_capnames
?[uncapname] is int tmpCapnum ?
971
if (
_capnames
?[capname] is int tmpCapnum && _pos < _pattern.Length && _pattern[_pos++] == ')')
1269
_capnames
?[capname] is int tmpCapnum ? new RegexNode(RegexNodeKind.Backreference, _options, tmpCapnum) :
1365
if (
_capnames
?[capname] is int tmpCapnum)
1809
if (
_capnames
== null)
1815
if (!
_capnames
.ContainsKey(name))
1817
_capnames
.Add(name, pos);
1825
if (
_capnames
!= null)
1835
int pos = (int)
_capnames
[name]!;
1836
_capnames
[name] = _autocap;
1862
if (
_capnames
!= null || _capnumlist != null)
1868
if (
_capnames
== null)
1879
next = (int)
_capnames
[oldcapnamelist![0]]!;
1889
next = (k == oldcapnamelist.Count) ? -1 : (int)
_capnames
[oldcapnamelist[k]]!;
1895
_capnames
[str] = j;