5 writes to _format
System.Formats.Tar (5)
System\Formats\Tar\TarHeader.cs (1)
112_format = format;
System\Formats\Tar\TarHeader.Read.cs (4)
463header._format = header._typeFlag switch 516_format = TarEntryFormat.V7; 524_format = TarEntryFormat.Gnu; 532_format = TarEntryFormat.Ustar;
28 references to _format
System.Formats.Tar (28)
System\Formats\Tar\PaxTarEntry.cs (1)
91if (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.cs (3)
192if (_format == TarEntryFormat.Pax && _ea is not null) 209if (_format == TarEntryFormat.Pax && _ea is not null) 224if (_format == TarEntryFormat.Pax && _ea is not null)
System\Formats\Tar\TarHeader.Read.cs (8)
55if (header._format != TarEntryFormat.V7) 63Debug.Assert(header._format is TarEntryFormat.Ustar or TarEntryFormat.Pax or TarEntryFormat.Gnu); 64if (header._format is TarEntryFormat.Ustar or TarEntryFormat.Pax) 74else if (header._format == TarEntryFormat.Gnu) 461if (header._format == TarEntryFormat.Unknown) 529if (_format == TarEntryFormat.V7) 545if (_format == TarEntryFormat.V7) 551switch (_format)
System\Formats\Tar\TarHeader.Write.cs (11)
531if (_format is TarEntryFormat.V7) 644if (_format is not TarEntryFormat.Pax and not TarEntryFormat.Gnu) 702if (_format is not TarEntryFormat.Pax) 720if (_format is not TarEntryFormat.Pax) 1033if (isOctalRange || _format == TarEntryFormat.Pax) 1037else if (_format == TarEntryFormat.Gnu) 1048throw new ArgumentException(SR.Format(SR.TarFieldTooLargeForEntryFormat, _format)); 1062if (_format == TarEntryFormat.Gnu) 1079if (isOctalRange || _format == TarEntryFormat.Pax) 1083else if (_format == TarEntryFormat.Gnu) 1093throw new ArgumentException(SR.Format(SR.TarFieldTooLargeForEntryFormat, _format));
System\Formats\Tar\TarReader.cs (1)
216TarEntry entry = header._format switch
System\Formats\Tar\UstarTarEntry.cs (1)
47if (other._header._format is TarEntryFormat.Ustar or TarEntryFormat.Pax)