16 writes to runtextpos
System (16)
regex\system\text\regularexpressions\RegexInterpreter.cs (13)
69runtextpos = newpos; 233char ch = (runrtl ? runtext[--runtextpos] : runtext[runtextpos++]); 270runtextpos = pos; 311runtextpos = pos; 317runtextpos += runrtl ? 1 : -1; 336runtextpos = runtextend; 340runtextpos = runtextend - 1; 343runtextpos = runtextend; 351runtextpos = runtextbeg; 355runtextpos = runtextbeg; 366runtextpos = runbmPrefix.Scan(runtext, runtextpos, runtextbeg, runtextend); 369runtextpos = (runcode._rightToLeft ? runtextbeg : runtextend);
regex\system\text\regularexpressions\RegexRunner.cs (3)
143runtextpos = textstart; 151runtextpos += bump; 203runtextpos += bump;
29 references to runtextpos
System (29)
regex\system\text\regularexpressions\RegexInterpreter.cs (26)
81return runtextpos; 217return runtextpos - runtextbeg; 221return runtextend - runtextpos; 229return runrtl ? runtextpos - runtextbeg : runtextend - runtextpos; 243if (runtextend - runtextpos < (c = str.Length)) 246pos = runtextpos + c; 249if (runtextpos - runtextbeg < (c = str.Length)) 252pos = runtextpos; 281if (runtextend - runtextpos < len) 284pos = runtextpos + len; 287if (runtextpos - runtextbeg < len) 290pos = runtextpos; 334if ((0 != (runanchors & RegexFCD.Beginning) && runtextpos > runtextbeg) || 335(0 != (runanchors & RegexFCD.Start) && runtextpos > runtextstart)) { 339if (0 != (runanchors & RegexFCD.EndZ) && runtextpos < runtextend - 1) { 342else if (0 != (runanchors & RegexFCD.End) && runtextpos < runtextend) { 347if ((0 != (runanchors & RegexFCD.End) && runtextpos < runtextend) || 348(0 != (runanchors & RegexFCD.EndZ) && (runtextpos < runtextend - 1 || 349(runtextpos == runtextend - 1 && CharAt(runtextpos) != '\n'))) || 350(0 != (runanchors & RegexFCD.Start) && runtextpos < runtextstart)) { 354if (0 != (runanchors & RegexFCD.Beginning) && runtextpos > runtextbeg) { 360return runbmPrefix.IsMatch(runtext, runtextpos, runtextbeg, runtextend); 366runtextpos = runbmPrefix.Scan(runtext, runtextpos, runtextbeg, runtextend); 368if (runtextpos == -1) {
regex\system\text\regularexpressions\RegexRunner.cs (3)
148if (runtextpos == stoppos) 194if (runtextpos == stoppos) { 348match.Tidy(runtextpos);