5 writes to _format
System.Formats.Tar (5)
System\Formats\Tar\TarHeader.cs (1)
92_format = format;
System\Formats\Tar\TarHeader.Read.cs (4)
401header._format = header._typeFlag switch 436_format = TarEntryFormat.V7; 444_format = TarEntryFormat.Gnu; 452_format = TarEntryFormat.Ustar;
25 references to _format
System.Formats.Tar (25)
System\Formats\Tar\PaxTarEntry.cs (1)
112if (other._header._format is TarEntryFormat.Ustar or TarEntryFormat.Pax)
System\Formats\Tar\TarEntry.cs (3)
24protected bool FormatIsOctalOnly => _header._format is TarEntryFormat.V7 or TarEntryFormat.Ustar; 31Debug.Assert(header._format == format); 82public TarEntryFormat Format => _header._format;
System\Formats\Tar\TarHeader.Read.cs (8)
70if (header._format != TarEntryFormat.V7) 78Debug.Assert(header._format is TarEntryFormat.Ustar or TarEntryFormat.Pax or TarEntryFormat.Gnu); 79if (header._format == TarEntryFormat.Ustar) 83else if (header._format == TarEntryFormat.Gnu) 399if (header._format == TarEntryFormat.Unknown) 449if (_format == TarEntryFormat.V7) 465if (_format == TarEntryFormat.V7) 471switch (_format)
System\Formats\Tar\TarHeader.Write.cs (10)
529if (_format is TarEntryFormat.V7) 649if (_format is not TarEntryFormat.Pax and not TarEntryFormat.Gnu) 707if (_format is not TarEntryFormat.Pax) 725if (_format is not TarEntryFormat.Pax) 1070if (isOctalRange || _format == TarEntryFormat.Pax) 1074else if (_format == TarEntryFormat.Gnu) 1085throw new ArgumentException(SR.Format(SR.TarFieldTooLargeForEntryFormat, _format)); 1096if (isOctalRange || _format == TarEntryFormat.Pax) 1100else if (_format == TarEntryFormat.Gnu) 1110throw new ArgumentException(SR.Format(SR.TarFieldTooLargeForEntryFormat, _format));
System\Formats\Tar\TarReader.cs (2)
136TarEntry entry = header._format switch 289TarEntry entry = header._format switch
System\Formats\Tar\UstarTarEntry.cs (1)
47if (other._header._format is TarEntryFormat.Ustar or TarEntryFormat.Pax)