13 writes to runstack
Microsoft.CodeAnalysis (11)
RegexGenerator.g.cs (11)
198Utilities.StackPush(ref base.runstack!, ref stackpos, base.Crawlpos(), pos); 219Utilities.StackPush(ref base.runstack!, ref stackpos, 0, alternation_starting_pos, alternation_starting_capturepos); 238Utilities.StackPush(ref base.runstack!, ref stackpos, 1, alternation_starting_pos, alternation_starting_capturepos); 257Utilities.StackPush(ref base.runstack!, ref stackpos, 2, alternation_starting_pos, alternation_starting_capturepos); 285Utilities.StackPush(ref base.runstack!, ref stackpos, capture_starting_pos1); 393Utilities.StackPush(ref base.runstack!, ref stackpos, base.Crawlpos(), pos); 442Utilities.StackPush(ref base.runstack!, ref stackpos, charloop_starting_pos1, charloop_ending_pos1, base.Crawlpos()); 447Utilities.StackPush(ref base.runstack!, ref stackpos, capture_starting_pos2); 837Utilities.StackPush(ref base.runstack!, ref stackpos, base.Crawlpos(), pos); 886Utilities.StackPush(ref base.runstack!, ref stackpos, charloop_starting_pos4, charloop_ending_pos4, base.Crawlpos()); 891Utilities.StackPush(ref base.runstack!, ref stackpos, capture_starting_pos2);
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\RegexRunner.cs (2)
332runstack = new int[stacksize]; 487runstack = newstack;
30 references to runstack
Microsoft.CodeAnalysis (15)
RegexGenerator.g.cs (15)
269Utilities.StackPop(base.runstack!, ref stackpos, out alternation_starting_capturepos, out alternation_starting_pos); 270switch (base.runstack![--stackpos]) 289capture_starting_pos1 = base.runstack![--stackpos]; 307pos = base.runstack![--stackpos]; 308UncaptureUntil(base.runstack![--stackpos]); 426UncaptureUntil(base.runstack![--stackpos]); 427Utilities.StackPop(base.runstack!, ref stackpos, out charloop_ending_pos1, out charloop_starting_pos1); 451capture_starting_pos2 = base.runstack![--stackpos]; 472pos = base.runstack![--stackpos]; 473UncaptureUntil(base.runstack![--stackpos]); 870UncaptureUntil(base.runstack![--stackpos]); 871Utilities.StackPop(base.runstack!, ref stackpos, out charloop_ending_pos4, out charloop_starting_pos4); 895capture_starting_pos2 = base.runstack![--stackpos]; 916pos = base.runstack![--stackpos]; 917UncaptureUntil(base.runstack![--stackpos]);
System.Text.RegularExpressions (15)
System\Text\RegularExpressions\Regex.cs (1)
594runner.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; 483int[] newstack = new int[runstack!.Length * 2]; 485Array.Copy(runstack, 0, newstack, runstack.Length, runstack.Length); 486runstackpos += runstack.Length;