5 writes to _format
System.Formats.Tar (5)
System\Formats\Tar\TarHeader.cs (1)
92_format = format;
System\Formats\Tar\TarHeader.Read.cs (4)
403header._format = header._typeFlag switch 438_format = TarEntryFormat.V7; 446_format = TarEntryFormat.Gnu; 454_format = TarEntryFormat.Ustar;
25 references to _format
System.Formats.Tar (25)
System\Formats\Tar\PaxTarEntry.cs (1)
115if (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)
72if (header._format != TarEntryFormat.V7) 80Debug.Assert(header._format is TarEntryFormat.Ustar or TarEntryFormat.Pax or TarEntryFormat.Gnu); 81if (header._format == TarEntryFormat.Ustar) 85else if (header._format == TarEntryFormat.Gnu) 401if (header._format == TarEntryFormat.Unknown) 451if (_format == TarEntryFormat.V7) 467if (_format == TarEntryFormat.V7) 473switch (_format)
System\Formats\Tar\TarHeader.Write.cs (10)
565if (_format is TarEntryFormat.V7) 685if (_format is not TarEntryFormat.Pax and not TarEntryFormat.Gnu) 743if (_format is not TarEntryFormat.Pax) 761if (_format is not TarEntryFormat.Pax) 1116if (isOctalRange || _format == TarEntryFormat.Pax) 1120else if (_format == TarEntryFormat.Gnu) 1131throw new ArgumentException(SR.Format(SR.TarFieldTooLargeForEntryFormat, _format)); 1142if (isOctalRange || _format == TarEntryFormat.Pax) 1146else if (_format == TarEntryFormat.Gnu) 1156throw 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)