From 3bf593aa5ddd7d1c88c717fa76a4202748bab025 Mon Sep 17 00:00:00 2001 From: Meri Khamoyan Date: Tue, 20 Sep 2022 10:54:45 +0200 Subject: [PATCH] #74642 done minor changes --- .../src/System/IO/IsolatedStorage/Helper.Win32Unix.cs | 2 +- .../src/System/IO/IsolatedStorage/IsolatedStorageFile.cs | 2 +- .../tests/System/IO/IsolatedStorage/HelperTests.cs | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/libraries/System.IO.IsolatedStorage/src/System/IO/IsolatedStorage/Helper.Win32Unix.cs b/src/libraries/System.IO.IsolatedStorage/src/System/IO/IsolatedStorage/Helper.Win32Unix.cs index b3644c7b8adad..7577ea7ee0495 100644 --- a/src/libraries/System.IO.IsolatedStorage/src/System/IO/IsolatedStorage/Helper.Win32Unix.cs +++ b/src/libraries/System.IO.IsolatedStorage/src/System/IO/IsolatedStorage/Helper.Win32Unix.cs @@ -12,7 +12,7 @@ internal static partial class Helper { internal static string GetDataDirectory(IsolatedStorageScope scope) { - // This is the relevant special folder for the given scope plus ".isolated-storage". + // This is the relevant special folder for the given scope plus IsolatedStorageDirectoryName. // It is meant to replicate the behavior of the VM ComIsolatedStorage::GetRootDir(). // (note that Silverlight used "CoreIsolatedStorage" for a directory name and did not support machine scope) diff --git a/src/libraries/System.IO.IsolatedStorage/src/System/IO/IsolatedStorage/IsolatedStorageFile.cs b/src/libraries/System.IO.IsolatedStorage/src/System/IO/IsolatedStorage/IsolatedStorageFile.cs index e8c4522637b77..c72da4b57dc35 100644 --- a/src/libraries/System.IO.IsolatedStorage/src/System/IO/IsolatedStorage/IsolatedStorageFile.cs +++ b/src/libraries/System.IO.IsolatedStorage/src/System/IO/IsolatedStorage/IsolatedStorageFile.cs @@ -43,7 +43,7 @@ internal IsolatedStorageFile(IsolatedStorageScope scope) // for non mobile platforms IsolatedStorageDirectoryName is "IsolatedStorage", for mobile platforms ".isolated-storage" InitializeIsoStorageDirectoryName(); - // InitStore will set up the IdentityHash + // InitStore will set up the IdentityHash InitStore(scope, null, null); StringBuilder sb = new StringBuilder(GetIsolatedStorageRoot()); diff --git a/src/libraries/System.IO.IsolatedStorage/tests/System/IO/IsolatedStorage/HelperTests.cs b/src/libraries/System.IO.IsolatedStorage/tests/System/IO/IsolatedStorage/HelperTests.cs index 01f5f968c8245..60d65949da7ee 100644 --- a/src/libraries/System.IO.IsolatedStorage/tests/System/IO/IsolatedStorage/HelperTests.cs +++ b/src/libraries/System.IO.IsolatedStorage/tests/System/IO/IsolatedStorage/HelperTests.cs @@ -13,7 +13,6 @@ public void GetDefaultIdentityAndHash() { object identity; string hash; - //TestHelper.InitHelper(out identity,out hash); Helper.GetDefaultIdentityAndHash(out identity, out hash, '.'); Assert.NotNull(identity);