Skip to content

Commit cb1a7fe

Browse files
authored
Fix remaining license headers (dotnet#38953)
* Fix license in remainder of .cs files * Fix license header in .vb files * Fix license header in .py files * Fix license headers in .c, .cpp, .h * Fix licensing on .dat files * Fix license header in generators * Fix license headers in .asm * Fix license headers in .xml * Fix remainder of license headers * Add license default to .editorconfig * Add some missing headers * Fix Doundation to Foundation in some license headers * Add missing license headers under libraries
1 parent b520e81 commit cb1a7fe

File tree

1,370 files changed

+371
-1685
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,370 files changed

+371
-1685
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ csharp_space_between_square_brackets = false
157157
dotnet_code_quality.ca1802.api_surface = private, internal
158158
dotnet_code_quality.ca2208.api_surface = public
159159

160+
# License header
161+
file_header_template = Licensed to the .NET Foundation under one or more agreements.\nThe .NET Foundation licenses this file to you under the MIT license.\n
162+
160163
# C++ Files
161164
[*.{cpp,h,in}]
162165
curly_bracket_next_line = true

src/coreclr/scripts/coreclr_arguments.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#
33
## Licensed to the .NET Foundation under one or more agreements.
44
## The .NET Foundation licenses this file to you under the MIT license.
5-
## See the LICENSE file in the project root for more information.
65
#
76
##
87
# Title : coreclr_arguments.py

src/coreclr/scripts/superpmi.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#
33
## Licensed to the .NET Foundation under one or more agreements.
44
## The .NET Foundation licenses this file to you under the MIT license.
5-
## See the LICENSE file in the project root for more information.
65
#
76
##
87
# Title : superpmi.py

src/coreclr/src/System.Private.CoreLib/Tools/GenUnicodeProp/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ private static void Main(string[] args)
101101
{
102102
file.Write("// Licensed to the .NET Foundation under one or more agreements.\n");
103103
file.Write("// The .NET Foundation licenses this file to you under the MIT license.\n");
104-
file.Write("// See the LICENSE file in the project root for more information.\n\n");
105104

106105
file.Write("using System.Diagnostics;\n\n");
107106

src/coreclr/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComTypes/IEnumerable.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
3-
// See the LICENSE file in the project root for more information
43

54
namespace System.Runtime.InteropServices.ComTypes
65
{

src/coreclr/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComTypes/IEnumerator.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
3-
// See the LICENSE file in the project root for more information
43

54
namespace System.Runtime.InteropServices.ComTypes
65
{

src/coreclr/src/debug/di/amd64/FloatConversion.asm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
; Licensed to the .NET Foundation under one or more agreements.
22
; The .NET Foundation licenses this file to you under the MIT license.
3-
; See the LICENSE file in the project root for more information.
43

54
;// ==++==
65
;//

src/coreclr/src/debug/di/arm/floatconversion.asm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
; Licensed to the .NET Foundation under one or more agreements.
22
; The .NET Foundation licenses this file to you under the MIT license.
3-
; See the LICENSE file in the project root for more information.
43

54
;; ==++==
65
;;

src/coreclr/src/debug/di/arm64/floatconversion.asm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
; Licensed to the .NET Foundation under one or more agreements.
22
; The .NET Foundation licenses this file to you under the MIT license.
3-
; See the LICENSE file in the project root for more information.
43

54
;; ==++==
65
;;

src/coreclr/src/debug/ee/amd64/dbghelpers.asm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
; Licensed to the .NET Foundation under one or more agreements.
22
; The .NET Foundation licenses this file to you under the MIT license.
3-
; See the LICENSE file in the project root for more information.
43

54
include AsmMacros.inc
65

0 commit comments

Comments
 (0)