Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Add license headers. #26009

Merged
merged 1 commit into from
Dec 22, 2017
Merged

Add license headers. #26009

merged 1 commit into from
Dec 22, 2017

Conversation

JonHanna
Copy link
Contributor

Realised I'd neglected this in a file, and found some others.

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.

Any usual licenses that didn't start on the first line were moved up.

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,4 +1,5 @@
// The .NET Foundation licenses this file to you under the MIT license.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This, and a couple of others with identical messages, is the one case I changed an existing header that wasn't just a slight error. It looks like the first line is omitted by mistake, but maybe there was a reason it was deliberately left out.


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this wasn't your change, but might be worth deleting this weird char.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that not just a normal line break?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe. Didn't look locally. Will merge now.

@safern safern merged commit e5da05d into dotnet:master Dec 22, 2017
@JonHanna JonHanna deleted the license_headers branch December 22, 2017 18:57
@karelz karelz added this to the 2.1.0 milestone Dec 28, 2017
macrogreg pushed a commit to open-telemetry/opentelemetry-dotnet-instrumentation that referenced this pull request Sep 24, 2020
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.

Commit migrated from dotnet/corefx@e5da05d
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
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.

Commit migrated from dotnet/corefx@e5da05d
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants