mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Remove unused using statements
This commit is contained in:
1 parent
38ab0f4d73
commit
bc4901bd59
477 files changed
+46
-1493
No files matched your search
@@ -13,8 +13,6 @@ using System.IO;
|
||||
using System.Linq;
|
||||
using System.Management.Automation;
|
||||
using System.Management.Automation.Language;
|
||||
using System.Management.Automation.Runspaces;
|
||||
using System.Management.Automation.Security;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
|
||||
-2
@@ -4,9 +4,7 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
using System;
|
||||
using System.Management.Automation;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Management.Automation.Internal;
|
||||
using System.Management.Automation.Language;
|
||||
|
||||
|
||||
-2
@@ -5,10 +5,8 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Management.Automation;
|
||||
using System.Management.Automation.Internal;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace Microsoft.PowerShell.Commands.Internal.Format
|
||||
{
|
||||
|
||||
-2
@@ -3,10 +3,8 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Specialized;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Management.Automation;
|
||||
using System.Management.Automation.Internal;
|
||||
|
||||
|
||||
-2
@@ -2,8 +2,6 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.PowerShell.Commands.Internal.Format
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
-6
@@ -3,12 +3,6 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Xml;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Management.Automation;
|
||||
|
||||
using Microsoft.PowerShell.Commands.Internal.Format;
|
||||
|
||||
namespace Microsoft.PowerShell.Commands
|
||||
|
||||
-4
@@ -2,10 +2,6 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.PowerShell.Commands.Internal.Format
|
||||
{
|
||||
#region Type Info Database
|
||||
|
||||
-1
@@ -6,7 +6,6 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// containing display and formatting information
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Xml;
|
||||
using Microsoft.PowerShell.Commands;
|
||||
using Microsoft.PowerShell.Commands.Internal.Format;
|
||||
|
||||
|
||||
-4
@@ -5,10 +5,6 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// this file contains the data structures for the in memory database
|
||||
// containing display and formatting information
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace Microsoft.PowerShell.Commands.Internal.Format
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
-7
@@ -3,17 +3,10 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Specialized;
|
||||
using System.Xml;
|
||||
using System.Reflection;
|
||||
using System.IO;
|
||||
using System.Diagnostics;
|
||||
using System.Text;
|
||||
|
||||
using System.Management.Automation;
|
||||
using System.Management.Automation.Internal;
|
||||
using System.Management.Automation.Host;
|
||||
|
||||
-3
@@ -3,11 +3,8 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Xml;
|
||||
using System.Globalization;
|
||||
|
||||
|
||||
-4
@@ -3,12 +3,8 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Specialized;
|
||||
using System.Xml;
|
||||
using System.Globalization;
|
||||
using System.Management.Automation.Internal;
|
||||
|
||||
namespace Microsoft.PowerShell.Commands.Internal.Format
|
||||
|
||||
-4
@@ -2,11 +2,7 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Specialized;
|
||||
using System.Xml;
|
||||
using System.Management.Automation.Internal;
|
||||
|
||||
|
||||
-4
@@ -3,12 +3,8 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Specialized;
|
||||
using System.Xml;
|
||||
using System.Globalization;
|
||||
using System.Management.Automation.Internal;
|
||||
|
||||
namespace Microsoft.PowerShell.Commands.Internal.Format
|
||||
|
||||
-4
@@ -2,11 +2,7 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Specialized;
|
||||
using System.Management.Automation;
|
||||
using System.Xml;
|
||||
using System.Globalization;
|
||||
|
||||
-3
@@ -2,10 +2,7 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
using System.Xml;
|
||||
using System.Management.Automation.Internal;
|
||||
|
||||
|
||||
-3
@@ -3,13 +3,10 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Management.Automation;
|
||||
using System.Management.Automation.Internal;
|
||||
using System.Globalization;
|
||||
|
||||
namespace Microsoft.PowerShell.Commands.Internal.Format
|
||||
{
|
||||
|
||||
-1
@@ -2,7 +2,6 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
-2
@@ -2,8 +2,6 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Management.Automation;
|
||||
|
||||
-1
@@ -3,7 +3,6 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Management.Automation;
|
||||
|
||||
-2
@@ -2,8 +2,6 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Management.Automation;
|
||||
|
||||
-5
@@ -22,12 +22,7 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// preserve the information.
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
using System.Management.Automation;
|
||||
|
||||
|
||||
namespace Microsoft.PowerShell.Commands.Internal.Format
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections.Specialized;
|
||||
using System.Diagnostics;
|
||||
|
||||
|
||||
-1
@@ -3,7 +3,6 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Specialized;
|
||||
using System.Collections.Generic;
|
||||
using System.Management.Automation;
|
||||
|
||||
-2
@@ -4,9 +4,7 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Management.Automation;
|
||||
|
||||
namespace Microsoft.PowerShell.Commands.Internal.Format
|
||||
{
|
||||
|
||||
-3
@@ -2,11 +2,8 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Specialized;
|
||||
using System.Text;
|
||||
using System.Management.Automation.Internal;
|
||||
|
||||
namespace Microsoft.PowerShell.Commands.Internal.Format
|
||||
{
|
||||
|
||||
-1
@@ -4,7 +4,6 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
using System;
|
||||
using System.Management.Automation;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
|
||||
-1
@@ -4,7 +4,6 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
using System;
|
||||
using System.Management.Automation;
|
||||
using Microsoft.PowerShell.Commands;
|
||||
using System.Management.Automation.Internal;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
-1
@@ -2,7 +2,6 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Management.Automation;
|
||||
using Microsoft.PowerShell.Commands.Internal.Format;
|
||||
|
||||
|
||||
-5
@@ -6,12 +6,7 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// characters
|
||||
//#define TEST_MULTICELL_ON_SINGLE_CELL_LOCALE
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Specialized;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
|
||||
using System.Management.Automation;
|
||||
using System.Management.Automation.Internal;
|
||||
using System.Management.Automation.Host;
|
||||
|
||||
-7
@@ -6,17 +6,10 @@ namespace Microsoft.PowerShell.Commands
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Reflection;
|
||||
using System.Management.Automation;
|
||||
using System.Management.Automation.Host;
|
||||
using System.Management.Automation.Internal;
|
||||
using Microsoft.PowerShell.Commands.Internal.Format;
|
||||
using System.IO;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using Microsoft.Win32;
|
||||
|
||||
///
|
||||
/// <summary>
|
||||
|
||||
-2
@@ -3,8 +3,6 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Reflection;
|
||||
using System.Management.Automation;
|
||||
using System.Management.Automation.Internal;
|
||||
|
||||
|
||||
@@ -2,11 +2,8 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Linq;
|
||||
using System.Management.Automation.Internal;
|
||||
|
||||
namespace System.Management.Automation
|
||||
{
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Generic;
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using Dbg = System.Management.Automation.Diagnostics;
|
||||
|
||||
@@ -2,17 +2,9 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.IO;
|
||||
using System.Resources;
|
||||
using System.Threading;
|
||||
using System.Reflection;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Globalization;
|
||||
using System.Management.Automation.Internal;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Management.Automation.Host;
|
||||
using System.Management.Automation.Language;
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Management.Automation;
|
||||
|
||||
namespace System.Management.Automation.Internal
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -6,9 +6,12 @@ using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Text;
|
||||
using System.ComponentModel;
|
||||
using System.Reflection;
|
||||
using Microsoft.PowerShell;
|
||||
|
||||
#if CORECLR
|
||||
using System.Reflection;
|
||||
#endif
|
||||
|
||||
namespace System.Management.Automation
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
using Dbg = System.Management.Automation;
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using Dbg = System.Management.Automation;
|
||||
using System.Management.Automation.Internal;
|
||||
|
||||
|
||||
@@ -2,15 +2,10 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Generic;
|
||||
using System.Management.Automation;
|
||||
using System.Management.Automation.Runspaces;
|
||||
using System.Management.Automation.Internal;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
|
||||
namespace System.Management.Automation
|
||||
{
|
||||
|
||||
@@ -6,7 +6,6 @@ using System;
|
||||
using System.Collections;
|
||||
using System.Reflection;
|
||||
using System.Globalization;
|
||||
using System.Xml;
|
||||
using System.Management.Automation;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.DirectoryServices;
|
||||
|
||||
@@ -8,13 +8,7 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
{
|
||||
|
||||
@@ -8,12 +8,8 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Dynamic;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Security;
|
||||
using System.Security.Permissions;
|
||||
|
||||
//using Microsoft.Scripting.Utils;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
|
||||
@@ -3,9 +3,6 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Diagnostics;
|
||||
using System;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
{
|
||||
|
||||
@@ -8,12 +8,8 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Security;
|
||||
using System.Security.Permissions;
|
||||
using System.Management.Automation.Language;
|
||||
//using Microsoft.Scripting.Utils;
|
||||
using System.Dynamic;
|
||||
|
||||
@@ -8,16 +8,11 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Dynamic;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Management.Automation;
|
||||
using System.Management.Automation.Language;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
|
||||
@@ -12,7 +12,6 @@ using Microsoft.Scripting.Ast;
|
||||
|
||||
using System.Dynamic;
|
||||
//using AstUtils = Microsoft.Scripting.Ast.Utils;
|
||||
using System.Management.Automation.Interpreter;
|
||||
using AstUtils = System.Management.Automation.Interpreter.Utils;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
|
||||
@@ -4,8 +4,6 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
#if !SILVERLIGHT // ComObject
|
||||
|
||||
using System;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
{
|
||||
internal class ComEventDesc
|
||||
|
||||
@@ -4,13 +4,11 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
#if !SILVERLIGHT // ComObject
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Security;
|
||||
using ComTypes = System.Runtime.InteropServices.ComTypes;
|
||||
//using Microsoft.Scripting.Utils;
|
||||
|
||||
|
||||
@@ -4,15 +4,13 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
#if !SILVERLIGHT // ComObject
|
||||
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Remoting;
|
||||
using System.Runtime.Remoting.Messaging;
|
||||
using System.Runtime.Remoting.Proxies;
|
||||
using System.Security;
|
||||
using System.Security.Permissions;
|
||||
|
||||
//using Microsoft.Scripting.Utils;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
|
||||
@@ -4,10 +4,8 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
#if !SILVERLIGHT // ComObject
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Security;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
{
|
||||
|
||||
@@ -11,7 +11,6 @@ using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System.Dynamic;
|
||||
using System.Diagnostics;
|
||||
|
||||
//using Microsoft.Scripting.Utils;
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
#if !SILVERLIGHT // ComObject
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using ComTypes = System.Runtime.InteropServices.ComTypes;
|
||||
|
||||
|
||||
@@ -9,14 +9,10 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Dynamic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Management.Automation;
|
||||
using System.Management.Automation.Language;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
{
|
||||
|
||||
@@ -8,15 +8,11 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Dynamic;
|
||||
using ComTypes = System.Runtime.InteropServices.ComTypes;
|
||||
using System.Linq;
|
||||
using System.Management.Automation.Language;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
{
|
||||
|
||||
@@ -8,10 +8,7 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Dynamic;
|
||||
using System.Collections.Generic;
|
||||
|
||||
//using Microsoft.Scripting.Utils;
|
||||
|
||||
|
||||
@@ -4,13 +4,8 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
#if !SILVERLIGHT // ComObject
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices.ComTypes;
|
||||
using System.Text;
|
||||
using System.Globalization;
|
||||
using Marshal = System.Runtime.InteropServices.Marshal;
|
||||
using VarEnum = System.Runtime.InteropServices.VarEnum;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
{
|
||||
|
||||
@@ -8,14 +8,10 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Security;
|
||||
using System.Security.Permissions;
|
||||
using System.Dynamic;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
|
||||
@@ -4,7 +4,6 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
#if !SILVERLIGHT // ComObject
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices.ComTypes;
|
||||
using System.Text;
|
||||
using Marshal = System.Runtime.InteropServices.Marshal;
|
||||
|
||||
@@ -4,7 +4,6 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
#if !SILVERLIGHT // ComObject
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Reflection;
|
||||
|
||||
@@ -8,8 +8,6 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Dynamic;
|
||||
using ComTypes = System.Runtime.InteropServices.ComTypes;
|
||||
|
||||
@@ -4,7 +4,6 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
#if !SILVERLIGHT // ComObject
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices.ComTypes;
|
||||
|
||||
@@ -9,8 +9,6 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Dynamic;
|
||||
using System.Globalization;
|
||||
|
||||
@@ -8,8 +8,6 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Dynamic;
|
||||
|
||||
@@ -9,8 +9,6 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Dynamic;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
|
||||
@@ -8,10 +8,6 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.CompilerServices;
|
||||
//using Microsoft.Scripting.Utils;
|
||||
using System.Management.Automation.Interpreter;
|
||||
|
||||
|
||||
@@ -10,8 +10,6 @@ using System.Linq.Expressions;
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
{
|
||||
internal class ConvertArgBuilder : SimpleArgBuilder
|
||||
|
||||
@@ -9,9 +9,6 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Globalization;
|
||||
//using Microsoft.Scripting.Utils;
|
||||
using System.Management.Automation.Interpreter;
|
||||
|
||||
|
||||
@@ -8,8 +8,6 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
|
||||
@@ -8,12 +8,7 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
{
|
||||
|
||||
@@ -8,8 +8,6 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Dynamic;
|
||||
using System.Globalization;
|
||||
|
||||
|
||||
@@ -9,12 +9,8 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Dynamic;
|
||||
using System.Security;
|
||||
using System.Security.Permissions;
|
||||
using System.Collections.Generic;
|
||||
using System.Management.Automation.Language;
|
||||
|
||||
|
||||
@@ -8,11 +8,7 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
{
|
||||
|
||||
@@ -9,9 +9,6 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Diagnostics;
|
||||
|
||||
|
||||
@@ -2,10 +2,6 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Management.Automation;
|
||||
using System.Management.Automation.Language;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
{
|
||||
#region Generated Com Exception Factory
|
||||
|
||||
@@ -4,11 +4,9 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
#if !SILVERLIGHT // ComObject
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Security;
|
||||
using ComTypes = System.Runtime.InteropServices.ComTypes;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
|
||||
@@ -8,8 +8,6 @@ using System.Linq.Expressions;
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
{
|
||||
// Miscellaneous helpers that don't belong anywhere else
|
||||
|
||||
@@ -8,16 +8,12 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Security;
|
||||
using System.Security.Permissions;
|
||||
using ComTypes = System.Runtime.InteropServices.ComTypes;
|
||||
using System.Dynamic;
|
||||
|
||||
|
||||
@@ -8,11 +8,8 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Dynamic;
|
||||
using System.Runtime.InteropServices.ComTypes;
|
||||
using System.Management.Automation.Language;
|
||||
|
||||
@@ -7,8 +7,6 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Dynamic;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
|
||||
@@ -9,9 +9,6 @@ using System.Linq.Expressions;
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -8,8 +8,6 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
|
||||
@@ -3,12 +3,9 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
#if !CLR2
|
||||
using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.CompilerServices;
|
||||
//using Microsoft.Scripting.Utils;
|
||||
|
||||
@@ -8,9 +8,6 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Diagnostics;
|
||||
|
||||
|
||||
@@ -8,8 +8,6 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Dynamic;
|
||||
//using Microsoft.Scripting.Runtime;
|
||||
|
||||
@@ -3,14 +3,9 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
#if !CLR2
|
||||
using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
|
||||
@@ -9,11 +9,7 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
{
|
||||
|
||||
@@ -4,12 +4,10 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
#if !SILVERLIGHT // ComObject
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Management.Automation.ComInterop;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
{
|
||||
|
||||
@@ -4,17 +4,12 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
#if !SILVERLIGHT // ComObject
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Globalization;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Security;
|
||||
using System.Security.Permissions;
|
||||
//using Microsoft.Scripting.Utils;
|
||||
using System.Reflection;
|
||||
//using Microsoft.Scripting.Generation;
|
||||
using System.Reflection.Emit;
|
||||
using Assert = System.Management.Automation.Interpreter.Assert;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
|
||||
@@ -8,11 +8,7 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
|
||||
namespace System.Management.Automation.ComInterop
|
||||
|
||||
@@ -8,8 +8,6 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
|
||||
@@ -9,8 +9,6 @@ using System.Linq.Expressions;
|
||||
#else
|
||||
using Microsoft.Scripting.Ast;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
|
||||
@@ -2,19 +2,11 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Globalization;
|
||||
using System.Management.Automation;
|
||||
using System.Management.Automation.Language;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Diagnostics;
|
||||
using System.Resources;
|
||||
using System.Management.Automation.Host;
|
||||
using System.Management.Automation.Internal.Host;
|
||||
using System.Threading;
|
||||
using System.Management.Automation.Internal;
|
||||
using Dbg = System.Management.Automation.Diagnostics;
|
||||
using System.Management.Automation.Runspaces;
|
||||
|
||||
@@ -9,7 +9,6 @@ namespace System.Management.Automation
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Generic;
|
||||
using System.Management.Automation.Runspaces;
|
||||
using System.Management.Automation.Remoting;
|
||||
using System.Collections;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
namespace System.Management.Automation
|
||||
{
|
||||
using System;
|
||||
using Microsoft.PowerShell.Commands;
|
||||
using System.Management.Automation;
|
||||
|
||||
/// <summary>
|
||||
/// Possible types of CompletionResults
|
||||
|
||||
@@ -6,10 +6,13 @@ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Reflection;
|
||||
using System.Linq;
|
||||
using System.Management.Automation.Language;
|
||||
|
||||
#if CORECLR
|
||||
using System.Reflection;
|
||||
#endif
|
||||
|
||||
namespace System.Management.Automation
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -2,10 +2,6 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Management.Automation;
|
||||
|
||||
namespace System.Management.Automation
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
Loaded 100 of 477 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user