From ce6eba5fbff9ba786a9aee737bcb005bbb42b43a Mon Sep 17 00:00:00 2001 From: Chris R Date: Mon, 2 Mar 2020 16:16:14 -0800 Subject: [PATCH] Update shared code license headers --- src/Shared/runtime/Http2/Hpack/DynamicTable.cs | 6 +++--- src/Shared/runtime/Http2/Hpack/H2StaticTable.cs | 6 +++--- src/Shared/runtime/Http2/Hpack/HPackDecoder.cs | 6 +++--- src/Shared/runtime/Http2/Hpack/HPackDecodingException.cs | 6 +++--- src/Shared/runtime/Http2/Hpack/HPackEncoder.cs | 6 +++--- src/Shared/runtime/Http2/Hpack/HPackEncodingException.cs | 6 +++--- src/Shared/runtime/Http2/Hpack/HeaderField.cs | 6 +++--- src/Shared/runtime/Http2/Hpack/Huffman.cs | 6 +++--- src/Shared/runtime/Http2/Hpack/HuffmanDecodingException.cs | 6 +++--- src/Shared/runtime/Http2/Hpack/IntegerDecoder.cs | 6 +++--- src/Shared/runtime/Http2/Hpack/IntegerEncoder.cs | 6 +++--- src/Shared/runtime/Http2/Hpack/StatusCodes.cs | 6 +++--- .../MsQuic/Internal/ResettableCompletionSource.cs | 6 +++++- .../test/Shared.Tests/runtime/Http2/DynamicTableTest.cs | 6 +++--- .../test/Shared.Tests/runtime/Http2/HPackDecoderTest.cs | 6 +++--- 15 files changed, 47 insertions(+), 43 deletions(-) diff --git a/src/Shared/runtime/Http2/Hpack/DynamicTable.cs b/src/Shared/runtime/Http2/Hpack/DynamicTable.cs index 22178acae79f..5a8fdf170f0d 100644 --- a/src/Shared/runtime/Http2/Hpack/DynamicTable.cs +++ b/src/Shared/runtime/Http2/Hpack/DynamicTable.cs @@ -1,6 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. -// See THIRD-PARTY-NOTICES.TXT in the project root for license information. +// 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 System.Net.Http.HPack { diff --git a/src/Shared/runtime/Http2/Hpack/H2StaticTable.cs b/src/Shared/runtime/Http2/Hpack/H2StaticTable.cs index eeb102911967..52de5ee8a84d 100644 --- a/src/Shared/runtime/Http2/Hpack/H2StaticTable.cs +++ b/src/Shared/runtime/Http2/Hpack/H2StaticTable.cs @@ -1,6 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. -// See THIRD-PARTY-NOTICES.TXT in the project root for license information. +// 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; diff --git a/src/Shared/runtime/Http2/Hpack/HPackDecoder.cs b/src/Shared/runtime/Http2/Hpack/HPackDecoder.cs index 997047f2c683..41eb1c6938a5 100644 --- a/src/Shared/runtime/Http2/Hpack/HPackDecoder.cs +++ b/src/Shared/runtime/Http2/Hpack/HPackDecoder.cs @@ -1,6 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. -// See THIRD-PARTY-NOTICES.TXT in the project root for license information. +// 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.Buffers; using System.Diagnostics; diff --git a/src/Shared/runtime/Http2/Hpack/HPackDecodingException.cs b/src/Shared/runtime/Http2/Hpack/HPackDecodingException.cs index 63d80cbb9f24..b30eba72b976 100644 --- a/src/Shared/runtime/Http2/Hpack/HPackDecodingException.cs +++ b/src/Shared/runtime/Http2/Hpack/HPackDecodingException.cs @@ -1,6 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. -// See THIRD-PARTY-NOTICES.TXT in the project root for license information. +// 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.Runtime.Serialization; diff --git a/src/Shared/runtime/Http2/Hpack/HPackEncoder.cs b/src/Shared/runtime/Http2/Hpack/HPackEncoder.cs index 2385834b307f..ac321b6f0d0b 100644 --- a/src/Shared/runtime/Http2/Hpack/HPackEncoder.cs +++ b/src/Shared/runtime/Http2/Hpack/HPackEncoder.cs @@ -1,6 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. -// See THIRD-PARTY-NOTICES.TXT in the project root for license information. +// 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.Diagnostics; #if KESTREL diff --git a/src/Shared/runtime/Http2/Hpack/HPackEncodingException.cs b/src/Shared/runtime/Http2/Hpack/HPackEncodingException.cs index 397b313191f6..792c871837a5 100644 --- a/src/Shared/runtime/Http2/Hpack/HPackEncodingException.cs +++ b/src/Shared/runtime/Http2/Hpack/HPackEncodingException.cs @@ -1,6 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. -// See THIRD-PARTY-NOTICES.TXT in the project root for license information. +// 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 System.Net.Http.HPack { diff --git a/src/Shared/runtime/Http2/Hpack/HeaderField.cs b/src/Shared/runtime/Http2/Hpack/HeaderField.cs index f8762046713a..2384c71983b6 100644 --- a/src/Shared/runtime/Http2/Hpack/HeaderField.cs +++ b/src/Shared/runtime/Http2/Hpack/HeaderField.cs @@ -1,6 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. -// See THIRD-PARTY-NOTICES.TXT in the project root for license information. +// 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.Diagnostics; using System.Text; diff --git a/src/Shared/runtime/Http2/Hpack/Huffman.cs b/src/Shared/runtime/Http2/Hpack/Huffman.cs index 3cba01b1d2d4..c534e0c17386 100644 --- a/src/Shared/runtime/Http2/Hpack/Huffman.cs +++ b/src/Shared/runtime/Http2/Hpack/Huffman.cs @@ -1,6 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. -// See THIRD-PARTY-NOTICES.TXT in the project root for license information. +// 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.Diagnostics; diff --git a/src/Shared/runtime/Http2/Hpack/HuffmanDecodingException.cs b/src/Shared/runtime/Http2/Hpack/HuffmanDecodingException.cs index 64352e9535e5..2442f02da0d5 100644 --- a/src/Shared/runtime/Http2/Hpack/HuffmanDecodingException.cs +++ b/src/Shared/runtime/Http2/Hpack/HuffmanDecodingException.cs @@ -1,6 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. -// See THIRD-PARTY-NOTICES.TXT in the project root for license information. +// 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.Runtime.Serialization; diff --git a/src/Shared/runtime/Http2/Hpack/IntegerDecoder.cs b/src/Shared/runtime/Http2/Hpack/IntegerDecoder.cs index dafa6c08b40c..0841d69bf28b 100644 --- a/src/Shared/runtime/Http2/Hpack/IntegerDecoder.cs +++ b/src/Shared/runtime/Http2/Hpack/IntegerDecoder.cs @@ -1,6 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. -// See THIRD-PARTY-NOTICES.TXT in the project root for license information. +// 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.Diagnostics; using System.Numerics; diff --git a/src/Shared/runtime/Http2/Hpack/IntegerEncoder.cs b/src/Shared/runtime/Http2/Hpack/IntegerEncoder.cs index f56ad0a85e7a..227fbf0a447f 100644 --- a/src/Shared/runtime/Http2/Hpack/IntegerEncoder.cs +++ b/src/Shared/runtime/Http2/Hpack/IntegerEncoder.cs @@ -1,6 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. -// See THIRD-PARTY-NOTICES.TXT in the project root for license information. +// 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.Diagnostics; diff --git a/src/Shared/runtime/Http2/Hpack/StatusCodes.cs b/src/Shared/runtime/Http2/Hpack/StatusCodes.cs index f302e7339b8a..b701fa79f41a 100644 --- a/src/Shared/runtime/Http2/Hpack/StatusCodes.cs +++ b/src/Shared/runtime/Http2/Hpack/StatusCodes.cs @@ -1,6 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. -// See THIRD-PARTY-NOTICES.TXT in the project root for license information. +// 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.Globalization; using System.Text; diff --git a/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/ResettableCompletionSource.cs b/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/ResettableCompletionSource.cs index 1db5dc67b4c9..4bcf0a917a45 100644 --- a/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/ResettableCompletionSource.cs +++ b/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/ResettableCompletionSource.cs @@ -1,4 +1,8 @@ -using System.Threading.Tasks; +// 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.Threading.Tasks; using System.Threading.Tasks.Sources; namespace System.Net.Quic.Implementations.MsQuic.Internal diff --git a/src/Shared/test/Shared.Tests/runtime/Http2/DynamicTableTest.cs b/src/Shared/test/Shared.Tests/runtime/Http2/DynamicTableTest.cs index fe0e4c7ec5a7..4abe4c5e6801 100644 --- a/src/Shared/test/Shared.Tests/runtime/Http2/DynamicTableTest.cs +++ b/src/Shared/test/Shared.Tests/runtime/Http2/DynamicTableTest.cs @@ -1,6 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. -// See THIRD-PARTY-NOTICES.TXT in the project root for license information. +// 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.Diagnostics; diff --git a/src/Shared/test/Shared.Tests/runtime/Http2/HPackDecoderTest.cs b/src/Shared/test/Shared.Tests/runtime/Http2/HPackDecoderTest.cs index d7bd47845c0f..2afdb299017c 100644 --- a/src/Shared/test/Shared.Tests/runtime/Http2/HPackDecoderTest.cs +++ b/src/Shared/test/Shared.Tests/runtime/Http2/HPackDecoderTest.cs @@ -1,6 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. -// See THIRD-PARTY-NOTICES.TXT in the project root for license information. +// 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.Buffers; using System.Linq;