diff --git a/src/SharpCompress/Archives/AbstractArchive.cs b/src/SharpCompress/Archives/AbstractArchive.cs
index 7e24a0c8..38b71ba3 100644
--- a/src/SharpCompress/Archives/AbstractArchive.cs
+++ b/src/SharpCompress/Archives/AbstractArchive.cs
@@ -81,29 +81,29 @@ namespace SharpCompress.Archives
///
/// Returns an ReadOnlyCollection of all the RarArchiveEntries across the one or many parts of the RarArchive.
///
- public virtual ICollection Entries { get { return lazyEntries; } }
+ public virtual ICollection Entries => lazyEntries;
///
/// Returns an ReadOnlyCollection of all the RarArchiveVolumes across the one or many parts of the RarArchive.
///
- public ICollection Volumes { get { return lazyVolumes; } }
+ public ICollection Volumes => lazyVolumes;
///
/// The total size of the files compressed in the archive.
///
- public virtual long TotalSize { get { return Entries.Aggregate(0L, (total, cf) => total + cf.CompressedSize); } }
+ public virtual long TotalSize => Entries.Aggregate(0L, (total, cf) => total + cf.CompressedSize);
///
/// The total size of the files as uncompressed in the archive.
///
- public virtual long TotalUncompressSize { get { return Entries.Aggregate(0L, (total, cf) => total + cf.Size); } }
+ public virtual long TotalUncompressSize => Entries.Aggregate(0L, (total, cf) => total + cf.Size);
protected abstract IEnumerable LoadVolumes(IEnumerable streams);
protected abstract IEnumerable LoadEntries(IEnumerable volumes);
- IEnumerable IArchive.Entries { get { return Entries.Cast(); } }
+ IEnumerable IArchive.Entries => Entries.Cast();
- IEnumerable IArchive.Volumes { get { return lazyVolumes.Cast(); } }
+ IEnumerable IArchive.Volumes => lazyVolumes.Cast();
public virtual void Dispose()
{
@@ -160,7 +160,7 @@ namespace SharpCompress.Archives
///
/// Archive is SOLID (this means the Archive saved bytes by reusing information which helps for archives containing many small files).
///
- public virtual bool IsSolid { get { return false; } }
+ public virtual bool IsSolid => false;
///
/// The archive can find all the parts of the archive needed to fully extract the archive. This forces the parsing of the entire archive.