Skip to content

Commit 45e4377

Browse files
committed
IFileSystem: Removed ArgumentException from documented list of exceptions that implementations are expected to use
1 parent bab22d3 commit 45e4377

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Utilities/IFileSystem/IFileSystem.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,66 +6,56 @@ namespace Utilities
66
{
77
public interface IFileSystem
88
{
9-
/// <exception cref="System.ArgumentException"></exception>
109
/// <exception cref="System.IO.DirectoryNotFoundException"></exception>
1110
/// <exception cref="System.IO.FileNotFoundException"></exception>
1211
/// <exception cref="System.IO.IOException"></exception>
1312
/// <exception cref="System.UnauthorizedAccessException"></exception>
1413
FileSystemEntry GetEntry(string path);
1514

16-
/// <exception cref="System.ArgumentException"></exception>
1715
/// <exception cref="System.IO.DirectoryNotFoundException"></exception>
1816
/// <exception cref="System.IO.IOException"></exception>
1917
/// <exception cref="System.UnauthorizedAccessException"></exception>
2018
FileSystemEntry CreateFile(string path);
2119

22-
/// <exception cref="System.ArgumentException"></exception>
2320
/// <exception cref="System.IO.DirectoryNotFoundException"></exception>
2421
/// <exception cref="System.IO.IOException"></exception>
2522
/// <exception cref="System.UnauthorizedAccessException"></exception>
2623
FileSystemEntry CreateDirectory(string path);
2724

28-
/// <exception cref="System.ArgumentException"></exception>
2925
/// <exception cref="System.IO.DirectoryNotFoundException"></exception>
3026
/// <exception cref="System.IO.FileNotFoundException"></exception>
3127
/// <exception cref="System.IO.IOException"></exception>
3228
/// <exception cref="System.UnauthorizedAccessException"></exception>
3329
void Move(string source, string destination);
3430

35-
/// <exception cref="System.ArgumentException"></exception>
3631
/// <exception cref="System.IO.DirectoryNotFoundException"></exception>
3732
/// <exception cref="System.IO.FileNotFoundException"></exception>
3833
/// <exception cref="System.IO.IOException"></exception>
3934
/// <exception cref="System.UnauthorizedAccessException"></exception>
4035
void Delete(string path);
4136

42-
/// <exception cref="System.ArgumentException"></exception>
4337
/// <exception cref="System.IO.DirectoryNotFoundException"></exception>
4438
/// <exception cref="System.IO.IOException"></exception>
4539
/// <exception cref="System.UnauthorizedAccessException"></exception>
4640
List<FileSystemEntry> ListEntriesInDirectory(string path);
4741

48-
/// <exception cref="System.ArgumentException"></exception>
4942
/// <exception cref="System.IO.DirectoryNotFoundException"></exception>
5043
/// <exception cref="System.IO.FileNotFoundException"></exception>
5144
/// <exception cref="System.IO.IOException"></exception>
5245
/// <exception cref="System.UnauthorizedAccessException"></exception>
5346
List<KeyValuePair<string, ulong>> ListDataStreams(string path);
5447

55-
/// <exception cref="System.ArgumentException"></exception>
5648
/// <exception cref="System.IO.DirectoryNotFoundException"></exception>
5749
/// <exception cref="System.IO.FileNotFoundException"></exception>
5850
/// <exception cref="System.IO.IOException"></exception>
5951
/// <exception cref="System.UnauthorizedAccessException"></exception>
6052
Stream OpenFile(string path, FileMode mode, FileAccess access, FileShare share, FileOptions options);
6153

62-
/// <exception cref="System.ArgumentException"></exception>
6354
/// <exception cref="System.IO.FileNotFoundException"></exception>
6455
/// <exception cref="System.IO.IOException"></exception>
6556
/// <exception cref="System.UnauthorizedAccessException"></exception>
6657
void SetAttributes(string path, bool? isHidden, bool? isReadonly, bool? isArchived);
6758

68-
/// <exception cref="System.ArgumentException"></exception>
6959
/// <exception cref="System.IO.FileNotFoundException"></exception>
7060
/// <exception cref="System.IO.IOException"></exception>
7161
/// <exception cref="System.UnauthorizedAccessException"></exception>

0 commit comments

Comments
 (0)