24 references to SR
System.IO.Compression.ZipFile (24)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (18)
126
new FileNotFoundException(
SR
.Format(
SR
.IO_FileNotFound_FileName, path), path) :
127
new FileNotFoundException(
SR
.IO_FileNotFound);
133
new DirectoryNotFoundException(
SR
.Format(
SR
.IO_PathNotFound_Path, path)) :
134
new DirectoryNotFoundException(
SR
.IO_PathNotFound_NoPathName);
141
new UnauthorizedAccessException(
SR
.Format(
SR
.UnauthorizedAccess_IODenied_Path, path), inner) :
142
new UnauthorizedAccessException(
SR
.UnauthorizedAccess_IODenied_NoPathName, inner);
146
new PathTooLongException(
SR
.Format(
SR
.IO_PathTooLong_Path, path)) :
147
new PathTooLongException(
SR
.IO_PathTooLong);
151
new IOException(
SR
.Format(
SR
.IO_SharingViolation_File, path), errorInfo.RawErrno) :
152
new IOException(
SR
.IO_SharingViolation_NoFileName, errorInfo.RawErrno);
158
return new ArgumentOutOfRangeException("value",
SR
.ArgumentOutOfRange_FileLengthTooBig);
163
return new IOException(
SR
.Format(
SR
.IO_FileExists_Name, path), errorInfo.RawErrno);
System\IO\Compression\ZipFile.Create.cs (3)
455
throw new ArgumentException(
SR
.UnwritableStream, nameof(destination));
510
throw new IOException(
SR
.Format(
SR
.ZipUnsupportedFile, fullPath));
System\IO\Compression\ZipFile.Extract.cs (1)
325
throw new ArgumentException(
SR
.UnreadableStream, nameof(source));
System\IO\Compression\ZipFileExtensions.ZipArchiveEntry.Extract.cs (2)
120
throw new IOException(
SR
.IO_ExtractingResultsInOutside);
127
throw new IOException(
SR
.IO_DirectoryNameWithData);