diff --git a/ColorCode.Core/CodeColorizerBase.cs b/ColorCode.Core/CodeColorizerBase.cs index 36b7fa7..5eab4ec 100644 --- a/ColorCode.Core/CodeColorizerBase.cs +++ b/ColorCode.Core/CodeColorizerBase.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using ColorCode.Compilation; using ColorCode.Parsing; diff --git a/ColorCode.Core/Common/ExtensionMethods.cs b/ColorCode.Core/Common/ExtensionMethods.cs index de10fce..9613519 100644 --- a/ColorCode.Core/Common/ExtensionMethods.cs +++ b/ColorCode.Core/Common/ExtensionMethods.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; diff --git a/ColorCode.Core/Common/Guard.cs b/ColorCode.Core/Common/Guard.cs index ff59efa..6baded5 100644 --- a/ColorCode.Core/Common/Guard.cs +++ b/ColorCode.Core/Common/Guard.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; diff --git a/ColorCode.Core/Common/ILanguageRepository.cs b/ColorCode.Core/Common/ILanguageRepository.cs index 0187860..0e6167a 100644 --- a/ColorCode.Core/Common/ILanguageRepository.cs +++ b/ColorCode.Core/Common/ILanguageRepository.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; diff --git a/ColorCode.Core/Common/LanguageId.cs b/ColorCode.Core/Common/LanguageId.cs index 20c1685..71352d6 100644 --- a/ColorCode.Core/Common/LanguageId.cs +++ b/ColorCode.Core/Common/LanguageId.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. namespace ColorCode.Common { diff --git a/ColorCode.Core/Common/LanguageRepository.cs b/ColorCode.Core/Common/LanguageRepository.cs index d222880..7f942ba 100644 --- a/ColorCode.Core/Common/LanguageRepository.cs +++ b/ColorCode.Core/Common/LanguageRepository.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; diff --git a/ColorCode.Core/Common/ScopeName.cs b/ColorCode.Core/Common/ScopeName.cs index 7635baf..abecad1 100644 --- a/ColorCode.Core/Common/ScopeName.cs +++ b/ColorCode.Core/Common/ScopeName.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. namespace ColorCode.Common { diff --git a/ColorCode.Core/Common/TextInsertion.cs b/ColorCode.Core/Common/TextInsertion.cs index bfa1d48..d6037ad 100644 --- a/ColorCode.Core/Common/TextInsertion.cs +++ b/ColorCode.Core/Common/TextInsertion.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using ColorCode.Parsing; diff --git a/ColorCode.Core/Compilation/CompiledLanguage.cs b/ColorCode.Core/Compilation/CompiledLanguage.cs index 5f9e0bc..2538725 100644 --- a/ColorCode.Core/Compilation/CompiledLanguage.cs +++ b/ColorCode.Core/Compilation/CompiledLanguage.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Text.RegularExpressions; diff --git a/ColorCode.Core/Compilation/ILanguageCompiler.cs b/ColorCode.Core/Compilation/ILanguageCompiler.cs index 97e696c..7a24ede 100644 --- a/ColorCode.Core/Compilation/ILanguageCompiler.cs +++ b/ColorCode.Core/Compilation/ILanguageCompiler.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. namespace ColorCode.Compilation { diff --git a/ColorCode.Core/Compilation/LanguageCompiler.cs b/ColorCode.Core/Compilation/LanguageCompiler.cs index 2afe341..ffd9092 100644 --- a/ColorCode.Core/Compilation/LanguageCompiler.cs +++ b/ColorCode.Core/Compilation/LanguageCompiler.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; diff --git a/ColorCode.Core/Compilation/Languages/Asax.cs b/ColorCode.Core/Compilation/Languages/Asax.cs index 4e7f1e7..b057bf8 100644 --- a/ColorCode.Core/Compilation/Languages/Asax.cs +++ b/ColorCode.Core/Compilation/Languages/Asax.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/Languages/Ashx.cs b/ColorCode.Core/Compilation/Languages/Ashx.cs index 597c1f5..cd22bd3 100644 --- a/ColorCode.Core/Compilation/Languages/Ashx.cs +++ b/ColorCode.Core/Compilation/Languages/Ashx.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/Languages/Aspx.cs b/ColorCode.Core/Compilation/Languages/Aspx.cs index be3466b..4dd54e1 100644 --- a/ColorCode.Core/Compilation/Languages/Aspx.cs +++ b/ColorCode.Core/Compilation/Languages/Aspx.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/Languages/AspxCs.cs b/ColorCode.Core/Compilation/Languages/AspxCs.cs index 19509a0..da9b637 100644 --- a/ColorCode.Core/Compilation/Languages/AspxCs.cs +++ b/ColorCode.Core/Compilation/Languages/AspxCs.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/Languages/AspxVb.cs b/ColorCode.Core/Compilation/Languages/AspxVb.cs index 761e043..1acc67e 100644 --- a/ColorCode.Core/Compilation/Languages/AspxVb.cs +++ b/ColorCode.Core/Compilation/Languages/AspxVb.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/Languages/CSharp.cs b/ColorCode.Core/Compilation/Languages/CSharp.cs index fcc045a..248c2e2 100644 --- a/ColorCode.Core/Compilation/Languages/CSharp.cs +++ b/ColorCode.Core/Compilation/Languages/CSharp.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/Languages/Cpp.cs b/ColorCode.Core/Compilation/Languages/Cpp.cs index ec824f0..9a58806 100644 --- a/ColorCode.Core/Compilation/Languages/Cpp.cs +++ b/ColorCode.Core/Compilation/Languages/Cpp.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/Languages/Css.cs b/ColorCode.Core/Compilation/Languages/Css.cs index 08ba26b..93a321f 100644 --- a/ColorCode.Core/Compilation/Languages/Css.cs +++ b/ColorCode.Core/Compilation/Languages/Css.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/Languages/FSharp.cs b/ColorCode.Core/Compilation/Languages/FSharp.cs index 100579a..4ac2846 100644 --- a/ColorCode.Core/Compilation/Languages/FSharp.cs +++ b/ColorCode.Core/Compilation/Languages/FSharp.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/Languages/Fortran.cs b/ColorCode.Core/Compilation/Languages/Fortran.cs index 329d770..13642a4 100644 --- a/ColorCode.Core/Compilation/Languages/Fortran.cs +++ b/ColorCode.Core/Compilation/Languages/Fortran.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Copyright (c) 2015 Christopher Pardi. diff --git a/ColorCode.Core/Compilation/Languages/Haskell.cs b/ColorCode.Core/Compilation/Languages/Haskell.cs index 9732ad3..dabf363 100644 --- a/ColorCode.Core/Compilation/Languages/Haskell.cs +++ b/ColorCode.Core/Compilation/Languages/Haskell.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/Languages/Html.cs b/ColorCode.Core/Compilation/Languages/Html.cs index 220fa20..60941e0 100644 --- a/ColorCode.Core/Compilation/Languages/Html.cs +++ b/ColorCode.Core/Compilation/Languages/Html.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/Languages/Java.cs b/ColorCode.Core/Compilation/Languages/Java.cs index 1231eb7..b1f4a62 100644 --- a/ColorCode.Core/Compilation/Languages/Java.cs +++ b/ColorCode.Core/Compilation/Languages/Java.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/Languages/JavaScript.cs b/ColorCode.Core/Compilation/Languages/JavaScript.cs index 8c8b0a2..3bd3d4a 100644 --- a/ColorCode.Core/Compilation/Languages/JavaScript.cs +++ b/ColorCode.Core/Compilation/Languages/JavaScript.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/Languages/Koka.cs b/ColorCode.Core/Compilation/Languages/Koka.cs index 3ab99f4..c08ec76 100644 --- a/ColorCode.Core/Compilation/Languages/Koka.cs +++ b/ColorCode.Core/Compilation/Languages/Koka.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/Languages/Markdown.cs b/ColorCode.Core/Compilation/Languages/Markdown.cs index 457b62a..27f7891 100644 --- a/ColorCode.Core/Compilation/Languages/Markdown.cs +++ b/ColorCode.Core/Compilation/Languages/Markdown.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/Languages/Php.cs b/ColorCode.Core/Compilation/Languages/Php.cs index 1b3f1bc..f72af02 100644 --- a/ColorCode.Core/Compilation/Languages/Php.cs +++ b/ColorCode.Core/Compilation/Languages/Php.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/Languages/PowerShell.cs b/ColorCode.Core/Compilation/Languages/PowerShell.cs index 3a4943b..43bed86 100644 --- a/ColorCode.Core/Compilation/Languages/PowerShell.cs +++ b/ColorCode.Core/Compilation/Languages/PowerShell.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/Languages/Sql.cs b/ColorCode.Core/Compilation/Languages/Sql.cs index 74e1fc0..1765bc7 100644 --- a/ColorCode.Core/Compilation/Languages/Sql.cs +++ b/ColorCode.Core/Compilation/Languages/Sql.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/Languages/Typescript.cs b/ColorCode.Core/Compilation/Languages/Typescript.cs index 48c55a8..08f3693 100644 --- a/ColorCode.Core/Compilation/Languages/Typescript.cs +++ b/ColorCode.Core/Compilation/Languages/Typescript.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/Languages/VbDotNet.cs b/ColorCode.Core/Compilation/Languages/VbDotNet.cs index 93b621f..cfad7ba 100644 --- a/ColorCode.Core/Compilation/Languages/VbDotNet.cs +++ b/ColorCode.Core/Compilation/Languages/VbDotNet.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/Languages/Xml.cs b/ColorCode.Core/Compilation/Languages/Xml.cs index 3c8bc46..032ec7f 100644 --- a/ColorCode.Core/Compilation/Languages/Xml.cs +++ b/ColorCode.Core/Compilation/Languages/Xml.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/RuleCaptures.cs b/ColorCode.Core/Compilation/RuleCaptures.cs index ea99c93..747fe92 100644 --- a/ColorCode.Core/Compilation/RuleCaptures.cs +++ b/ColorCode.Core/Compilation/RuleCaptures.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Compilation/RuleFormats.cs b/ColorCode.Core/Compilation/RuleFormats.cs index f98fc50..4e0e88f 100644 --- a/ColorCode.Core/Compilation/RuleFormats.cs +++ b/ColorCode.Core/Compilation/RuleFormats.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. namespace ColorCode.Compilation { diff --git a/ColorCode.Core/ILanguage.cs b/ColorCode.Core/ILanguage.cs index 2c4ec90..bcea15f 100644 --- a/ColorCode.Core/ILanguage.cs +++ b/ColorCode.Core/ILanguage.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; diff --git a/ColorCode.Core/LanguageRule.cs b/ColorCode.Core/LanguageRule.cs index f131c4b..30b542a 100644 --- a/ColorCode.Core/LanguageRule.cs +++ b/ColorCode.Core/LanguageRule.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Common; diff --git a/ColorCode.Core/Languages.cs b/ColorCode.Core/Languages.cs index f3abadb..c2b4bd8 100644 --- a/ColorCode.Core/Languages.cs +++ b/ColorCode.Core/Languages.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Threading; diff --git a/ColorCode.Core/Parsing/ILanguageParser.cs b/ColorCode.Core/Parsing/ILanguageParser.cs index 207d476..20de71e 100644 --- a/ColorCode.Core/Parsing/ILanguageParser.cs +++ b/ColorCode.Core/Parsing/ILanguageParser.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; diff --git a/ColorCode.Core/Parsing/LanguageParser.cs b/ColorCode.Core/Parsing/LanguageParser.cs index 9b76033..a29e491 100644 --- a/ColorCode.Core/Parsing/LanguageParser.cs +++ b/ColorCode.Core/Parsing/LanguageParser.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; diff --git a/ColorCode.Core/Parsing/Scope.cs b/ColorCode.Core/Parsing/Scope.cs index dacea91..2dcdfb3 100644 --- a/ColorCode.Core/Parsing/Scope.cs +++ b/ColorCode.Core/Parsing/Scope.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; diff --git a/ColorCode.Core/Styling/Style.cs b/ColorCode.Core/Styling/Style.cs index e2e45cb..ce3ccfa 100644 --- a/ColorCode.Core/Styling/Style.cs +++ b/ColorCode.Core/Styling/Style.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using ColorCode.Common; diff --git a/ColorCode.Core/Styling/StyleDictionary.DefaultDark.cs b/ColorCode.Core/Styling/StyleDictionary.DefaultDark.cs index 9e3354d..093affd 100644 --- a/ColorCode.Core/Styling/StyleDictionary.DefaultDark.cs +++ b/ColorCode.Core/Styling/StyleDictionary.DefaultDark.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using ColorCode.Common; diff --git a/ColorCode.Core/Styling/StyleDictionary.DefaultLight.cs b/ColorCode.Core/Styling/StyleDictionary.DefaultLight.cs index a336c97..47a0192 100644 --- a/ColorCode.Core/Styling/StyleDictionary.DefaultLight.cs +++ b/ColorCode.Core/Styling/StyleDictionary.DefaultLight.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using ColorCode.Common; diff --git a/ColorCode.Core/Styling/StyleDictionary.cs b/ColorCode.Core/Styling/StyleDictionary.cs index 0784d1e..7dfcedd 100644 --- a/ColorCode.Core/Styling/StyleDictionary.cs +++ b/ColorCode.Core/Styling/StyleDictionary.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.ObjectModel; diff --git a/ColorCode.HTML/Common/ExtensionMethods.cs b/ColorCode.HTML/Common/ExtensionMethods.cs index 799ae24..a51d1c2 100644 --- a/ColorCode.HTML/Common/ExtensionMethods.cs +++ b/ColorCode.HTML/Common/ExtensionMethods.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. namespace ColorCode.HTML.Common { diff --git a/ColorCode.HTML/HtmlClassFormatter.cs b/ColorCode.HTML/HtmlClassFormatter.cs index 2265dfe..15852c3 100644 --- a/ColorCode.HTML/HtmlClassFormatter.cs +++ b/ColorCode.HTML/HtmlClassFormatter.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; diff --git a/ColorCode.HTML/HtmlFormatter.cs b/ColorCode.HTML/HtmlFormatter.cs index 0970cd0..2a9165f 100644 --- a/ColorCode.HTML/HtmlFormatter.cs +++ b/ColorCode.HTML/HtmlFormatter.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.IO; diff --git a/ColorCode.UWP/Common/ExtensionMethods.cs b/ColorCode.UWP/Common/ExtensionMethods.cs index 102cc03..2e48111 100644 --- a/ColorCode.UWP/Common/ExtensionMethods.cs +++ b/ColorCode.UWP/Common/ExtensionMethods.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System; #if WINUI diff --git a/ColorCode.UWP/RichTextBlockFormatter.cs b/ColorCode.UWP/RichTextBlockFormatter.cs index 464a6ab..d8645ed 100644 --- a/ColorCode.UWP/RichTextBlockFormatter.cs +++ b/ColorCode.UWP/RichTextBlockFormatter.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Collections.Generic; using ColorCode.Parsing; diff --git a/Directory.Build.props b/Directory.Build.props index 2588d86..869e7f8 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,11 +2,16 @@ - Microsoft, William Bradley + Microsoft + Microsoft + ColorCode Universal + dotnet;Community;Toolkit;syntax;highlight true - https://github.com/WilliamABradley/ColorCode-Universal - https://github.com/WilliamABradley/ColorCode-Universal/blob/master/LICENSE - Copyright © Microsoft Corporation, William Bradley 2017 + MIT + true + (c) .NET Foundation and Contributors. All rights reserved. + https://github.com/CommunityToolkit/ColorCode-Universal + $(MSBuildProjectName.Contains('UWP')) $(MSBuildProjectName.Contains('WinUI')) diff --git a/Tests/ColorCode.BasicTests/Program.cs b/Tests/ColorCode.BasicTests/Program.cs index 8257a92..455cb6d 100644 --- a/Tests/ColorCode.BasicTests/Program.cs +++ b/Tests/ColorCode.BasicTests/Program.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System; using System.Linq; diff --git a/Tests/ColorCode.UWPTests/App.xaml.cs b/Tests/ColorCode.UWPTests/App.xaml.cs index 5258932..d13ef27 100644 --- a/Tests/ColorCode.UWPTests/App.xaml.cs +++ b/Tests/ColorCode.UWPTests/App.xaml.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System; using Windows.ApplicationModel; diff --git a/Tests/ColorCode.UWPTests/MainPage.xaml.cs b/Tests/ColorCode.UWPTests/MainPage.xaml.cs index 6152beb..16861eb 100644 --- a/Tests/ColorCode.UWPTests/MainPage.xaml.cs +++ b/Tests/ColorCode.UWPTests/MainPage.xaml.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using ColorCode.Common; using ColorCode.Styling; diff --git a/Tests/ColorCode.UWPTests/Properties/AssemblyInfo.cs b/Tests/ColorCode.UWPTests/Properties/AssemblyInfo.cs index 7b7bfb4..ea8db62 100644 --- a/Tests/ColorCode.UWPTests/Properties/AssemblyInfo.cs +++ b/Tests/ColorCode.UWPTests/Properties/AssemblyInfo.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Reflection; using System.Runtime.InteropServices; diff --git a/Tests/ColorCode.WinUITests/App.xaml.cs b/Tests/ColorCode.WinUITests/App.xaml.cs index ebed719..405748f 100644 --- a/Tests/ColorCode.WinUITests/App.xaml.cs +++ b/Tests/ColorCode.WinUITests/App.xaml.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System; using Windows.ApplicationModel; diff --git a/Tests/ColorCode.WinUITests/MainWindow.xaml.cs b/Tests/ColorCode.WinUITests/MainWindow.xaml.cs index 387a9eb..e67b634 100644 --- a/Tests/ColorCode.WinUITests/MainWindow.xaml.cs +++ b/Tests/ColorCode.WinUITests/MainWindow.xaml.cs @@ -1,4 +1,6 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using ColorCode.Common; using ColorCode.Styling; diff --git a/build/UpdateHeaders.bat b/build/UpdateHeaders.bat index 166ea21..5587277 100644 --- a/build/UpdateHeaders.bat +++ b/build/UpdateHeaders.bat @@ -1,3 +1,3 @@ @ECHO OFF -PowerShell.exe -file "%~dp0build.ps1" -target=UpdateHeaders +PowerShell.exe -file "%~dp0build.ps1" -Target UpdateHeaders PAUSE \ No newline at end of file diff --git a/build/header.txt b/build/header.txt index 76b1428..45274ba 100644 --- a/build/header.txt +++ b/build/header.txt @@ -1 +1,3 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. diff --git a/license.md b/license.md index a75338e..a9ed214 100644 --- a/license.md +++ b/license.md @@ -1,31 +1,13 @@ -# Microsoft Public License (Ms-PL) +# Community Toolkit -This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software. +Copyright © .NET Foundation and Contributors -1. Definitions +All rights reserved. - The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law. +## MIT License (MIT) - A "contribution" is the original software, or any additions or changes to the software. +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - A "contributor" is any person that distributes its contribution under this license. +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - "Licensed patents" are a contributor's patent claims that read directly on its contribution. - -2. Grant of Rights - - (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. - - (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. - -3. Conditions and Limitations - - (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. - - (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically. - - (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software. - - (D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license. - - (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement. \ No newline at end of file +THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/readme.md b/readme.md index 8889dd9..fb9aa14 100644 --- a/readme.md +++ b/readme.md @@ -69,3 +69,7 @@ Please use [GitHub issues](https://github.com/WilliamABradley/ColorCode-Universa ## Contributing Want to help out and add some more parsing support, or add a new Formatter platform? Submit a PR! + +## License + +MIT