Remove unused using statements

This commit is contained in:
PowerShell Team authored and Jason Shirk (POWERSHELL) committed 2016-08-03 12:06:06 -07:00
1 parent 38ab0f4d73
commit bc4901bd59
477 files changed
+46 -1493

No files matched your search

@@ -5,9 +5,7 @@
namespace Microsoft.PowerShell.Commands
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Management.Automation;
internal class HeaderInfo
@@ -6,7 +6,6 @@ namespace Microsoft.PowerShell.Commands
{
using System;
using System.Collections;
using System.Globalization;
using System.Management.Automation;
using Microsoft.PowerShell.Commands.Internal.Format;
@@ -7,16 +7,11 @@ namespace Microsoft.PowerShell.Commands
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Reflection;
using System.Threading;
using System.Management.Automation;
using System.Management.Automation.Internal;
using System.Management.Automation.Runspaces;
using Microsoft.PowerShell.Commands.Internal.Format;
using Microsoft.Win32;
/// <summary>
/// Enum for SelectionMode parameter.
@@ -6,14 +6,11 @@ namespace Microsoft.PowerShell.Commands
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Threading;
using System.Reflection;
using System.Management.Automation;
using System.Management.Automation.Internal;
using System.Management.Automation.Runspaces;
using Microsoft.PowerShell.Commands.Internal.Format;
internal class OutWindowProxy : IDisposable
@@ -8,7 +8,6 @@ using System.Management.Automation;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Management.Automation.Runspaces;
using System.Management.Automation.Tracing;
using Microsoft.PowerShell.Commands.Internal.Format;
namespace Microsoft.PowerShell.Commands
@@ -2,8 +2,6 @@
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
using System;
using System.Collections;
using System.Management.Automation;
using Microsoft.PowerShell.Commands.Internal.Format;
@@ -2,7 +2,6 @@
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
using System;
using System.Management.Automation;
using Microsoft.PowerShell.Commands.Internal.Format;
@@ -2,7 +2,6 @@
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
using System;
using System.Management.Automation;
using Microsoft.PowerShell.Commands.Internal.Format;
@@ -3,8 +3,6 @@ Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Printing;
@@ -2,17 +2,7 @@
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
using System;
using System.Collections;
using System.Collections.ObjectModel;
using System.Reflection;
using System.Globalization;
using System.Management.Automation;
using System.IO;
using System.Drawing;
using System.Drawing.Printing;
using Microsoft.PowerShell.Commands.Internal.Format;
namespace Microsoft.PowerShell.Commands
@@ -3,8 +3,6 @@ Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
using System;
using System.Management.Automation;
using Dbg = System.Management.Automation.Diagnostics;
@@ -8,7 +8,6 @@ using System.Collections.Specialized;
using System.Management.Automation;
using System.Management.Automation.Internal;
using System.Reflection;
using System.Text;
namespace Microsoft.PowerShell.Commands
{
@@ -8,8 +8,8 @@ using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Management.Automation;
using System.Management.Automation.Runspaces;
using System.Threading;
using System.Numerics;
using System.Threading;
using Debug = System.Management.Automation.Diagnostics;
using System.Security.Cryptography;
@@ -7,7 +7,6 @@ using System.Globalization;
using System.IO;
using System.Management.Automation.Internal;
using System.Management.Automation;
using System.Text;
using System.Diagnostics.CodeAnalysis;
namespace Microsoft.PowerShell.Commands
@@ -3,20 +3,11 @@ Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
using System;
using System.IO;
using System.Net;
using System.Text;
using System.Collections;
using System.Globalization;
using System.Net.Mail;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
using System.Management.Automation;
using System.Management.Automation.Internal;
using Microsoft.PowerShell.Commands.Internal.Format;
namespace Microsoft.PowerShell.Commands
@@ -10,7 +10,6 @@ namespace Microsoft.PowerShell.Commands
using System.Collections.ObjectModel;
using System.Globalization;
using System.Management.Automation;
using System.Management.Automation.Internal;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
@@ -7,10 +7,6 @@ namespace Microsoft.PowerShell.Commands.ShowCommandExtension
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Management.Automation;
@@ -6,12 +6,6 @@
namespace Microsoft.PowerShell.Commands.ShowCommandExtension
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Management.Automation;
/// <summary>
@@ -7,10 +7,6 @@ namespace Microsoft.PowerShell.Commands.ShowCommandExtension
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Management.Automation;
@@ -7,10 +7,6 @@ namespace Microsoft.PowerShell.Commands.ShowCommandExtension
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Management.Automation;
@@ -8,12 +8,6 @@ namespace Microsoft.PowerShell.Commands.ShowCommandExtension
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Management.Automation;
@@ -7,12 +7,8 @@ namespace Microsoft.PowerShell.Commands
{
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Management.Automation;
using System.Management.Automation.Internal;
using System.Reflection;
using System.Threading;
using System.Collections.ObjectModel;
using Microsoft.PowerShell.Commands.ShowCommandExtension;
@@ -5,8 +5,6 @@ Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Management.Automation;
using System.Collections.ObjectModel;
using System.Management.Automation.Runspaces;
using System.Management.Automation.Provider;
namespace Microsoft.PowerShell.Commands
@@ -7,7 +7,6 @@ using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Globalization;
using System.Reflection;
using System.Threading;
using System.Management.Automation;
using System.Collections.ObjectModel;
using System.Diagnostics.CodeAnalysis;
@@ -7,7 +7,6 @@ using System.Management.Automation;
using System.Management.Automation.Runspaces;
using System.Text;
using System.Diagnostics.CodeAnalysis;
using System.Collections.Generic;
using System.Globalization;
@@ -6,7 +6,6 @@ using System;
using System.Collections.Generic;
using System.Management.Automation;
using System.Reflection;
using System.Text;
namespace Microsoft.PowerShell.Commands
{
@@ -2,7 +2,6 @@
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
using System;
using System.Collections.Generic;
namespace Microsoft.PowerShell.Commands
@@ -7,14 +7,13 @@ using System.Collections.Generic;
using System.Globalization;
using System.Diagnostics.CodeAnalysis;
using System.Management.Automation;
using System.IO;
using System.Reflection;
using System.Collections.ObjectModel;
using System.Management.Automation.Internal;
#if CORECLR
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.ObjectModel;
using System.IO;
using System.Management.Automation.Internal;
using System.Reflection;
#else
using System.Web.Script.Serialization;
using System.Collections.Specialized;
@@ -2,7 +2,6 @@
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
using System;
using System.Collections.ObjectModel;
using System.Management.Automation;
using System.Collections.Generic;
@@ -5,7 +5,6 @@ Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Management.Automation;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.PowerShell.Commands
@@ -7,11 +7,9 @@ using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Management.Automation;
using System.Management.Automation.Internal;
using System.Net;
using System.Reflection;
using System.Text;
using Microsoft.PowerShell.Commands.Internal.Format;
@@ -3,10 +3,8 @@ Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
using System;
using System.IO;
using System.Text;
using System.Management.Automation;
using System.Management.Automation.Host;
using System.Management.Automation.Internal.Host;
#if CORECLR
@@ -5,7 +5,6 @@ Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Management.Automation;
using Dbg = System.Management.Automation.Diagnostics;
@@ -3,7 +3,6 @@ Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
using System;
using System.Collections;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;