2 writes to runstack
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\RegexRunner.cs (2)
332runstack = new int[stacksize]; 472runstack = newstack;
15 references to runstack
System.Text.RegularExpressions (15)
System\Text\RegularExpressions\Regex.cs (1)
595runner.runstackpos = runner.runstack!.Length;
System\Text\RegularExpressions\RegexInterpreter.cs (7)
171private void StackPush(int i1) => runstack![--runstackpos] = i1; 175int[] localrunstack = runstack!; 193private int StackPeek() => runstack![runstackpos - 1]; 196private int StackPeek(int i) => runstack![runstackpos - i - 1]; 328Debug.Assert(runstack is not null); 344runstackpos = runstack.Length; 362runstackpos = runstack.Length;
System\Text\RegularExpressions\RegexRunner.cs (7)
261runstackpos = runstack!.Length; 307runstackpos = runstack!.Length; 468int[] newstack = new int[runstack!.Length * 2]; 470Array.Copy(runstack, 0, newstack, runstack.Length, runstack.Length); 471runstackpos += runstack.Length;