public static void FileWriteLines(string path, string[] contents) { path = StorageUtility.ConvertPathSeparators(path); Task <bool> task = StorageUtility.AsyncFileWriteLines(path, contents); task.Wait(); }
public unsafe static long $Invoke6(long instance, long *args) { return(GCHandledObjects.ObjectToGCHandle(StorageUtility.AsyncFileWriteLines(Marshal.PtrToStringUni(*(IntPtr *)args), (string[])GCHandledObjects.GCHandleToPinnedArrayObject(args[1])))); }