10 references to Unknown
System.Formats.Tar (10)
System\Formats\Tar\TarHeader.Read.cs (1)
399
if (header._format == TarEntryFormat.
Unknown
)
System\Formats\Tar\TarHeader.Write.cs (2)
35
Debug.Assert(format is > TarEntryFormat.
Unknown
and <= TarEntryFormat.Gnu);
51
Debug.Assert(format is > TarEntryFormat.
Unknown
and <= TarEntryFormat.Gnu);
System\Formats\Tar\TarHelpers.cs (1)
404
case TarEntryFormat.
Unknown
:
System\Formats\Tar\TarReader.cs (4)
142
TarEntryFormat.V7 or TarEntryFormat.
Unknown
or _ => new V7TarEntry(header, this),
295
TarEntryFormat.V7 or TarEntryFormat.
Unknown
or _ => new V7TarEntry(header, this),
321
TarHeader? header = TarHeader.TryGetNextHeader(_archiveStream, copyData, TarEntryFormat.
Unknown
, processDataBlock: true);
363
TarHeader? header = await TarHeader.TryGetNextHeaderAsync(_archiveStream, copyData, TarEntryFormat.
Unknown
, processDataBlock: true, cancellationToken).ConfigureAwait(false);
System\Formats\Tar\TarWriter.cs (2)
58
/// <exception cref="ArgumentOutOfRangeException"><paramref name="format"/> is either <see cref="TarEntryFormat.
Unknown
"/>, or not one of the other enum values.</exception>
310
Debug.Assert(entry.Format == TarEntryFormat.
Unknown
, "Missing format handler");