From 6e3fca49acd319c4a101f3339ed81b9029c2d49d Mon Sep 17 00:00:00 2001 From: Jeremy Powell Date: Mon, 18 Nov 2024 21:17:59 +1300 Subject: [PATCH] Remove redundant code --- OpenMcdf/Sector.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/OpenMcdf/Sector.cs b/OpenMcdf/Sector.cs index 364a522..6145207 100644 --- a/OpenMcdf/Sector.cs +++ b/OpenMcdf/Sector.cs @@ -11,12 +11,6 @@ internal record struct Sector(uint Id, int Length) { public static readonly Sector EndOfChain = new(SectorType.EndOfChain, 0); - /// - /// Compound File Binary File Format only specifies that ENDOFCHAIN ends the DIFAT chain - /// but some implementations use FREESECT - /// - public readonly bool IsEndOfChain => Id is SectorType.EndOfChain or SectorType.Free; - public readonly bool IsValid => Id <= SectorType.Maximum; ///