From c9df1c18109892202997783de10c14700888efe5 Mon Sep 17 00:00:00 2001 From: xtqqczze <45661989+xtqqczze@users.noreply.github.com> Date: Thu, 19 Nov 2020 05:06:02 +0000 Subject: [PATCH] Fix whitespace issues (#14092) --- src/System.Management.Automation/engine/ParameterSetInfo.cs | 2 +- .../engine/remoting/common/RunspaceConnectionInfo.cs | 2 +- src/System.Management.Automation/namespaces/RegistryProvider.cs | 2 +- src/System.Management.Automation/security/SecurityManager.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/System.Management.Automation/engine/ParameterSetInfo.cs b/src/System.Management.Automation/engine/ParameterSetInfo.cs index 97f4d72ca4..74745fca6d 100644 --- a/src/System.Management.Automation/engine/ParameterSetInfo.cs +++ b/src/System.Management.Automation/engine/ParameterSetInfo.cs @@ -105,7 +105,7 @@ namespace System.Management.Automation result.Append(']'); }); - return result.ToString(); + return result.ToString(); } /// diff --git a/src/System.Management.Automation/engine/remoting/common/RunspaceConnectionInfo.cs b/src/System.Management.Automation/engine/remoting/common/RunspaceConnectionInfo.cs index 6b4e91efae..9b2dfffa17 100644 --- a/src/System.Management.Automation/engine/remoting/common/RunspaceConnectionInfo.cs +++ b/src/System.Management.Automation/engine/remoting/common/RunspaceConnectionInfo.cs @@ -3458,7 +3458,7 @@ namespace System.Management.Automation.Runspaces } } - if (ContainerObRoot == null) + if (ContainerObRoot == null) { throw new PSInvalidOperationException(RemotingErrorIdStrings.CannotGetHostInteropTypes); } diff --git a/src/System.Management.Automation/namespaces/RegistryProvider.cs b/src/System.Management.Automation/namespaces/RegistryProvider.cs index 23160e6389..149a3711f7 100644 --- a/src/System.Management.Automation/namespaces/RegistryProvider.cs +++ b/src/System.Management.Automation/namespaces/RegistryProvider.cs @@ -3835,7 +3835,7 @@ namespace Microsoft.PowerShell.Commands value = 0; } } - + break; case RegistryValueKind.ExpandString: diff --git a/src/System.Management.Automation/security/SecurityManager.cs b/src/System.Management.Automation/security/SecurityManager.cs index b3967bcb83..1de5155804 100644 --- a/src/System.Management.Automation/security/SecurityManager.cs +++ b/src/System.Management.Automation/security/SecurityManager.cs @@ -398,7 +398,7 @@ namespace Microsoft.PowerShell reason = new UnauthorizedAccessException(reasonMessage); policyCheckPassed = false; } - + break; }