mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-27 03:46:23 +08:00
Remove unnecessary using in namespaces folder (#13860)
This commit is contained in:
parent
9bbba286c0
commit
9b39f05557
@ -1,7 +1,6 @@
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Management.Automation;
|
||||
|
@ -4,8 +4,6 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Management.Automation.Internal;
|
||||
|
||||
using Dbg = System.Management.Automation;
|
||||
|
||||
namespace System.Management.Automation.Provider
|
||||
{
|
||||
#region DriveCmdletProvider
|
||||
|
@ -1,7 +1,6 @@
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Management.Automation;
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Management.Automation.Internal;
|
||||
using System.Text;
|
||||
|
||||
namespace System.Management.Automation.Provider
|
||||
{
|
||||
|
@ -9,7 +9,6 @@ using System.IO;
|
||||
using System.Management.Automation.Runspaces;
|
||||
using System.Management.Automation.Internal;
|
||||
using System.Management.Automation.Host;
|
||||
using System.Reflection;
|
||||
using System.Resources;
|
||||
using System.Diagnostics.CodeAnalysis; // for fxcop
|
||||
using System.Security.AccessControl;
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
#if !UNIX
|
||||
|
||||
using System;
|
||||
using System.Management.Automation;
|
||||
using System.Management.Automation.Provider;
|
||||
using System.Security.AccessControl;
|
||||
|
@ -16,16 +16,10 @@ namespace Microsoft.PowerShell.Commands.Internal
|
||||
{
|
||||
using System;
|
||||
using System.Security;
|
||||
using System.Text;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Versioning;
|
||||
using System.Management.Automation;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
|
||||
using BOOL = System.Int32;
|
||||
using DWORD = System.UInt32;
|
||||
using ULONG = System.UInt32;
|
||||
|
||||
/**
|
||||
* Win32 encapsulation for MSCORLIB.
|
||||
|
Loading…
Reference in New Issue
Block a user