7 references to Format
System.Console (7)
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\TermInfo.Database.cs (1)
53
throw new InvalidOperationException(SR.
Format
(SR.IO_TermInfoInvalidMagicNumber, "O" + Convert.ToString(magic, 8))); // magic number was not recognized. Printing the magic number in octal.