10 references to Unknown
System.Formats.Tar (10)
System\Formats\Tar\TarHeader.Read.cs (1)
399if (header._format == TarEntryFormat.Unknown)
System\Formats\Tar\TarHeader.Write.cs (2)
35Debug.Assert(format is > TarEntryFormat.Unknown and <= TarEntryFormat.Gnu); 51Debug.Assert(format is > TarEntryFormat.Unknown and <= TarEntryFormat.Gnu);
System\Formats\Tar\TarHelpers.cs (1)
404case TarEntryFormat.Unknown:
System\Formats\Tar\TarReader.cs (4)
142TarEntryFormat.V7 or TarEntryFormat.Unknown or _ => new V7TarEntry(header, this), 295TarEntryFormat.V7 or TarEntryFormat.Unknown or _ => new V7TarEntry(header, this), 321TarHeader? header = TarHeader.TryGetNextHeader(_archiveStream, copyData, TarEntryFormat.Unknown, processDataBlock: true); 363TarHeader? 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> 310Debug.Assert(entry.Format == TarEntryFormat.Unknown, "Missing format handler");