9 references to Format
System.IO.Pipes (9)
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\Pipes\NamedPipeServerStream.Unix.cs (2)
270
throw new UnauthorizedAccessException(SR.
Format
(SR.UnauthorizedAccess_IODenied_Path, path));
333
throw new UnauthorizedAccessException(SR.
Format
(SR.UnauthorizedAccess_IODenied_Path, path));
System\IO\Pipes\PipeStream.Unix.cs (1)
524
new PlatformNotSupportedException(SR.
Format
(SR.PlatformNotSupported_OperatingSystemError, nameof(Interop.Error.ENOTSUP))) :