mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[Refactor] Replace backing fields with auto-properties in view models
This commit is contained in:
@@ -39,7 +39,6 @@ namespace Aaru.Checksums;
|
||||
/// <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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user