3 writes to _fileComment
System.IO.Compression (3)
System\IO\Compression\ZipArchiveEntry.cs (3)
143_fileComment = cd.FileComment; 196_fileComment = Array.Empty<byte>(); 300_fileComment = ZipHelper.GetEncodedTruncatedBytesFromString(value, _archive.EntryNameAndCommentEncoding, ushort.MaxValue, out bool isUTF8);
8 references to _fileComment
System.IO.Compression (8)
System\IO\Compression\ZipArchiveEntry.Async.cs (2)
420if (_fileComment.Length > 0) 422await _archive.ArchiveStream.WriteAsync(_fileComment, cancellationToken).ConfigureAwait(false);
System\IO\Compression\ZipArchiveEntry.cs (6)
297get => DecodeEntryString(_fileComment); 733Debug.Assert(_fileComment.Length <= ushort.MaxValue); 818+ _fileComment.Length; 868BinaryPrimitives.WriteUInt16LittleEndian(cdStaticHeader[ZipCentralDirectoryFileHeader.FieldLocations.FileCommentLength..], (ushort)_fileComment.Length); 903if (_fileComment.Length > 0) 905_archive.ArchiveStream.Write(_fileComment);