From 874a3d4bcbd6df7d3d60a7cf7deab9f5e903af44 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Tue, 17 Aug 2021 17:20:58 +0100 Subject: [PATCH] Property can be made read-only. --- Partition.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Partition.cs b/Partition.cs index 66fb5c3..a14a9b3 100644 --- a/Partition.cs +++ b/Partition.cs @@ -60,7 +60,7 @@ namespace Aaru.CommonTypes /// Information that does not find space in this struct public string Description; /// LBA of last partition sector - public ulong End => Start + Length - 1; + public readonly ulong End => Start + Length - 1; /// Name of partition scheme that contains this partition public string Scheme;