Skip to content

Commit 08e2f69

Browse files
committed
Add copyright headers
1 parent b2e452f commit 08e2f69

38 files changed

+124
-53
lines changed

src/PowerShellEditorServices/Services/PowerShell/Console/ColorConfiguration.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25

36
namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Console
47
{

src/PowerShellEditorServices/Services/PowerShell/Console/ConsoleProxy.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
21
// Copyright (c) Microsoft. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
2+
// Licensed under the MIT license.
53

64
using System;
75
using System.Runtime.InteropServices;

src/PowerShellEditorServices/Services/PowerShell/Console/ConsoleReadLine.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
2-
// Copyright (c) Microsoft. All rights reserved.
1+
// Copyright (c) Microsoft. All rights reserved.
32
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
53

64
using System.Text;
75
using System.Threading;

src/PowerShellEditorServices/Services/PowerShell/Console/IConsoleOperations.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
21
// Copyright (c) Microsoft. All rights reserved.
32
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
53

64
using System;
75
using System.Threading;

src/PowerShellEditorServices/Services/PowerShell/Console/IReadLine.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Security;
36
using System.Threading;
47

src/PowerShellEditorServices/Services/PowerShell/Console/PSReadLineProxy.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
21
// Copyright (c) Microsoft. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
2+
// Licensed under the MIT license.
53

64
using System;
75
using System.IO;

src/PowerShellEditorServices/Services/PowerShell/Console/ReadLineProvider.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using Microsoft.Extensions.Logging;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using Microsoft.Extensions.Logging;
25

36
namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Console
47
{

src/PowerShellEditorServices/Services/PowerShell/Console/UnixConsoleOperations.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
21
// Copyright (c) Microsoft. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
2+
// Licensed under the MIT license.
53

64
using System;
75
using System.Threading;

src/PowerShellEditorServices/Services/PowerShell/Console/WindowsConsoleOperations.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
21
// Copyright (c) Microsoft. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
2+
// Licensed under the MIT license.
53

64
using System;
75
using System.Threading;

src/PowerShellEditorServices/Services/PowerShell/Context/PowerShellContextFrame.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using Microsoft.Extensions.Logging;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using Microsoft.Extensions.Logging;
25
using Microsoft.PowerShell.EditorServices.Services.PowerShell.Runspace;
36
using System;
47
using SMA = System.Management.Automation;

src/PowerShellEditorServices/Services/PowerShell/Context/PowerShellFrameType.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25

36
namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Context
47
{

src/PowerShellEditorServices/Services/PowerShell/Debugging/DebuggerResumingEventArgs.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System.Management.Automation;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System.Management.Automation;
25

36
namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Debugging
47
{

src/PowerShellEditorServices/Services/PowerShell/Debugging/DscBreakpointCapability.cs

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
2-
// Copyright (c) Microsoft. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license.
53

64
using System.Linq;
75
using System.Threading.Tasks;

src/PowerShellEditorServices/Services/PowerShell/Debugging/IPowerShellDebugContext.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Management.Automation;
36
using System.Threading;
47
using System.Threading.Tasks;

src/PowerShellEditorServices/Services/PowerShell/Debugging/PowerShellDebugContext.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Management.Automation;
36
using System.Threading;
47

src/PowerShellEditorServices/Services/PowerShell/Execution/BlockingConcurrentDeque.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Concurrent;
36
using System.Threading;
47

src/PowerShellEditorServices/Services/PowerShell/Execution/ExecutionOptions.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Execution
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Execution
25
{
36
public enum ExecutionPriority
47
{

src/PowerShellEditorServices/Services/PowerShell/Execution/SynchronousDelegateTask.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using Microsoft.Extensions.Logging;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using Microsoft.Extensions.Logging;
25
using Microsoft.PowerShell.EditorServices.Services.PowerShell.Host;
36
using System;
47
using System.Threading;

src/PowerShellEditorServices/Services/PowerShell/Execution/SynchronousPowerShellTask.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using Microsoft.Extensions.Logging;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using Microsoft.Extensions.Logging;
25
using Microsoft.PowerShell.EditorServices.Services.PowerShell.Host;
36
using Microsoft.PowerShell.EditorServices.Services.PowerShell.Utility;
47
using System;

src/PowerShellEditorServices/Services/PowerShell/Execution/SynchronousTask.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using Microsoft.Extensions.Logging;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using Microsoft.Extensions.Logging;
25
using System;
36
using System.Runtime.ExceptionServices;
47
using System.Threading;

src/PowerShellEditorServices/Services/PowerShell/Host/ConsoleColorProxy.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
2-
// Copyright (c) Microsoft. All rights reserved.
1+
// Copyright (c) Microsoft. All rights reserved.
32
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
53

64
/*
75
using System;

src/PowerShellEditorServices/Services/PowerShell/Host/EditorServicesConsolePSHost.cs

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
14
using System;
25
using System.Globalization;
36
using System.Management.Automation.Host;

src/PowerShellEditorServices/Services/PowerShell/Host/EditorServicesConsolePSHostRawUserInterface.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using Microsoft.Extensions.Logging;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using Microsoft.Extensions.Logging;
25
using Microsoft.PowerShell.EditorServices.Services.PowerShell.Console;
36
using System;
47
using System.Management.Automation;

src/PowerShellEditorServices/Services/PowerShell/Host/EditorServicesConsolePSHostUserInterface.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using Microsoft.Extensions.Logging;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using Microsoft.Extensions.Logging;
25
using Microsoft.PowerShell.EditorServices.Services.PowerShell.Console;
36
using System;
47
using System.Collections.Generic;

src/PowerShellEditorServices/Services/PowerShell/Host/HostStartOptions.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-

1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
24
namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Host
35
{
46
internal struct HostStartOptions

src/PowerShellEditorServices/Services/PowerShell/Host/PsesInternalHost.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using Microsoft.Extensions.Logging;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using Microsoft.Extensions.Logging;
25
using Microsoft.PowerShell.EditorServices.Hosting;
36
using Microsoft.PowerShell.EditorServices.Services.PowerShell.Console;
47
using Microsoft.PowerShell.EditorServices.Services.PowerShell.Context;

src/PowerShellEditorServices/Services/PowerShell/IPowerShellExecutionService.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using Microsoft.PowerShell.EditorServices.Services.PowerShell.Execution;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using Microsoft.PowerShell.EditorServices.Services.PowerShell.Execution;
25
using Microsoft.PowerShell.EditorServices.Services.PowerShell.Runspace;
36
using System;
47
using System.Collections.Generic;

src/PowerShellEditorServices/Services/PowerShell/Runspace/IRunspaceContext.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-

1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
24
namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Runspace
35
{
46
internal interface IRunspaceContext

src/PowerShellEditorServices/Services/PowerShell/Runspace/IRunspaceInfo.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-

1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
24
using Microsoft.PowerShell.EditorServices.Services.PowerShell.Context;
35
using SMA = System.Management.Automation.Runspaces;
46

src/PowerShellEditorServices/Services/PowerShell/Runspace/RunspaceChangedEventArgs.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using Microsoft.PowerShell.EditorServices.Utility;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using Microsoft.PowerShell.EditorServices.Utility;
25

36
namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Runspace
47
{

src/PowerShellEditorServices/Services/PowerShell/Runspace/RunspaceInfo.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using Microsoft.PowerShell.EditorServices.Services.PowerShell.Context;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using Microsoft.PowerShell.EditorServices.Services.PowerShell.Context;
25
using Microsoft.PowerShell.EditorServices.Services.PowerShell.Debugging;
36

47
namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Runspace

src/PowerShellEditorServices/Services/PowerShell/Utility/CancellationContext.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Concurrent;
36
using System.Threading;
47

src/PowerShellEditorServices/Services/PowerShell/Utility/ErrorRecordExtensions.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using Microsoft.PowerShell.EditorServices.Utility;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using Microsoft.PowerShell.EditorServices.Utility;
25
using System;
36
using System.Diagnostics.CodeAnalysis;
47
using System.Linq.Expressions;

src/PowerShellEditorServices/Services/PowerShell/Utility/PSCommandExtensions.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System.Management.Automation;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System.Management.Automation;
25
using System.Management.Automation.Runspaces;
36
using System.Text;
47

src/PowerShellEditorServices/Services/PowerShell/Utility/PowerShellExtensions.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.ObjectModel;
36
using System.Reflection;
47
using System.Text;

src/PowerShellEditorServices/Services/PowerShell/Utility/RunspaceExtensions.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Linq.Expressions;
36
using System.Management.Automation;
47
using System.Reflection;

src/PowerShellEditorServices/Utility/IdempotentLatch.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System.Threading;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System.Threading;
25

36
namespace Microsoft.PowerShell.EditorServices.Utility
47
{

src/PowerShellEditorServices/Utility/IsExternalInit.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System.ComponentModel;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System.ComponentModel;
25

36
namespace System.Runtime.CompilerServices
47
{

0 commit comments

Comments
 (0)