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

◆ CanonicalizePath()

static string System.IO.Path.CanonicalizePath ( string path)
inlinestaticprivate

Definition at line 375 of file Path.cs.

376 {
378 string text;
379 int stringLength = text._stringLength;
380 string pathRoot;
381 if (stringLength != 0)
382 {
383 if (stringLength == 0)
384 {
385 }
386 pathRoot = Path.GetPathRoot(text);
388 int stringLength2 = pathRoot._stringLength;
389 long num = 0L;
390 bool flag = Path.IsDirectorySeparator(pathRoot[(int)num]);
391 int num2 = 1;
392 bool flag2 = Path.IsDirectorySeparator(pathRoot[num2]);
393 long num3 = 0L;
395 string text2;
396 if (text2 == null || text2 != null)
397 {
398 bool flag3 = text2 == ".";
399 if (num3 == 0L)
400 {
401 return text2;
402 }
403 if (text2 == null || text2 != null)
404 {
405 return text2;
406 }
407 }
408 throw new ArrayTypeMismatchException();
409 }
410 return pathRoot;
411 }
class f__AnonymousType0<< Count > j__TPar
static bool IsRunningOnWindows
static Path()
Definition Path.cs:369

References System.IO.Path.GetPathRoot(), System.IO.Path.IsDirectorySeparator(), System.Environment.IsRunningOnWindows, j__TPar, System.L, and System.text.