diff options
Diffstat (limited to 'mcs/class/System/System.IO/FileSystemWatcher.cs')
-rw-r--r-- | mcs/class/System/System.IO/FileSystemWatcher.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/System/System.IO/FileSystemWatcher.cs b/mcs/class/System/System.IO/FileSystemWatcher.cs index d92f827f7fa..125f07805f9 100644 --- a/mcs/class/System/System.IO/FileSystemWatcher.cs +++ b/mcs/class/System/System.IO/FileSystemWatcher.cs @@ -93,7 +93,7 @@ namespace System.IO { throw new ArgumentException ("Empty path", "path"); if (!Directory.Exists (path)) - throw new ArgumentException ("Directory does not exists", "path"); + throw new ArgumentException ("Directory does not exist", "path"); this.enableRaisingEvents = false; this.filter = filter; @@ -312,7 +312,7 @@ namespace System.IO { throw new ArgumentException ("Invalid directory name", "value", exc); if (!exists) - throw new ArgumentException ("Directory does not exists", "value"); + throw new ArgumentException ("Directory does not exist", "value"); path = value; fullpath = null; |