diff --git a/src/PCLExt.FileStorage.Portable111/Extensions/FileExtensions.cs b/src/PCLExt.FileStorage.Portable111/Extensions/FileExtensions.cs index 26c0be3..db5564b 100644 --- a/src/PCLExt.FileStorage.Portable111/Extensions/FileExtensions.cs +++ b/src/PCLExt.FileStorage.Portable111/Extensions/FileExtensions.cs @@ -66,7 +66,7 @@ public static void WriteAllText(this IFile file, string content) /// The content to write to the file /// The cancellation token. /// A task which completes when the write operation finishes - public static async Task WriteAllTextAsync(this IFile file, string contents, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task WriteAllTextAsync(this IFile file, string content, CancellationToken cancellationToken = default(CancellationToken)) { using (var stream = await file.OpenAsync(FileAccess.ReadAndWrite, cancellationToken).ConfigureAwait(false)) { diff --git a/src/PCLExt.FileStorage.Standard.Abstractions/BaseFile.cs b/src/PCLExt.FileStorage.Standard.Abstractions/BaseFile.cs index 2e0f2fc..3647124 100644 --- a/src/PCLExt.FileStorage.Standard.Abstractions/BaseFile.cs +++ b/src/PCLExt.FileStorage.Standard.Abstractions/BaseFile.cs @@ -83,6 +83,7 @@ public abstract class BaseFile : IFile public Task CopyAsync(string newPath, NameCollisionOption collisionOption = NameCollisionOption.ReplaceExisting, CancellationToken cancellationToken = default(CancellationToken)) => _file.CopyAsync(newPath, collisionOption, cancellationToken); + /// public override string ToString() => Path; } } \ No newline at end of file diff --git a/src/PCLExt.FileStorage.Standard.Abstractions/BaseFolder.cs b/src/PCLExt.FileStorage.Standard.Abstractions/BaseFolder.cs index 80cbd5b..1f4dedd 100644 --- a/src/PCLExt.FileStorage.Standard.Abstractions/BaseFolder.cs +++ b/src/PCLExt.FileStorage.Standard.Abstractions/BaseFolder.cs @@ -90,7 +90,7 @@ public abstract class BaseFolder : IFolder /// public Task CopyAsync(IFolder folder, NameCollisionOption option = NameCollisionOption.ReplaceExisting, CancellationToken cancellationToken = new CancellationToken()) => _folder.CopyAsync(folder, option, cancellationToken); - + /// public override string ToString() => Path; } } \ No newline at end of file diff --git a/test/PCLExt.FileStorage.UWP.Test/PCLExt.FileStorage.UWP.Test.csproj b/test/PCLExt.FileStorage.UWP.Test/PCLExt.FileStorage.UWP.Test.csproj index 0ec8a91..d24ffdf 100644 --- a/test/PCLExt.FileStorage.UWP.Test/PCLExt.FileStorage.UWP.Test.csproj +++ b/test/PCLExt.FileStorage.UWP.Test/PCLExt.FileStorage.UWP.Test.csproj @@ -139,7 +139,7 @@ - 6.0.1 + 6.0.2 3.8.1