From 7beec89f50b4a26e35ba358dfa7337f44e90c59b Mon Sep 17 00:00:00 2001 From: xtqqczze <45661989+xtqqczze@users.noreply.github.com> Date: Thu, 30 Jul 2020 17:47:21 +0100 Subject: [PATCH] Add copyright header to `.editorconfig` and update files (#13306) --- .editorconfig | 2 ++ .../commands/utility/RunspaceAttribute.cs | 2 +- test/xUnit/csharp/test_CryptoUtils.cs | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index cdb71b91aa..74496fb9a7 100644 --- a/.editorconfig +++ b/.editorconfig @@ -48,6 +48,8 @@ indent_size = 2 # Sort using and Import directives with System.* appearing first dotnet_sort_system_directives_first = true +file_header_template = Copyright (c) Microsoft Corporation.\nLicensed under the MIT License. + # Modifier preferences csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/RunspaceAttribute.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/RunspaceAttribute.cs index ee976bd562..7940681468 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/RunspaceAttribute.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/RunspaceAttribute.cs @@ -1,4 +1,4 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma warning disable 1634, 1691 diff --git a/test/xUnit/csharp/test_CryptoUtils.cs b/test/xUnit/csharp/test_CryptoUtils.cs index aac3be4e29..0f737a9426 100644 --- a/test/xUnit/csharp/test_CryptoUtils.cs +++ b/test/xUnit/csharp/test_CryptoUtils.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using System; using System.Management.Automation.Internal; using System.Text;