[Analyzers] Resolve StyleCop issues: SA1516 and SA1616 (#34853)

* [Analyzers][AdvancedPaste] Apply fix for SA1516

* [Analyzers][EnvironmentVariables] Apply fix for SA1516

* [Analyzers][RegistryPreview] Apply fix for SA1516

* [Analyzers][Peek] Apply fix for SA1516

* [Analyzers][PreviewPane] Apply fix for SA1516

* [Analyzers][FancyZones] Apply fix for SA1516

* [Analyzers][PT Run][Plugins] Apply fix for SA1516

* [Analyzers][PT Run] Apply fix for SA1516

* [Analyzers][PT Run][Wox] Apply fix for SA1516

* [Analyzers][Common] Apply fix for SA1516

* [Analyzers][ImageResizer] Apply fix for SA1516

* [Analyzers][ColorPicker] Apply fix for SA1516

* [Analyzers][MouseUtils] Apply fix for SA1516

* [Analyzers][DSC Schema Generator] Apply fix for SA1516

* [Analyzers][FileLocksmith] Apply fix for SA1516

* [Analyzers][Hosts] Apply fix for SA1516

* [Analyzers][MeasureTool] Apply fix for SA1516

* [Analyzers][MouseWithoutBorders] Apply fix for SA1516

* [Analyzers][TextExtractor] Apply fix for SA1516

* [Analyzers][Workspaces] Apply fix for SA1516

* [Analyzers][Awake] Apply fix for SA1516

* [Analyzers][PowerAccent] Apply fix for SA1516

* [Analyzers][RegistryPreview] Apply fix for SA1516

* [Analyzers][Settings] Apply fix for SA1516

* [Analyzers][MouseWithoutBorders] Apply fix for SA1616
This commit is contained in:
Jeremy Sinclair
2024-09-16 16:09:43 -04:00
committed by GitHub
parent 0f16951f23
commit 37f2154c86
635 changed files with 690 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ using System;
using System.IO;
using System.Runtime.CompilerServices;
using System.Security;
using Wox.Plugin.Logger;
namespace Microsoft.Plugin.Program.Logger

View File

@@ -7,6 +7,7 @@ using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using ManagedCommon;
using Microsoft.Plugin.Program.ProgramArgumentParser;
using Microsoft.Plugin.Program.Programs;
@@ -14,6 +15,7 @@ using Microsoft.Plugin.Program.Storage;
using Wox.Infrastructure.Storage;
using Wox.Plugin;
using Wox.Plugin.Common;
using Stopwatch = Wox.Infrastructure.Stopwatch;
namespace Microsoft.Plugin.Program

View File

@@ -4,6 +4,7 @@
using System;
using System.Linq;
using Wox.Plugin;
namespace Microsoft.Plugin.Program

View File

@@ -4,6 +4,7 @@
using System.Linq;
using System.Text.RegularExpressions;
using Wox.Plugin;
namespace Microsoft.Plugin.Program

View File

@@ -5,6 +5,7 @@
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
using Wox.Plugin.Common.Win32;
namespace Microsoft.Plugin.Program.Programs

View File

@@ -4,6 +4,7 @@
using System;
using System.Runtime.InteropServices;
using Wox.Plugin.Common.Win32;
namespace Microsoft.Plugin.Program.Programs

View File

@@ -4,6 +4,7 @@
using System;
using System.Runtime.InteropServices;
using Wox.Plugin.Common.Win32;
namespace Microsoft.Plugin.Program.Programs

View File

@@ -3,6 +3,7 @@
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Wox.Plugin;
namespace Microsoft.Plugin.Program.Programs

View File

@@ -5,8 +5,10 @@
using System;
using System.IO;
using System.Reflection;
using Microsoft.Plugin.Program.Logger;
using Windows.Foundation.Metadata;
using Package = Windows.ApplicationModel.Package;
namespace Microsoft.Plugin.Program.Programs

View File

@@ -6,8 +6,10 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using Windows.Management.Deployment;
using Wox.Plugin.Logger;
using Package = Windows.ApplicationModel.Package;
namespace Microsoft.Plugin.Program.Programs

View File

@@ -10,6 +10,7 @@ using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
using System.Xml.Linq;
using Microsoft.Plugin.Program.Logger;
using Wox.Plugin.Common.Win32;
using Wox.Plugin.Logger;

View File

@@ -18,6 +18,7 @@ using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Xml;
using ManagedCommon;
using Microsoft.Plugin.Program.Logger;
using Wox.Infrastructure;
@@ -26,6 +27,7 @@ using Wox.Plugin;
using Wox.Plugin.Common;
using Wox.Plugin.Common.Win32;
using Wox.Plugin.Logger;
using PackageVersion = Microsoft.Plugin.Program.Programs.UWP.PackageVersion;
namespace Microsoft.Plugin.Program.Programs

View File

@@ -14,6 +14,7 @@ using System.Security;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows.Input;
using Microsoft.Plugin.Program.Logger;
using Microsoft.Plugin.Program.Utils;
using Microsoft.Win32;
@@ -21,6 +22,7 @@ using Wox.Infrastructure;
using Wox.Infrastructure.FileSystemHelper;
using Wox.Plugin;
using Wox.Plugin.Logger;
using DirectoryWrapper = Wox.Infrastructure.FileSystemHelper.DirectoryWrapper;
namespace Microsoft.Plugin.Program.Programs

View File

@@ -4,6 +4,7 @@
using System;
using System.Linq;
using Microsoft.Plugin.Program.Logger;
using Microsoft.Plugin.Program.Programs;
using Windows.ApplicationModel;

View File

@@ -6,6 +6,7 @@ using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Wox.Infrastructure.Storage;
using Wox.Plugin.Logger;

View File

@@ -9,8 +9,10 @@ using System.Collections.ObjectModel;
using System.IO;
using System.IO.Abstractions;
using System.Threading.Tasks;
using Wox.Infrastructure.Storage;
using Wox.Plugin.Logger;
using Win32Program = Microsoft.Plugin.Program.Programs.Win32Program;
namespace Microsoft.Plugin.Program.Storage

View File

@@ -7,6 +7,7 @@ using System.ComponentModel;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using Microsoft.Win32.SafeHandles;
using Windows.Storage.Streams;
using Wox.Plugin;