mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[Refactor] Use static lambdas in LINQ queries for improved performance
This commit is contained in:
@@ -124,15 +124,17 @@ partial class Dump
|
||||
|
||||
if(filesystems.Count > 0)
|
||||
{
|
||||
foreach(var filesystem in filesystems.Select(o => new
|
||||
foreach(var filesystem in filesystems.Select(static o => new
|
||||
{
|
||||
o.start,
|
||||
o.type
|
||||
})
|
||||
.Distinct())
|
||||
{
|
||||
AaruLogging.WriteLine(Localization.Core.Found_filesystem_0_at_sector_1,
|
||||
filesystem.type,
|
||||
filesystem.start);
|
||||
}
|
||||
}
|
||||
|
||||
sidecar.OpticalDiscs[0].Dimensions = Dimensions.FromMediaType(mediaType);
|
||||
|
||||
Reference in New Issue
Block a user