Skip to content

Commit

Permalink
Remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-visionaid committed Nov 18, 2024
1 parent 7d876dc commit 6e3fca4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions OpenMcdf/Sector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ internal record struct Sector(uint Id, int Length)
{
public static readonly Sector EndOfChain = new(SectorType.EndOfChain, 0);

/// <summary>
/// Compound File Binary File Format only specifies that ENDOFCHAIN ends the DIFAT chain
/// but some implementations use FREESECT
/// </summary>
public readonly bool IsEndOfChain => Id is SectorType.EndOfChain or SectorType.Free;

public readonly bool IsValid => Id <= SectorType.Maximum;

/// <summary>
Expand Down

0 comments on commit 6e3fca4

Please sign in to comment.