mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 20:57:22 +02:00
[Awake] Enable analyzer and fix warnings
This commit is contained in:
@@ -15,6 +15,8 @@
|
|||||||
<Company>Microsoft Corporation</Company>
|
<Company>Microsoft Corporation</Company>
|
||||||
<Version>$(Version).0</Version>
|
<Version>$(Version).0</Version>
|
||||||
<ApplicationIcon>Images\Awake.ico</ApplicationIcon>
|
<ApplicationIcon>Images\Awake.ico</ApplicationIcon>
|
||||||
|
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
||||||
|
<AnalysisMode>Recommended</AnalysisMode>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
|||||||
@@ -36,9 +36,9 @@ namespace Awake
|
|||||||
// the pull request is issued.
|
// the pull request is issued.
|
||||||
private static readonly string BuildId = "ARBITER_01312022";
|
private static readonly string BuildId = "ARBITER_01312022";
|
||||||
|
|
||||||
private static Mutex? _mutex = null;
|
private static Mutex? _mutex;
|
||||||
private static FileSystemWatcher? _watcher = null;
|
private static FileSystemWatcher? _watcher;
|
||||||
private static SettingsUtils? _settingsUtils = null;
|
private static SettingsUtils? _settingsUtils;
|
||||||
|
|
||||||
public static Mutex LockMutex { get => _mutex; set => _mutex = value; }
|
public static Mutex LockMutex { get => _mutex; set => _mutex = value; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user