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

◆ Move()

static void System.IO.File.Move ( string sourceFileName,
string destFileName )
inlinestatic

Definition at line 222 of file File.cs.

223 {
224 while (sourceFileName != null)
225 {
226 if (destFileName == null)
227 {
228 return;
229 }
230 if (sourceFileName._stringLength == 0)
231 {
232 return;
233 }
234 if (destFileName._stringLength != 0)
235 {
236 string fullPath = Path.GetFullPath(sourceFileName);
237 string fullPath2 = Path.GetFullPath(destFileName);
238 if (fullPath != null)
239 {
240 char rawStringData = fullPath.GetRawStringData();
241 int stringLength = fullPath._stringLength;
242 return;
243 }
244 FileSystem.MoveFile(fullPath, fullPath2);
245 return;
246 }
247 }
248 }
class f__AnonymousType0<< Count > j__TPar

References System.IO.Path.GetFullPath(), j__TPar, and System.IO.FileSystem.MoveFile().

Referenced by Ionic.Zip.ZipSegmentedStream._SetWriteStream(), and Ionic.Zip.ZipSegmentedStream.TruncateBackward().