Skip to content

Commit eafeab5

Browse files
authored
1 parent 8f659a2 commit eafeab5

6 files changed

Lines changed: 23 additions & 39 deletions

File tree

src/Microsoft.PowerShell.Security/security/AclCommands.cs

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
#pragma warning disable 56506
66

77
using System;
8-
using System.Management.Automation;
9-
using Dbg = System.Management.Automation;
10-
using System.Management.Automation.Security;
11-
using System.Security.AccessControl;
12-
using System.Security.Principal;
138
using System.Collections.Generic;
149
using System.Collections.ObjectModel;
10+
using System.ComponentModel;
1511
using System.Diagnostics.CodeAnalysis;
16-
using System.Runtime.InteropServices;
1712
using System.Globalization;
18-
using System.ComponentModel;
19-
using System.Reflection;
13+
using System.Management.Automation;
14+
using System.Management.Automation.Security;
15+
using System.Runtime.InteropServices;
16+
using System.Security.AccessControl;
17+
using System.Security.Principal;
18+
19+
using Dbg = System.Management.Automation;
2020

2121
namespace Microsoft.PowerShell.Commands
2222
{
@@ -1588,4 +1588,3 @@ protected override void ProcessRecord()
15881588
}
15891589

15901590
#pragma warning restore 56506
1591-

src/Microsoft.PowerShell.Security/security/CatalogCommands.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,10 @@
44
#if !UNIX
55

66
using System;
7+
using System.Collections.ObjectModel;
8+
using System.IO;
79
using System.Management.Automation;
810
using Dbg = System.Management.Automation.Diagnostics;
9-
using System.Collections;
10-
using System.IO;
11-
using System.Management.Automation.Provider;
12-
using System.Runtime.InteropServices;
13-
using System.Collections.ObjectModel;
14-
using System.Diagnostics.CodeAnalysis;
1511

1612
namespace Microsoft.PowerShell.Commands
1713
{

src/Microsoft.PowerShell.Security/security/CertificateCommands.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
33

4-
using System;
5-
using System.Collections;
64
using System.Collections.Generic;
75
using System.Diagnostics.CodeAnalysis;
8-
using System.IO;
96
using System.Management.Automation;
107
using System.Security;
118
using System.Security.Cryptography;

src/Microsoft.PowerShell.Security/security/CertificateProvider.cs

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,29 @@
44
#if !UNIX
55

66
using System;
7+
using System.Collections;
8+
using System.Collections.Generic;
9+
using System.Collections.ObjectModel;
10+
using System.Diagnostics;
11+
using System.Diagnostics.CodeAnalysis;
12+
using System.Globalization;
13+
using System.IO;
714
using System.Management.Automation;
815
using System.Management.Automation.Host;
916
using System.Management.Automation.Internal;
10-
using Runspaces = System.Management.Automation.Runspaces;
11-
using Dbg = System.Management.Automation;
12-
using Security = System.Management.Automation.Security;
13-
using System.Collections.Generic;
14-
using System.Collections.ObjectModel;
15-
using System.Collections;
16-
using System.Runtime.InteropServices;
1717
using System.Management.Automation.Provider;
18+
using System.Runtime.InteropServices;
19+
using System.Security;
1820
using System.Security.Cryptography;
1921
using System.Security.Cryptography.X509Certificates;
2022
using System.Text.RegularExpressions;
21-
using System.Globalization;
22-
using System.IO;
23-
using System.Diagnostics;
24-
using System.Diagnostics.CodeAnalysis;
2523
using System.Xml;
2624
using System.Xml.XPath;
27-
using System.Security;
25+
26+
using Dbg = System.Management.Automation;
2827
using DWORD = System.UInt32;
28+
using Runspaces = System.Management.Automation.Runspaces;
29+
using Security = System.Management.Automation.Security;
2930

3031
namespace Microsoft.PowerShell.Commands
3132
{

src/Microsoft.PowerShell.Security/security/SecureStringCommands.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Licensed under the MIT License.
33

44
using System;
5-
using System.Globalization;
6-
using System.IO;
75
using System.Management.Automation;
86
using System.Runtime.InteropServices;
97
using System.Security;

src/Microsoft.PowerShell.Security/security/SignatureCommands.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,15 @@
22
// Licensed under the MIT License.
33

44
using System;
5-
using System.Collections;
6-
using System.Collections.Generic;
75
using System.Collections.ObjectModel;
86
using System.Diagnostics.CodeAnalysis;
97
using System.IO;
108
using System.Management.Automation;
119
using System.Management.Automation.Internal;
12-
using System.Management.Automation.Provider;
13-
using System.Runtime.InteropServices;
14-
using System.Security;
1510
using System.Security.Cryptography.X509Certificates;
1611

1712
using Dbg = System.Management.Automation.Diagnostics;
1813

19-
using DWORD = System.UInt32;
20-
2114
namespace Microsoft.PowerShell.Commands
2215
{
2316
/// <summary>

0 commit comments

Comments
 (0)