spelling: intentionally

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2020-10-30 14:41:23 -04:00
parent b0a584d5ee
commit 6c0efef967
4 changed files with 6 additions and 6 deletions

View file

@ -132,7 +132,7 @@ namespace Microsoft.Plugin.Program.Programs
Version = PackageVersion.Unknown; Version = PackageVersion.Unknown;
} }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Justification = "Intentially keeping the process alive.")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Justification = "Intentionally keeping the process alive.")]
public static UWPApplication[] All() public static UWPApplication[] All()
{ {
var windows10 = new Version(10, 0); var windows10 = new Version(10, 0);
@ -170,7 +170,7 @@ namespace Microsoft.Plugin.Program.Programs
} }
} }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Justification = "Intentially keeping the process alive.")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Justification = "Intentionally keeping the process alive.")]
private static IEnumerable<IPackage> CurrentUserPackages() private static IEnumerable<IPackage> CurrentUserPackages()
{ {
var ps = PackageManagerWrapper.FindPackagesForCurrentUser(); var ps = PackageManagerWrapper.FindPackagesForCurrentUser();

View file

@ -118,7 +118,7 @@ namespace Microsoft.Plugin.Program.Programs
return result; return result;
} }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Justification = "Intentially keeping the process alive.")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Justification = "Intentionally keeping the process alive.")]
public List<ContextMenuResult> ContextMenus(string queryArguments, IPublicAPI api) public List<ContextMenuResult> ContextMenus(string queryArguments, IPublicAPI api)
{ {
if (api == null) if (api == null)
@ -196,7 +196,7 @@ namespace Microsoft.Plugin.Program.Programs
return contextMenus; return contextMenus;
} }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Justification = "Intentially keeping the process alive, and showing the user an error message")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Justification = "Intentionally keeping the process alive, and showing the user an error message")]
private async void Launch(IPublicAPI api, string queryArguments) private async void Launch(IPublicAPI api, string queryArguments)
{ {
var appManager = new ApplicationActivationHelper.ApplicationActivationManager(); var appManager = new ApplicationActivationHelper.ApplicationActivationManager();

View file

@ -242,7 +242,7 @@ namespace Microsoft.Plugin.Program.Programs
return result; return result;
} }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Justification = "Intentially keeping the process alive.")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Justification = "Intentionally keeping the process alive.")]
public List<ContextMenuResult> ContextMenus(string queryArguments, IPublicAPI api) public List<ContextMenuResult> ContextMenus(string queryArguments, IPublicAPI api)
{ {
if (api == null) if (api == null)

View file

@ -88,7 +88,7 @@ namespace Microsoft.Plugin.Program.Storage
} }
} }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Justification = "Intentially keeping the process alive>")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Justification = "Intentionally keeping the process alive>")]
private void OnAppRenamed(object sender, RenamedEventArgs e) private void OnAppRenamed(object sender, RenamedEventArgs e)
{ {
string oldPath = e.OldFullPath; string oldPath = e.OldFullPath;