11 references to Format
System.Formats.Tar (11)
System\Formats\Tar\TarEntry.cs (5)
275
throw new InvalidOperationException(SR.
Format
(SR.TarEntryDoesNotSupportDataStream, Name, EntryType));
375
throw new IOException(SR.
Format
(SR.TarExtractingResultsFileOutside, name, destinationDirectoryPath));
389
throw new IOException(SR.
Format
(SR.TarExtractingResultsLinkOutside, linkName, destinationDirectoryPath));
396
throw new IOException(SR.
Format
(SR.TarExtractingResultsLinkOutside, linkName, destinationDirectoryPath));
411
throw new IOException(SR.
Format
(SR.TarExtractingResultsLinkOutside, linkName, destinationDirectoryPath));
System\Formats\Tar\TarHeader.cs (2)
159
throw new ArgumentException(SR.
Format
(SR.TarExtAttrDisallowedKeyChar, extendedAttribute.Key, extendedAttribute.Key[index] == '\n' ? "\\n" : extendedAttribute.Key[index]));
163
throw new ArgumentException(SR.
Format
(SR.TarExtAttrDisallowedValueChar, extendedAttribute.Key, "\\n"));
System\Formats\Tar\TarHelpers.cs (1)
382
throw new ArgumentException(SR.
Format
(SR.TarEntryTypeNotSupportedInFormat, entryType, archiveFormat), paramName);
System\Formats\Tar\TarReader.cs (3)
300
throw new InvalidDataException(SR.
Format
(SR.TarUnexpectedMetadataEntry, actualHeader._typeFlag, TarEntryType.ExtendedAttributes));
327
throw new InvalidDataException(SR.
Format
(SR.TarUnexpectedMetadataEntry, secondHeader._typeFlag, header._typeFlag));
346
throw new InvalidDataException(SR.
Format
(SR.TarUnexpectedMetadataEntry, thirdHeader._typeFlag, secondHeader._typeFlag));