Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit e5da05d

Browse files
JonHannasafern
authored andcommitted
Add license headers. (#26009)
Any *.cs file found without the usual license header has it added except: 1. Files that note they are auto-generated. 2. Files with a different header (unless it is very close to the usual, in which case adjust for typos and old versions). 3. FxCopBaseline.cs files.
1 parent 38f613f commit e5da05d

File tree

75 files changed

+324
-59
lines changed

Some content is hidden

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

75 files changed

+324
-59
lines changed

src/Common/perf/PerfRunner/PerfRunner.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
15
using System.IO;
26
using System.Reflection;
37
using System.Collections.Generic;
@@ -27,4 +31,4 @@ private static IEnumerable<string> GetTestAssemblies()
2731
{
2832
return Directory.EnumerateFiles(".", "*.Performance.Tests.dll");
2933
}
30-
}
34+
}

src/Common/src/System/Data/Common/DbConnectionOptions.Common.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
15
using System.Collections.Generic;
26
using System.Diagnostics;
37
using System.Globalization;
@@ -645,4 +649,4 @@ internal NameValuePair ReplacePasswordPwd(out string constr, bool fakePassword)
645649
return head;
646650
}
647651
}
648-
}
652+
}

src/Common/tests/System/Xml/ModuleCore/XunitTestCase.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
using System;
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
5+
using System;
26
using System.Collections.Generic;
37
using System.Linq;
48
using System.Text;

src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ArgumentObject.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
15
using System;
26
using System.Diagnostics;
37

src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ICSharpBinder.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
15
using System;
26
using Microsoft.CSharp.RuntimeBinder.Semantics;
37

@@ -21,4 +25,4 @@ internal interface ICSharpBinder
2125
BindingFlag BindingFlags { get; }
2226
string Name { get; }
2327
}
24-
}
28+
}

src/SharedFrameworkValidation/RestoreSDKProject/Dummy.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
using System;
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
5+
using System;
26

37
namespace Dummy
48
{

src/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableSortedDictionary_2.Node.cs

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

25
using System.Collections.Generic;
36
using System.Diagnostics;

src/System.Collections.Specialized/tests/StringDictionary/StringDictionary.GetEnumeratorTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Licensed to the .NET Foundation under one or more agreements.---
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

src/System.Composition.TypedParts/tests/ReflectionTests.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
using System.Collections.Concurrent;
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
5+
using System.Collections.Concurrent;
26
using System.Composition.Hosting;
37
using System.Threading;
48
using Xunit;

src/System.Configuration.ConfigurationManager/src/System/Configuration/SpecialSettingAttribute.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
using System;
2-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
32
// The .NET Foundation licenses this file to you under the MIT license.
43
// See the LICENSE file in the project root for more information.
54

5+
using System;
6+
67
namespace System.Configuration
78
{
89
/// <summary>

0 commit comments

Comments
 (0)