Index: Core/Common/test/Core.Common.TestUtil/DirectoryPermissionsRevoker.cs =================================================================== diff -u -re8de9aaa898162dc695b7579c487a26571d03ce1 -rc526a6a30198a0f81dd71d0f03e554ebe861f853 --- Core/Common/test/Core.Common.TestUtil/DirectoryPermissionsRevoker.cs (.../DirectoryPermissionsRevoker.cs) (revision e8de9aaa898162dc695b7579c487a26571d03ce1) +++ Core/Common/test/Core.Common.TestUtil/DirectoryPermissionsRevoker.cs (.../DirectoryPermissionsRevoker.cs) (revision c526a6a30198a0f81dd71d0f03e554ebe861f853) @@ -34,28 +34,28 @@ public class DirectoryPermissionsRevoker : IDisposable { private readonly IList appliedFileSystemAccessRules = new List(); - private readonly string filePath; + private readonly string folderPath; private readonly DirectoryInfo directoryInfo; /// /// Creates an instance of . /// Adds a of type to the access - /// rule set for the file at . + /// rule set for the folder at . /// - /// The path of the file to change the right for. + /// The path of the file to change the right for. /// The right to deny. - public DirectoryPermissionsRevoker(string filePath, FileSystemRights rights) + public DirectoryPermissionsRevoker(string folderPath, FileSystemRights rights) { - if (string.IsNullOrWhiteSpace(filePath)) + if (string.IsNullOrWhiteSpace(folderPath)) { - throw new ArgumentException(@"filePath must have a valid value.", "filePath"); + throw new ArgumentException(@"folderPath must have a valid value.", "folderPath"); } - this.filePath = filePath; - directoryInfo = new DirectoryInfo(Path.GetFullPath(filePath)); + this.folderPath = folderPath; + directoryInfo = new DirectoryInfo(Path.GetFullPath(folderPath)); if (!directoryInfo.Exists) { - throw new DirectoryNotFoundException(@"filePath does not exist."); + throw new DirectoryNotFoundException(@"folderPath does not exist."); } if ((rights ^ FileSystemRights.Synchronize) == 0) @@ -68,7 +68,7 @@ public void Dispose() { - if (!Directory.Exists(filePath)) + if (!Directory.Exists(folderPath)) { return; }