37 references to SR
System.IO.FileSystem.Watcher (37)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (18)
126new FileNotFoundException(SR.Format(SR.IO_FileNotFound_FileName, path), path) : 127new FileNotFoundException(SR.IO_FileNotFound); 133new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, path)) : 134new DirectoryNotFoundException(SR.IO_PathNotFound_NoPathName); 141new UnauthorizedAccessException(SR.Format(SR.UnauthorizedAccess_IODenied_Path, path), inner) : 142new UnauthorizedAccessException(SR.UnauthorizedAccess_IODenied_NoPathName, inner); 146new PathTooLongException(SR.Format(SR.IO_PathTooLong_Path, path)) : 147new PathTooLongException(SR.IO_PathTooLong); 151new IOException(SR.Format(SR.IO_SharingViolation_File, path), errorInfo.RawErrno) : 152new IOException(SR.IO_SharingViolation_NoFileName, errorInfo.RawErrno); 158return new ArgumentOutOfRangeException("value", SR.ArgumentOutOfRange_FileLengthTooBig); 163return new IOException(SR.Format(SR.IO_FileExists_Name, path), errorInfo.RawErrno);
System\IO\FileSystemWatcher.cs (12)
116throw new ArgumentException(SR.Format(SR.InvalidEnumArgument, nameof(value), (int)value, nameof(NotifyFilters))); 243throw new ArgumentException(SR.Format(SR.InvalidDirName, value), nameof(Path)); 246throw new ArgumentException(SR.Format(SR.InvalidDirName_NotExists, value), nameof(Path)); 365throw new ArgumentException(SR.Format(SR.InvalidDirName, path), nameof(path)); 368throw new ArgumentException(SR.Format(SR.InvalidDirName_NotExists, path), nameof(path)); 405=> new InternalBufferOverflowException(SR.Format(SR.FSW_BufferOverflow, directoryPath));
System\IO\FileSystemWatcher.Linux.cs (7)
159SR.Format(SR.IOException_INotifyInstanceUserLimitExceeded_Value, maxValue) : 160SR.IOException_INotifyInstanceUserLimitExceeded; 163throw new IOException(SR.IOException_INotifyInstanceSystemLimitExceeded, error.RawErrno); 276SR.Format(SR.IOException_INotifyWatchesUserLimitExceeded_Value, maxValue) : 277SR.IOException_INotifyWatchesUserLimitExceeded;