diff --git a/Aaru.Archives/Aaru.Archives.csproj b/Aaru.Archives/Aaru.Archives.csproj
index 0460d7331..2f411e5ef 100644
--- a/Aaru.Archives/Aaru.Archives.csproj
+++ b/Aaru.Archives/Aaru.Archives.csproj
@@ -14,8 +14,8 @@
Aaru Data Preservation Suite
Aaru.Archives
$(Version)
- net7.0
- 11
+ net8.0
+ 12
Archive implementations used by the Aaru Data Preservation Suite.
https://github.com/aaru-dps/
LGPL-2.1-only
diff --git a/Aaru.Checksums b/Aaru.Checksums
index 544bc95fd..4fa879da7 160000
--- a/Aaru.Checksums
+++ b/Aaru.Checksums
@@ -1 +1 @@
-Subproject commit 544bc95fd0d746201091ce97c1f71eb5a07228ea
+Subproject commit 4fa879da704d984b8d4caa95edad5a39b4afa777
diff --git a/Aaru.CommonTypes b/Aaru.CommonTypes
index 1d4add328..28df3fb20 160000
--- a/Aaru.CommonTypes
+++ b/Aaru.CommonTypes
@@ -1 +1 @@
-Subproject commit 1d4add3282b517bdd599dba49c18850b151e0991
+Subproject commit 28df3fb207148e8ba79e1a8874c2dad2c6ad8a4f
diff --git a/Aaru.Compression/Aaru.Compression.csproj b/Aaru.Compression/Aaru.Compression.csproj
index cffe3fe80..5b2a5b529 100644
--- a/Aaru.Compression/Aaru.Compression.csproj
+++ b/Aaru.Compression/Aaru.Compression.csproj
@@ -16,8 +16,8 @@
Aaru Data Preservation Suite
Aaru Data Preservation Suite
$(Version)
- net7.0
- 11
+ net8.0
+ 12
Compression algorithms used by the Aaru Data Preservation Suite.
https://github.com/aaru-dps/
LGPL-2.1-only
@@ -80,7 +80,7 @@
-
+
diff --git a/Aaru.Console b/Aaru.Console
index 383eab614..ce95be40b 160000
--- a/Aaru.Console
+++ b/Aaru.Console
@@ -1 +1 @@
-Subproject commit 383eab614739fc174dd39cebf38e19f3fc8c45e7
+Subproject commit ce95be40b56f971a0445ae96083a2561f64fa28a
diff --git a/Aaru.Core/Aaru.Core.csproj b/Aaru.Core/Aaru.Core.csproj
index ecd6cd32b..bd668e6dd 100644
--- a/Aaru.Core/Aaru.Core.csproj
+++ b/Aaru.Core/Aaru.Core.csproj
@@ -14,8 +14,8 @@
Aaru Data Preservation Suite
Aaru.Core
$(Version)
- net7.0
- 11
+ net8.0
+ 12
Contains core algorithms used by the Aaru Data Preservation Suite.
https://github.com/aaru-dps/
GPL-3.0-or-later
diff --git a/Aaru.Core/Statistics.cs b/Aaru.Core/Statistics.cs
index f7688b186..1e4b85a47 100644
--- a/Aaru.Core/Statistics.cs
+++ b/Aaru.Core/Statistics.cs
@@ -225,7 +225,7 @@ static void SubmitStats()
dto.Medias.Add(new MediaStats
{
real = true,
- type = media,
+ MediaType = media,
Value = ctx.Medias.LongCount(c => !c.Synchronized && c.Type == media && c.Real)
});
@@ -233,7 +233,7 @@ static void SubmitStats()
dto.Medias.Add(new MediaStats
{
real = false,
- type = media,
+ MediaType = media,
Value = ctx.Medias.LongCount(c => !c.Synchronized && c.Type == media && !c.Real)
});
}
diff --git a/Aaru.Database/Aaru.Database.csproj b/Aaru.Database/Aaru.Database.csproj
index 9bf1a9f15..2d5b9ebed 100644
--- a/Aaru.Database/Aaru.Database.csproj
+++ b/Aaru.Database/Aaru.Database.csproj
@@ -13,8 +13,8 @@
Aaru Data Preservation Suite
Aaru.Database
$(Version)
- net7.0
- 11
+ net8.0
+ 12
Database models used by the Aaru Data Preservation Suite.
https://github.com/aaru-dps/
LGPL-2.1-only
@@ -47,14 +47,14 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
+
+
-
+
diff --git a/Aaru.Decoders b/Aaru.Decoders
index e944d6b98..abbde2d4f 160000
--- a/Aaru.Decoders
+++ b/Aaru.Decoders
@@ -1 +1 @@
-Subproject commit e944d6b982c70da22dfd8bf06c362a8c238a9790
+Subproject commit abbde2d4fe4ea1b13ac4c0ddfe2f2639ebe6462c
diff --git a/Aaru.Decryption b/Aaru.Decryption
index d41607f90..4efd3a689 160000
--- a/Aaru.Decryption
+++ b/Aaru.Decryption
@@ -1 +1 @@
-Subproject commit d41607f90080062d9bf5febfbebd2264289e7482
+Subproject commit 4efd3a68918b8ef692bebc543361704c35b1ada2
diff --git a/Aaru.Devices/Aaru.Devices.csproj b/Aaru.Devices/Aaru.Devices.csproj
index f1f988e4d..3440ac942 100644
--- a/Aaru.Devices/Aaru.Devices.csproj
+++ b/Aaru.Devices/Aaru.Devices.csproj
@@ -14,8 +14,8 @@
Aaru Data Preservation Suite
Aaru.Devices
$(Version)
- net7.0
- 11
+ net8.0
+ 12
Media device hardware interface implementation used by the Aaru Data Preservation Suite.
https://github.com/aaru-dps/
LGPL-2.1-only
@@ -42,7 +42,7 @@
true
-
+
diff --git a/Aaru.Dto b/Aaru.Dto
index aa1bfe669..49b5e2c72 160000
--- a/Aaru.Dto
+++ b/Aaru.Dto
@@ -1 +1 @@
-Subproject commit aa1bfe66938b4f3658bceb5f52a89a6226dd2ef4
+Subproject commit 49b5e2c7292565bcf89cc9e0befb29aec2862f4f
diff --git a/Aaru.Filesystems/Aaru.Filesystems.csproj b/Aaru.Filesystems/Aaru.Filesystems.csproj
index 0cfe5973f..3dacb6351 100644
--- a/Aaru.Filesystems/Aaru.Filesystems.csproj
+++ b/Aaru.Filesystems/Aaru.Filesystems.csproj
@@ -14,9 +14,9 @@
Aaru Data Preservation Suite
Aaru.Filesystems
$(Version)
- net7.0
+ net8.0
CS0649
- 11
+ 12
Filesystem implementations used by the Aaru Data Preservation Suite.
https://github.com/aaru-dps/
LGPL-2.1-only
diff --git a/Aaru.Filters/Aaru.Filters.csproj b/Aaru.Filters/Aaru.Filters.csproj
index c9382ce24..65d467c1c 100644
--- a/Aaru.Filters/Aaru.Filters.csproj
+++ b/Aaru.Filters/Aaru.Filters.csproj
@@ -14,8 +14,8 @@
Aaru Data Preservation Suite
Aaru.Filters
$(Version)
- net7.0
- 11
+ net8.0
+ 12
File filters used by the Aaru Data Preservation Suite.
https://github.com/aaru-dps/
LGPL-2.1-only
diff --git a/Aaru.Gui/Aaru.Gui.csproj b/Aaru.Gui/Aaru.Gui.csproj
index ba5d173e8..902cdd4d8 100644
--- a/Aaru.Gui/Aaru.Gui.csproj
+++ b/Aaru.Gui/Aaru.Gui.csproj
@@ -10,9 +10,9 @@
Aaru Data Preservation Suite
Aaru Data Preservation Suite
$(Version)
- net7.0
+ net8.0
CS0649,CS0169
- 11
+ 12
Natalia Portillo <claunia@claunia.com>
true
true
@@ -35,7 +35,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/Aaru.Helpers b/Aaru.Helpers
index b03390c74..88caaa77e 160000
--- a/Aaru.Helpers
+++ b/Aaru.Helpers
@@ -1 +1 @@
-Subproject commit b03390c74bff28cd7c48c27abaf6f013d7e4545c
+Subproject commit 88caaa77e71092966ba5a8f3254b90d1d24b61ca
diff --git a/Aaru.Images/Aaru.Images.csproj b/Aaru.Images/Aaru.Images.csproj
index 789b0f590..594e2ff56 100644
--- a/Aaru.Images/Aaru.Images.csproj
+++ b/Aaru.Images/Aaru.Images.csproj
@@ -14,9 +14,9 @@
Aaru Data Preservation Suite
Aaru.DiscImages
$(Version)
- net7.0
+ net8.0
CS0649
- 11
+ 12
Media image formats used by the Aaru Data Preservation Suite.
https://github.com/aaru-dps/
LGPL-2.1-only
@@ -49,7 +49,7 @@
-
+
diff --git a/Aaru.Images/AaruFormat/Write.cs b/Aaru.Images/AaruFormat/Write.cs
index 97ae49558..4d92632f7 100644
--- a/Aaru.Images/AaruFormat/Write.cs
+++ b/Aaru.Images/AaruFormat/Write.cs
@@ -1676,7 +1676,7 @@ public bool Create(string path, MediaType mediaType, Dictionary
};
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref ddtHeader);
+ MemoryMarshal.Write(_structureBytes, in ddtHeader);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
_structureBytes = null;
@@ -1895,7 +1895,7 @@ public bool WriteSector(byte[] data, ulong sectorAddress)
});
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref _currentBlockHeader);
+ MemoryMarshal.Write(_structureBytes, in _currentBlockHeader);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
_structureBytes = null;
@@ -2650,7 +2650,7 @@ public bool Close()
});
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref _currentBlockHeader);
+ MemoryMarshal.Write(_structureBytes, in _currentBlockHeader);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
_structureBytes = null;
@@ -2758,7 +2758,7 @@ public bool Close()
}
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref tagBlock);
+ MemoryMarshal.Write(_structureBytes, in tagBlock);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
if(tagBlock.compression == CompressionType.Lzma)
@@ -2785,7 +2785,7 @@ public bool Close()
idxEntry.offset);
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref _geometryBlock);
+ MemoryMarshal.Write(_structureBytes, in _geometryBlock);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
_index.RemoveAll(t => t is { blockType: BlockType.GeometryBlock, dataType: DataType.NoData });
@@ -2847,7 +2847,7 @@ public bool Close()
};
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref dumpEntry);
+ MemoryMarshal.Write(_structureBytes, in dumpEntry);
dumpMs.Write(_structureBytes, 0, _structureBytes.Length);
if(dumpManufacturer != null)
@@ -2926,7 +2926,7 @@ public bool Close()
};
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref dumpBlock);
+ MemoryMarshal.Write(_structureBytes, in dumpBlock);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
_imageStream.Write(dumpMs.ToArray(), 0, (int)dumpMs.Length);
@@ -2962,7 +2962,7 @@ public bool Close()
};
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref jsonBlock);
+ MemoryMarshal.Write(_structureBytes, in jsonBlock);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
_imageStream.Write(jsonMs.ToArray(), 0, (int)jsonMs.Length);
@@ -2997,7 +2997,7 @@ public bool Close()
};
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref md5Entry);
+ MemoryMarshal.Write(_structureBytes, in md5Entry);
chkMs.Write(_structureBytes, 0, _structureBytes.Length);
chkMs.Write(md5, 0, md5.Length);
chkHeader.entries++;
@@ -3014,7 +3014,7 @@ public bool Close()
};
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref sha1Entry);
+ MemoryMarshal.Write(_structureBytes, in sha1Entry);
chkMs.Write(_structureBytes, 0, _structureBytes.Length);
chkMs.Write(sha1, 0, sha1.Length);
chkHeader.entries++;
@@ -3031,7 +3031,7 @@ public bool Close()
};
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref sha256Entry);
+ MemoryMarshal.Write(_structureBytes, in sha256Entry);
chkMs.Write(_structureBytes, 0, _structureBytes.Length);
chkMs.Write(sha256, 0, sha256.Length);
chkHeader.entries++;
@@ -3048,7 +3048,7 @@ public bool Close()
};
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref spamsumEntry);
+ MemoryMarshal.Write(_structureBytes, in spamsumEntry);
chkMs.Write(_structureBytes, 0, _structureBytes.Length);
chkMs.Write(spamsum, 0, spamsum.Length);
chkHeader.entries++;
@@ -3069,7 +3069,7 @@ public bool Close()
idxEntry.offset);
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref chkHeader);
+ MemoryMarshal.Write(_structureBytes, in chkHeader);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
_imageStream.Write(chkMs.ToArray(), 0, (int)chkMs.Length);
@@ -3126,7 +3126,7 @@ public bool Close()
tapePartitionHeader.crc64 = BitConverter.ToUInt64(_crc64.Final(), 0);
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref tapePartitionHeader);
+ MemoryMarshal.Write(_structureBytes, in tapePartitionHeader);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
_structureBytes = null;
_imageStream.Write(tapePartitionEntriesData, 0, tapePartitionEntriesData.Length);
@@ -3168,7 +3168,7 @@ public bool Close()
tapeFileHeader.crc64 = BitConverter.ToUInt64(_crc64.Final(), 0);
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref tapeFileHeader);
+ MemoryMarshal.Write(_structureBytes, in tapeFileHeader);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
_structureBytes = null;
_imageStream.Write(tapeFileEntriesData, 0, tapeFileEntriesData.Length);
@@ -3243,7 +3243,7 @@ public bool Close()
ddtHeader.cmpCrc64 = BitConverter.ToUInt64(cmpCrc64Context.Final(), 0);
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref ddtHeader);
+ MemoryMarshal.Write(_structureBytes, in ddtHeader);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
_structureBytes = null;
@@ -3347,7 +3347,7 @@ public bool Close()
}
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref prefixBlock);
+ MemoryMarshal.Write(_structureBytes, in prefixBlock);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
if(prefixBlock.compression == CompressionType.Lzma)
@@ -3436,7 +3436,7 @@ public bool Close()
}
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref prefixBlock);
+ MemoryMarshal.Write(_structureBytes, in prefixBlock);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
if(prefixBlock.compression == CompressionType.Lzma)
@@ -3599,7 +3599,7 @@ public bool Close()
ddtHeader.cmpCrc64 = BitConverter.ToUInt64(cmpCrc64Context.Final(), 0);
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref ddtHeader);
+ MemoryMarshal.Write(_structureBytes, in ddtHeader);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
_structureBytes = null;
@@ -3674,7 +3674,7 @@ public bool Close()
ddtHeader.cmpCrc64 = BitConverter.ToUInt64(cmpCrc64Context.Final(), 0);
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref ddtHeader);
+ MemoryMarshal.Write(_structureBytes, in ddtHeader);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
_structureBytes = null;
@@ -3769,7 +3769,7 @@ public bool Close()
}
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref prefixBlock);
+ MemoryMarshal.Write(_structureBytes, in prefixBlock);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
if(prefixBlock.compression == CompressionType.Lzma)
@@ -3863,7 +3863,7 @@ public bool Close()
}
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref suffixBlock);
+ MemoryMarshal.Write(_structureBytes, in suffixBlock);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
if(suffixBlock.compression == CompressionType.Lzma)
@@ -3962,7 +3962,7 @@ public bool Close()
}
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref subheaderBlock);
+ MemoryMarshal.Write(_structureBytes, in subheaderBlock);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
if(subheaderBlock.compression == CompressionType.Lzma)
@@ -4064,7 +4064,7 @@ public bool Close()
}
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref subchannelBlock);
+ MemoryMarshal.Write(_structureBytes, in subchannelBlock);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
if(subchannelBlock.compression is CompressionType.Lzma
@@ -4162,7 +4162,7 @@ public bool Close()
}
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref cprMaiBlock);
+ MemoryMarshal.Write(_structureBytes, in cprMaiBlock);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
if(cprMaiBlock.compression is CompressionType.Lzma
@@ -4257,7 +4257,7 @@ public bool Close()
}
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref idBlock);
+ MemoryMarshal.Write(_structureBytes, in idBlock);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
if(idBlock.compression is CompressionType.Lzma
@@ -4352,7 +4352,7 @@ public bool Close()
}
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref iedBlock);
+ MemoryMarshal.Write(_structureBytes, in iedBlock);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
if(iedBlock.compression is CompressionType.Lzma
@@ -4447,7 +4447,7 @@ public bool Close()
}
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref edcBlock);
+ MemoryMarshal.Write(_structureBytes, in edcBlock);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
if(edcBlock.compression is CompressionType.Lzma
@@ -4543,7 +4543,7 @@ public bool Close()
}
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref titleKeyBlock);
+ MemoryMarshal.Write(_structureBytes, in titleKeyBlock);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
if(titleKeyBlock.compression is CompressionType.Lzma
@@ -4649,7 +4649,7 @@ public bool Close()
});
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref trkHeader);
+ MemoryMarshal.Write(_structureBytes, in trkHeader);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
_imageStream.Write(blockStream.ToArray(), 0, (int)blockStream.Length);
blockStream.Close();
@@ -4703,7 +4703,7 @@ public bool Close()
});
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref cdixHeader);
+ MemoryMarshal.Write(_structureBytes, in cdixHeader);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
_imageStream.Write(blockStream.ToArray(), 0, (int)blockStream.Length);
blockStream.Close();
@@ -4815,7 +4815,7 @@ _imageInfo.MediaType is MediaType.AppleFileWare or MediaType.AppleSonySS or Medi
}
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref subchannelBlock);
+ MemoryMarshal.Write(_structureBytes, in subchannelBlock);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
if(subchannelBlock.compression == CompressionType.Lzma)
@@ -5022,7 +5022,7 @@ _imageInfo.MediaType is MediaType.AppleFileWare or MediaType.AppleSonySS or Medi
metadataBlock.blockSize = (uint)blockStream.Length;
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref metadataBlock);
+ MemoryMarshal.Write(_structureBytes, in metadataBlock);
blockStream.Position = 0;
blockStream.Write(_structureBytes, 0, _structureBytes.Length);
_index.RemoveAll(t => t is { blockType: BlockType.MetadataBlock, dataType: DataType.NoData });
@@ -5049,7 +5049,7 @@ _imageInfo.MediaType is MediaType.AppleFileWare or MediaType.AppleSonySS or Medi
{
_structureBytes = new byte[Marshal.SizeOf()];
IndexEntry indexEntry = entry;
- MemoryMarshal.Write(_structureBytes, ref indexEntry);
+ MemoryMarshal.Write(_structureBytes, in indexEntry);
blockStream.Write(_structureBytes, 0, _structureBytes.Length);
}
@@ -5068,7 +5068,7 @@ _imageInfo.MediaType is MediaType.AppleFileWare or MediaType.AppleSonySS or Medi
// Write index header to disk
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref idxHeader);
+ MemoryMarshal.Write(_structureBytes, in idxHeader);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
}
else
@@ -5082,7 +5082,7 @@ _imageInfo.MediaType is MediaType.AppleFileWare or MediaType.AppleSonySS or Medi
// Write index header to disk
_structureBytes = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(_structureBytes, ref idxHeader);
+ MemoryMarshal.Write(_structureBytes, in idxHeader);
_imageStream.Write(_structureBytes, 0, _structureBytes.Length);
}
diff --git a/Aaru.Images/Anex86/Write.cs b/Aaru.Images/Anex86/Write.cs
index f910869d1..492b044e1 100644
--- a/Aaru.Images/Anex86/Write.cs
+++ b/Aaru.Images/Anex86/Write.cs
@@ -227,7 +227,7 @@ or MediaType.PCCardTypeII or MediaType.PCCardTypeIII or MediaType.PCCardTypeIV &
}
byte[] hdr = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(hdr, ref _header);
+ MemoryMarshal.Write(hdr, in _header);
_writingStream.Seek(0, SeekOrigin.Begin);
_writingStream.Write(hdr, 0, hdr.Length);
diff --git a/Aaru.Images/Apridisk/Write.cs b/Aaru.Images/Apridisk/Write.cs
index 15a13b2e2..c2eb761c2 100644
--- a/Aaru.Images/Apridisk/Write.cs
+++ b/Aaru.Images/Apridisk/Write.cs
@@ -199,7 +199,7 @@ public bool Close()
cylinder = c
};
- MemoryMarshal.Write(hdr, ref record);
+ MemoryMarshal.Write(hdr, in record);
_writingStream.Write(hdr, 0, hdr.Length);
_writingStream.Write(_sectorsData[c][h][s], 0, _sectorsData[c][h][s].Length);
@@ -222,7 +222,7 @@ public bool Close()
cylinder = 0
};
- MemoryMarshal.Write(hdr, ref creatorRecord);
+ MemoryMarshal.Write(hdr, in creatorRecord);
_writingStream.Write(hdr, 0, hdr.Length);
_writingStream.Write(creatorBytes, 0, creatorBytes.Length);
@@ -244,7 +244,7 @@ public bool Close()
cylinder = 0
};
- MemoryMarshal.Write(hdr, ref commentRecord);
+ MemoryMarshal.Write(hdr, in commentRecord);
_writingStream.Write(hdr, 0, hdr.Length);
_writingStream.Write(commentBytes, 0, commentBytes.Length);
diff --git a/Aaru.Images/QED/Write.cs b/Aaru.Images/QED/Write.cs
index 51611330e..f1f6ef225 100644
--- a/Aaru.Images/QED/Write.cs
+++ b/Aaru.Images/QED/Write.cs
@@ -291,7 +291,7 @@ public bool Close()
}
byte[] hdr = new byte[Marshal.SizeOf()];
- MemoryMarshal.Write(hdr, ref _qHdr);
+ MemoryMarshal.Write(hdr, in _qHdr);
_writingStream.Seek(0, SeekOrigin.Begin);
_writingStream.Write(hdr, 0, hdr.Length);
diff --git a/Aaru.Localization/Aaru.Localization.csproj b/Aaru.Localization/Aaru.Localization.csproj
index bb2a9c18c..8afe869bf 100644
--- a/Aaru.Localization/Aaru.Localization.csproj
+++ b/Aaru.Localization/Aaru.Localization.csproj
@@ -1,7 +1,7 @@
- net7.0
+ net8.0
enable
enable
Library
@@ -15,7 +15,7 @@
Aaru Data Preservation Suite
Aaru.Localization
$(Version)
- 11
+ 12
Language resources for the Aaru Data Preservation Suite.
https://github.com/aaru-dps/
LGPL-2.1-only
diff --git a/Aaru.Partitions/Aaru.Partitions.csproj b/Aaru.Partitions/Aaru.Partitions.csproj
index 73e0084ae..96fb2e749 100644
--- a/Aaru.Partitions/Aaru.Partitions.csproj
+++ b/Aaru.Partitions/Aaru.Partitions.csproj
@@ -14,9 +14,9 @@
Aaru Data Preservation Suite
Aaru.Partitions
$(Version)
- net7.0
+ net8.0
CS0649
- 11
+ 12
Partitioning schemes implemented by the Aaru Data Preservation Suite.
https://github.com/aaru-dps/
LGPL-2.1-only
diff --git a/Aaru.Settings/Aaru.Settings.csproj b/Aaru.Settings/Aaru.Settings.csproj
index f5a21519d..9f7085745 100644
--- a/Aaru.Settings/Aaru.Settings.csproj
+++ b/Aaru.Settings/Aaru.Settings.csproj
@@ -14,8 +14,8 @@
Aaru Data Preservation Suite
Aaru.Settings
$(Version)
- net7.0
- 11
+ net8.0
+ 12
Settings interface used by the Aaru Data Preservation Suite.
https://github.com/aaru-dps/
LGPL-2.1-only
diff --git a/Aaru.Tests.Devices/Aaru.Tests.Devices.csproj b/Aaru.Tests.Devices/Aaru.Tests.Devices.csproj
index df4c3cf0e..ad9e8c3aa 100644
--- a/Aaru.Tests.Devices/Aaru.Tests.Devices.csproj
+++ b/Aaru.Tests.Devices/Aaru.Tests.Devices.csproj
@@ -6,7 +6,7 @@
Aaru.Tests.Devices
Aaru.Tests.Devices
$(Version)
- net7.0
+ net8.0
true
6.0.0-alpha9
Claunia.com
@@ -14,7 +14,7 @@
Aaru Data Preservation Suite
Aaru.Tests.Devices
$(Version)
- 11
+ 12
Natalia Portillo <claunia@claunia.com>
true
diff --git a/Aaru.Tests/Aaru.Tests.csproj b/Aaru.Tests/Aaru.Tests.csproj
index 3991e14ce..cdfad3c96 100644
--- a/Aaru.Tests/Aaru.Tests.csproj
+++ b/Aaru.Tests/Aaru.Tests.csproj
@@ -1,11 +1,11 @@
- net7.0
+ net8.0
false
- 11
+ 12
Natalia Portillo <claunia@claunia.com>
true
$(Version)
@@ -21,7 +21,7 @@
-
+
diff --git a/Aaru.sln.DotSettings b/Aaru.sln.DotSettings
index f82ef912a..74fc7b5d7 100644
--- a/Aaru.sln.DotSettings
+++ b/Aaru.sln.DotSettings
@@ -96,6 +96,7 @@
WARNING
WARNING
WARNING
+ WARNING
WARNING
WARNING
WARNING
@@ -137,6 +138,7 @@
WARNING
WARNING
WARNING
+ WARNING
WARNING
WARNING
WARNING
@@ -290,9 +292,11 @@
WARNING
WARNING
WARNING
+ WARNING
WARNING
WARNING
WARNING
+ WARNING
WARNING
WARNING
WARNING
diff --git a/Aaru/Aaru.csproj b/Aaru/Aaru.csproj
index 778589ccc..ce744d5f8 100644
--- a/Aaru/Aaru.csproj
+++ b/Aaru/Aaru.csproj
@@ -7,7 +7,7 @@
Aaru
aaru
$(Version)
- net7.0
+ net8.0
true
6.0.0~alpha9
Claunia.com
@@ -15,11 +15,13 @@
Aaru Data Preservation Suite
Aaru
$(Version)
- alpine-x64;linux-arm64;linux-arm;linux-x64;osx-x64;osx-arm64;win-arm64;win-arm;win-x64;win-x86;debian-arm;debian-arm64;debian-x64;rhel-arm64;rhel-x64;sles-x64
+
+ linux-musl-arm;linux-musl-arm64;linux-musl-x64;linux-arm64;linux-arm;linux-x64;osx-x64;osx-arm64;win-arm64;win-x64;win-x86
true
- 11
+ 12
true
true
+ false
$(Version)+{chash:8}
@@ -92,7 +94,7 @@
-
+
all
@@ -100,8 +102,8 @@
-
-
+
+
all
@@ -132,16 +134,16 @@
/usr/share/mime/packages/aaruformat.xml
-
-
+
+
$(PackagePrefix)-$(PackageVersion)_alpine_aarch64$(DebugPackage)
-
+
$(PackagePrefix)-$(PackageVersion)_alpine_armhf$(DebugPackage)
-
+
$(PackagePrefix)-$(PackageVersion)_alpine_x86_64$(DebugPackage)
@@ -180,6 +182,7 @@
$(PackagePrefix)-$(PackageVersion)_windows_x86$(DebugPackage)
+