13 references to Format
System.IO.FileSystem.Watcher (13)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (6)
126
new FileNotFoundException(SR.
Format
(SR.IO_FileNotFound_FileName, path), path) :
133
new DirectoryNotFoundException(SR.
Format
(SR.IO_PathNotFound_Path, path)) :
141
new UnauthorizedAccessException(SR.
Format
(SR.UnauthorizedAccess_IODenied_Path, path), inner) :
146
new PathTooLongException(SR.
Format
(SR.IO_PathTooLong_Path, path)) :
151
new IOException(SR.
Format
(SR.IO_SharingViolation_File, path), errorInfo.RawErrno) :
163
return new IOException(SR.
Format
(SR.IO_FileExists_Name, path), errorInfo.RawErrno);
System\IO\FileSystemWatcher.cs (5)
243
throw new ArgumentException(SR.
Format
(SR.InvalidDirName, value), nameof(Path));
246
throw new ArgumentException(SR.
Format
(SR.InvalidDirName_NotExists, value), nameof(Path));
365
throw new ArgumentException(SR.
Format
(SR.InvalidDirName, path), nameof(path));
368
throw new ArgumentException(SR.
Format
(SR.InvalidDirName_NotExists, path), nameof(path));
405
=> new InternalBufferOverflowException(SR.
Format
(SR.FSW_BufferOverflow, directoryPath));
System\IO\FileSystemWatcher.Linux.cs (2)
159
SR.
Format
(SR.IOException_INotifyInstanceUserLimitExceeded_Value, maxValue) :
276
SR.
Format
(SR.IOException_INotifyWatchesUserLimitExceeded_Value, maxValue) :