From f3ae5abf08788dd92c27f9cf6a85a70bea803f24 Mon Sep 17 00:00:00 2001 From: xtqqczze Date: Sat, 14 Nov 2020 01:46:52 +0000 Subject: [PATCH] Fix whitespace issues --- 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 97f4d72ca4c..74745fca6da 100644 --- a/src/System.Management.Automation/engine/ParameterSetInfo.cs +++ b/src/System.Management.Automation/engine/ParameterSetInfo.cs @@ -105,7 +105,7 @@ public override string ToString() 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 6b4e91efae3..9b2dfffa176 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 @@ private void GetContainerPropertiesInternal() } } - 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 23160e63897..149a3711f7d 100644 --- a/src/System.Management.Automation/namespaces/RegistryProvider.cs +++ b/src/System.Management.Automation/namespaces/RegistryProvider.cs @@ -3835,7 +3835,7 @@ private static object ConvertValueToKind(object value, RegistryValueKind kind) 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 b3967bcb834..1de51558040 100644 --- a/src/System.Management.Automation/security/SecurityManager.cs +++ b/src/System.Management.Automation/security/SecurityManager.cs @@ -398,7 +398,7 @@ private bool SetPolicyFromAuthenticodePrompt(string path, PSHost host, ref Excep reason = new UnauthorizedAccessException(reasonMessage); policyCheckPassed = false; } - + break; }