Esempio n. 1
0
 public unsafe static long $Invoke22(long instance, long *args)
 {
     StorageUtility.FileCopy(Marshal.PtrToStringUni(*(IntPtr *)args), Marshal.PtrToStringUni(*(IntPtr *)(args + 1)), *(sbyte *)(args + 2) != 0);
     return(-1L);
 }
Esempio n. 2
0
 public static void FileCopy(string sourcePath, string destPath)
 {
     sourcePath = StorageUtility.ConvertPathSeparators(sourcePath);
     destPath   = StorageUtility.ConvertPathSeparators(destPath);
     StorageUtility.FileCopy(sourcePath, destPath, false);
 }