terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ ScanCharClass()

RegexCharClass System.Text.RegularExpressions.RegexParser.ScanCharClass ( bool caseInsensitive,
bool scanOnly )
inlineprivate

Definition at line 193 of file RegexParser.cs.

194 {
195 string pattern = this._pattern;
196 int currentPos = this._currentPos;
197 int stringLength = pattern._stringLength;
198 char c = pattern[currentPos];
199 int currentPos2 = this._currentPos;
201 string pattern2 = this._pattern;
202 int stringLength2 = pattern2._stringLength;
203 long num = 0L;
205 char c2 = pattern2[currentPos2];
206 string pattern3 = this._pattern;
207 int currentPos3 = this._currentPos;
208 int stringLength3 = pattern3._stringLength;
210 char c3 = pattern3[currentPos3];
211 RegexOptions options = this._options;
212 string pattern4 = this._pattern;
213 string pattern5 = this._pattern;
214 int currentPos4 = this._currentPos;
215 int stringLength4 = pattern5._stringLength;
216 char c4 = pattern5[currentPos4];
217 long num2 = 0L;
218 RegexCharClass regexCharClass = this.ScanCharClass(num != 0L, num2 != 0L);
219 string pattern6 = this._pattern;
220 int currentPos5 = this._currentPos;
221 int stringLength5 = pattern6._stringLength;
222 char c5 = pattern6[currentPos5];
223 int currentPos6 = this._currentPos;
225 string text = this.ScanCapname();
226 string pattern7 = this._pattern;
227 int currentPos7 = this._currentPos;
228 int stringLength6 = pattern7._stringLength;
230 char c6 = pattern7[currentPos7];
231 int currentPos8 = this._currentPos;
232 string pattern8 = this._pattern;
234 char c7 = pattern8[currentPos8];
236 int num3 = 91;
237 string pattern9 = this._pattern;
238 int currentPos9 = this._currentPos;
239 int stringLength7 = pattern9._stringLength;
240 char c8 = pattern9[currentPos9];
241 int currentPos10 = this._currentPos;
242 char c9 = this._pattern[currentPos9];
243 string pattern10 = this._pattern;
244 int currentPos11 = this._currentPos;
245 int stringLength8 = pattern10._stringLength;
246 char c10 = pattern10[currentPos11];
247 string pattern11 = this._pattern;
248 int currentPos12 = this._currentPos;
249 int stringLength9 = pattern11._stringLength;
250 int currentPos13 = this._currentPos;
252 RegexCharClass regexCharClass2 = this.ScanCharClass(currentPos12 != 0, num3 != 0);
253 string pattern12 = this._pattern;
254 int currentPos14 = this._currentPos;
255 int stringLength10 = pattern12._stringLength;
256 char c11 = pattern12[currentPos14];
257 int currentPos15 = this._currentPos;
259 RegexOptions options2 = this._options;
260 int currentPos16 = this._currentPos;
262 char c12 = this.ScanCharEscape();
263 RegexOptions options3 = this._options;
264 string text2 = this.ParseProperty();
265 string text3 = this.ParseProperty();
266 string pattern13 = this._pattern;
268 ArgumentException ex = this.MakeException("Unterminated [] set.");
269 return "[x-y] range in reverse order.";
270 }
class f__AnonymousType0<< Count > j__TPar
ArgumentException MakeException(string message)
RegexCharClass ScanCharClass(bool caseInsensitive, bool scanOnly)

References System.Text.RegularExpressions.RegexParser._culture, System.Text.RegularExpressions.RegexParser._currentPos, System.Text.RegularExpressions.RegexParser._options, System.Text.RegularExpressions.RegexParser._pattern, System.culture, j__TPar, System.L, System.Text.RegularExpressions.RegexParser.MakeException(), System.options, System.Text.RegularExpressions.RegexParser.ParseProperty(), System.Text.RegularExpressions.RegexParser.ScanCapname(), System.Text.RegularExpressions.RegexParser.ScanCharClass(), System.Text.RegularExpressions.RegexParser.ScanCharEscape(), and System.text.

Referenced by System.Text.RegularExpressions.RegexParser.ScanCharClass(), and System.Text.RegularExpressions.RegexParser.ScanRegex().