[Refactor] Replace backing fields with auto-properties in view models

This commit is contained in:
2025-11-24 01:40:50 +00:00
parent e9842195e1
commit 5fe7f574d6
12 changed files with 57 additions and 73 deletions

View File

@@ -39,7 +39,6 @@ namespace Aaru.Compression;
/// <summary>Handles native implementations of compression algorithms</summary>
public static partial class Native
{
static bool _checked;
static bool _supported;
/// <summary>Set to return native as never supported</summary>
@@ -55,10 +54,10 @@ public static partial class Native
{
if(ForceManaged) return false;
if(_checked) return _supported;
if(field) return _supported;
ulong version;
_checked = true;
field = true;
try
{