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; }