From eac4925653bb38378612c798f235283270fe2b52 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 9 Jul 2020 08:24:42 -0700 Subject: [PATCH] Sync shared code from runtime (#23796) --- src/Shared/runtime/Http2/Hpack/DynamicTable.cs | 1 - src/Shared/runtime/Http2/Hpack/H2StaticTable.cs | 1 - src/Shared/runtime/Http2/Hpack/HPackDecoder.cs | 1 - src/Shared/runtime/Http2/Hpack/HPackDecodingException.cs | 3 +-- src/Shared/runtime/Http2/Hpack/HPackEncoder.cs | 1 - src/Shared/runtime/Http2/Hpack/HPackEncodingException.cs | 3 +-- src/Shared/runtime/Http2/Hpack/HeaderField.cs | 1 - src/Shared/runtime/Http2/Hpack/Huffman.cs | 1 - src/Shared/runtime/Http2/Hpack/HuffmanDecodingException.cs | 3 +-- src/Shared/runtime/Http2/Hpack/IntegerDecoder.cs | 1 - src/Shared/runtime/Http2/Hpack/IntegerEncoder.cs | 1 - src/Shared/runtime/Http2/Hpack/StatusCodes.cs | 1 - src/Shared/runtime/Http3/Frames/Http3ErrorCode.cs | 5 ++--- src/Shared/runtime/Http3/Frames/Http3Frame.cs | 1 - src/Shared/runtime/Http3/Frames/Http3FrameType.cs | 1 - .../runtime/Http3/Helpers/VariableLengthIntegerHelper.cs | 1 - src/Shared/runtime/Http3/Http3SettingType.cs | 1 - src/Shared/runtime/Http3/Http3StreamType.cs | 1 - src/Shared/runtime/Http3/QPack/H3StaticTable.cs | 1 - src/Shared/runtime/Http3/QPack/HeaderField.cs | 1 - src/Shared/runtime/Http3/QPack/QPackDecoder.cs | 1 - src/Shared/runtime/Http3/QPack/QPackDecodingException.cs | 1 - src/Shared/runtime/Http3/QPack/QPackEncoder.cs | 1 - src/Shared/runtime/Http3/QPack/QPackEncodingException.cs | 1 - src/Shared/runtime/IHttpHeadersHandler.cs | 1 - src/Shared/runtime/NetEventSource.Common.cs | 1 - .../runtime/Quic/Implementations/Mock/MockConnection.cs | 1 - .../Quic/Implementations/Mock/MockImplementationProvider.cs | 1 - src/Shared/runtime/Quic/Implementations/Mock/MockListener.cs | 1 - src/Shared/runtime/Quic/Implementations/Mock/MockStream.cs | 1 - .../Implementations/MsQuic/Internal/MsQuicAddressHelpers.cs | 3 +-- .../Quic/Implementations/MsQuic/Internal/MsQuicApi.cs | 1 - .../MsQuic/Internal/MsQuicParameterHelpers.cs | 3 +-- .../Implementations/MsQuic/Internal/MsQuicSecurityConfig.cs | 3 +-- .../Quic/Implementations/MsQuic/Internal/MsQuicSession.cs | 3 +-- .../Implementations/MsQuic/Internal/QuicExceptionHelpers.cs | 3 +-- .../MsQuic/Internal/ResettableCompletionSource.cs | 3 +-- .../runtime/Quic/Implementations/MsQuic/MsQuicConnection.cs | 3 +-- .../Implementations/MsQuic/MsQuicImplementationProvider.cs | 3 +-- .../runtime/Quic/Implementations/MsQuic/MsQuicListener.cs | 3 +-- .../runtime/Quic/Implementations/MsQuic/MsQuicStream.cs | 3 +-- .../runtime/Quic/Implementations/QuicConnectionProvider.cs | 1 - .../Quic/Implementations/QuicImplementationProvider.cs | 1 - .../runtime/Quic/Implementations/QuicListenerProvider.cs | 1 - .../runtime/Quic/Implementations/QuicStreamProvider.cs | 1 - src/Shared/runtime/Quic/Interop/Interop.MsQuic.cs | 1 - src/Shared/runtime/Quic/Interop/MsQuicEnums.cs | 3 +-- src/Shared/runtime/Quic/Interop/MsQuicNativeMethods.cs | 1 - src/Shared/runtime/Quic/Interop/MsQuicStatusCodes.cs | 1 - src/Shared/runtime/Quic/Interop/MsQuicStatusHelper.cs | 1 - src/Shared/runtime/Quic/NetEventSource.Quic.cs | 3 +-- src/Shared/runtime/Quic/QuicClientConnectionOptions.cs | 3 +-- src/Shared/runtime/Quic/QuicConnection.cs | 1 - src/Shared/runtime/Quic/QuicConnectionAbortedException.cs | 1 - src/Shared/runtime/Quic/QuicException.cs | 1 - src/Shared/runtime/Quic/QuicImplementationProviders.cs | 1 - src/Shared/runtime/Quic/QuicListener.cs | 1 - src/Shared/runtime/Quic/QuicListenerOptions.cs | 3 +-- src/Shared/runtime/Quic/QuicOperationAbortedException.cs | 3 +-- src/Shared/runtime/Quic/QuicStream.cs | 1 - src/Shared/runtime/Quic/QuicStreamAbortedException.cs | 1 - .../test/Shared.Tests/runtime/Http2/DynamicTableTest.cs | 1 - .../test/Shared.Tests/runtime/Http2/HPackDecoderTest.cs | 1 - .../test/Shared.Tests/runtime/Http2/HPackIntegerTest.cs | 1 - .../test/Shared.Tests/runtime/Http2/HuffmanDecodingTests.cs | 1 - 65 files changed, 20 insertions(+), 85 deletions(-) diff --git a/src/Shared/runtime/Http2/Hpack/DynamicTable.cs b/src/Shared/runtime/Http2/Hpack/DynamicTable.cs index 9e93dca87c..cb6a76350e 100644 --- a/src/Shared/runtime/Http2/Hpack/DynamicTable.cs +++ b/src/Shared/runtime/Http2/Hpack/DynamicTable.cs @@ -1,6 +1,5 @@ // 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 c0f203fef4..9324c502ee 100644 --- a/src/Shared/runtime/Http2/Hpack/H2StaticTable.cs +++ b/src/Shared/runtime/Http2/Hpack/H2StaticTable.cs @@ -1,6 +1,5 @@ // 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 b07dc47d9a..bb9b988e89 100644 --- a/src/Shared/runtime/Http2/Hpack/HPackDecoder.cs +++ b/src/Shared/runtime/Http2/Hpack/HPackDecoder.cs @@ -1,6 +1,5 @@ // 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. #nullable enable using System.Buffers; diff --git a/src/Shared/runtime/Http2/Hpack/HPackDecodingException.cs b/src/Shared/runtime/Http2/Hpack/HPackDecodingException.cs index b30eba72b9..605cac1c0f 100644 --- a/src/Shared/runtime/Http2/Hpack/HPackDecodingException.cs +++ b/src/Shared/runtime/Http2/Hpack/HPackDecodingException.cs @@ -1,6 +1,5 @@ -// Licensed to the .NET Foundation under one or more agreements. +// 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 4a8511e682..d2fbc52232 100644 --- a/src/Shared/runtime/Http2/Hpack/HPackEncoder.cs +++ b/src/Shared/runtime/Http2/Hpack/HPackEncoder.cs @@ -1,6 +1,5 @@ // 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. #nullable enable using System.Collections.Generic; diff --git a/src/Shared/runtime/Http2/Hpack/HPackEncodingException.cs b/src/Shared/runtime/Http2/Hpack/HPackEncodingException.cs index 792c871837..38ca5724a9 100644 --- a/src/Shared/runtime/Http2/Hpack/HPackEncodingException.cs +++ b/src/Shared/runtime/Http2/Hpack/HPackEncodingException.cs @@ -1,6 +1,5 @@ -// Licensed to the .NET Foundation under one or more agreements. +// 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 2384c71983..5127e6fb95 100644 --- a/src/Shared/runtime/Http2/Hpack/HeaderField.cs +++ b/src/Shared/runtime/Http2/Hpack/HeaderField.cs @@ -1,6 +1,5 @@ // 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 c534e0c173..847e8296ae 100644 --- a/src/Shared/runtime/Http2/Hpack/Huffman.cs +++ b/src/Shared/runtime/Http2/Hpack/Huffman.cs @@ -1,6 +1,5 @@ // 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 2442f02da0..7199e36668 100644 --- a/src/Shared/runtime/Http2/Hpack/HuffmanDecodingException.cs +++ b/src/Shared/runtime/Http2/Hpack/HuffmanDecodingException.cs @@ -1,6 +1,5 @@ -// Licensed to the .NET Foundation under one or more agreements. +// 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 0841d69bf2..f98fdf7b24 100644 --- a/src/Shared/runtime/Http2/Hpack/IntegerDecoder.cs +++ b/src/Shared/runtime/Http2/Hpack/IntegerDecoder.cs @@ -1,6 +1,5 @@ // 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 227fbf0a44..b25b218522 100644 --- a/src/Shared/runtime/Http2/Hpack/IntegerEncoder.cs +++ b/src/Shared/runtime/Http2/Hpack/IntegerEncoder.cs @@ -1,6 +1,5 @@ // 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 01c42abbc5..c09236f841 100644 --- a/src/Shared/runtime/Http2/Hpack/StatusCodes.cs +++ b/src/Shared/runtime/Http2/Hpack/StatusCodes.cs @@ -1,6 +1,5 @@ // 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/Http3/Frames/Http3ErrorCode.cs b/src/Shared/runtime/Http3/Frames/Http3ErrorCode.cs index 785eab75bd..11e39e5f78 100644 --- a/src/Shared/runtime/Http3/Frames/Http3ErrorCode.cs +++ b/src/Shared/runtime/Http3/Frames/Http3ErrorCode.cs @@ -1,6 +1,5 @@ // 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 { @@ -13,7 +12,7 @@ namespace System.Net.Http NoError = 0x100, /// /// H3_GENERAL_PROTOCOL_ERROR (0x101): - /// Peer violated protocol requirements in a way which doesn’t match a more specific error code, + /// Peer violated protocol requirements in a way which doesn't match a more specific error code, /// or endpoint declines to use the more specific error code. /// ProtocolError = 0x101, @@ -75,7 +74,7 @@ namespace System.Net.Http RequestCancelled = 0x10c, /// /// H3_REQUEST_INCOMPLETE (0x10E): - /// The client’s stream terminated without containing a fully-formed request. + /// The client?s stream terminated without containing a fully-formed request. /// RequestIncomplete = 0x10d, /// diff --git a/src/Shared/runtime/Http3/Frames/Http3Frame.cs b/src/Shared/runtime/Http3/Frames/Http3Frame.cs index f7ed1b96a5..36ff90bba3 100644 --- a/src/Shared/runtime/Http3/Frames/Http3Frame.cs +++ b/src/Shared/runtime/Http3/Frames/Http3Frame.cs @@ -1,6 +1,5 @@ // 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/Http3/Frames/Http3FrameType.cs b/src/Shared/runtime/Http3/Frames/Http3FrameType.cs index 252d6b76b6..492b4acf64 100644 --- a/src/Shared/runtime/Http3/Frames/Http3FrameType.cs +++ b/src/Shared/runtime/Http3/Frames/Http3FrameType.cs @@ -1,6 +1,5 @@ // 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 { diff --git a/src/Shared/runtime/Http3/Helpers/VariableLengthIntegerHelper.cs b/src/Shared/runtime/Http3/Helpers/VariableLengthIntegerHelper.cs index 010d2372fa..1f2dd4e640 100644 --- a/src/Shared/runtime/Http3/Helpers/VariableLengthIntegerHelper.cs +++ b/src/Shared/runtime/Http3/Helpers/VariableLengthIntegerHelper.cs @@ -1,6 +1,5 @@ // 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.Buffers.Binary; diff --git a/src/Shared/runtime/Http3/Http3SettingType.cs b/src/Shared/runtime/Http3/Http3SettingType.cs index 760446fa5c..2c675ed597 100644 --- a/src/Shared/runtime/Http3/Http3SettingType.cs +++ b/src/Shared/runtime/Http3/Http3SettingType.cs @@ -1,6 +1,5 @@ // 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 { diff --git a/src/Shared/runtime/Http3/Http3StreamType.cs b/src/Shared/runtime/Http3/Http3StreamType.cs index c3402f2550..b386125463 100644 --- a/src/Shared/runtime/Http3/Http3StreamType.cs +++ b/src/Shared/runtime/Http3/Http3StreamType.cs @@ -1,6 +1,5 @@ // 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 { diff --git a/src/Shared/runtime/Http3/QPack/H3StaticTable.cs b/src/Shared/runtime/Http3/QPack/H3StaticTable.cs index c4ca224742..ae605971da 100644 --- a/src/Shared/runtime/Http3/QPack/H3StaticTable.cs +++ b/src/Shared/runtime/Http3/QPack/H3StaticTable.cs @@ -1,6 +1,5 @@ // 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/Http3/QPack/HeaderField.cs b/src/Shared/runtime/Http3/QPack/HeaderField.cs index 12594381bd..e299c3cb33 100644 --- a/src/Shared/runtime/Http3/QPack/HeaderField.cs +++ b/src/Shared/runtime/Http3/QPack/HeaderField.cs @@ -1,6 +1,5 @@ // 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.QPack { diff --git a/src/Shared/runtime/Http3/QPack/QPackDecoder.cs b/src/Shared/runtime/Http3/QPack/QPackDecoder.cs index 0ac27cda1c..2d50916977 100644 --- a/src/Shared/runtime/Http3/QPack/QPackDecoder.cs +++ b/src/Shared/runtime/Http3/QPack/QPackDecoder.cs @@ -1,6 +1,5 @@ // 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. #nullable enable using System.Buffers; diff --git a/src/Shared/runtime/Http3/QPack/QPackDecodingException.cs b/src/Shared/runtime/Http3/QPack/QPackDecodingException.cs index bbdba5d773..760403267f 100644 --- a/src/Shared/runtime/Http3/QPack/QPackDecodingException.cs +++ b/src/Shared/runtime/Http3/QPack/QPackDecodingException.cs @@ -1,6 +1,5 @@ // 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/Http3/QPack/QPackEncoder.cs b/src/Shared/runtime/Http3/QPack/QPackEncoder.cs index 49cfd84633..be43dc3bc7 100644 --- a/src/Shared/runtime/Http3/QPack/QPackEncoder.cs +++ b/src/Shared/runtime/Http3/QPack/QPackEncoder.cs @@ -1,6 +1,5 @@ // 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. #nullable enable using System.Collections.Generic; diff --git a/src/Shared/runtime/Http3/QPack/QPackEncodingException.cs b/src/Shared/runtime/Http3/QPack/QPackEncodingException.cs index 9c5907a3a9..6b5647e18e 100644 --- a/src/Shared/runtime/Http3/QPack/QPackEncodingException.cs +++ b/src/Shared/runtime/Http3/QPack/QPackEncodingException.cs @@ -1,6 +1,5 @@ // 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/IHttpHeadersHandler.cs b/src/Shared/runtime/IHttpHeadersHandler.cs index 11a7e3473e..824889cf79 100644 --- a/src/Shared/runtime/IHttpHeadersHandler.cs +++ b/src/Shared/runtime/IHttpHeadersHandler.cs @@ -1,6 +1,5 @@ // 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. // Don't ever change this unless we are explicitly trying to remove IHttpHeadersHandler as public API. #if KESTREL diff --git a/src/Shared/runtime/NetEventSource.Common.cs b/src/Shared/runtime/NetEventSource.Common.cs index 46cd2ee685..43da47aeab 100644 --- a/src/Shared/runtime/NetEventSource.Common.cs +++ b/src/Shared/runtime/NetEventSource.Common.cs @@ -1,6 +1,5 @@ // 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. #if DEBUG // Uncomment to enable runtime checks to help validate that NetEventSource isn't being misused diff --git a/src/Shared/runtime/Quic/Implementations/Mock/MockConnection.cs b/src/Shared/runtime/Quic/Implementations/Mock/MockConnection.cs index ce784c6efc..361474bcb1 100644 --- a/src/Shared/runtime/Quic/Implementations/Mock/MockConnection.cs +++ b/src/Shared/runtime/Quic/Implementations/Mock/MockConnection.cs @@ -1,6 +1,5 @@ // 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. #nullable enable using System.Buffers.Binary; diff --git a/src/Shared/runtime/Quic/Implementations/Mock/MockImplementationProvider.cs b/src/Shared/runtime/Quic/Implementations/Mock/MockImplementationProvider.cs index 56a5a11679..bff304319f 100644 --- a/src/Shared/runtime/Quic/Implementations/Mock/MockImplementationProvider.cs +++ b/src/Shared/runtime/Quic/Implementations/Mock/MockImplementationProvider.cs @@ -1,6 +1,5 @@ // 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.Net.Security; diff --git a/src/Shared/runtime/Quic/Implementations/Mock/MockListener.cs b/src/Shared/runtime/Quic/Implementations/Mock/MockListener.cs index 1ac9d2a095..f4c0cfdf2c 100644 --- a/src/Shared/runtime/Quic/Implementations/Mock/MockListener.cs +++ b/src/Shared/runtime/Quic/Implementations/Mock/MockListener.cs @@ -1,6 +1,5 @@ // 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. #nullable enable using System.Net.Sockets; diff --git a/src/Shared/runtime/Quic/Implementations/Mock/MockStream.cs b/src/Shared/runtime/Quic/Implementations/Mock/MockStream.cs index 6e27637e0d..32820caaa4 100644 --- a/src/Shared/runtime/Quic/Implementations/Mock/MockStream.cs +++ b/src/Shared/runtime/Quic/Implementations/Mock/MockStream.cs @@ -1,6 +1,5 @@ // 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. #nullable enable using System.Buffers; diff --git a/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/MsQuicAddressHelpers.cs b/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/MsQuicAddressHelpers.cs index 2ecf0eb210..38eb74b06a 100644 --- a/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/MsQuicAddressHelpers.cs +++ b/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/MsQuicAddressHelpers.cs @@ -1,6 +1,5 @@ -// Licensed to the .NET Foundation under one or more agreements. +// 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.Net.Sockets; using static System.Net.Quic.Implementations.MsQuic.Internal.MsQuicNativeMethods; diff --git a/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/MsQuicApi.cs b/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/MsQuicApi.cs index 29fa4f871b..73c3e551ab 100644 --- a/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/MsQuicApi.cs +++ b/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/MsQuicApi.cs @@ -1,6 +1,5 @@ // 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. #nullable enable using System.IO; diff --git a/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/MsQuicParameterHelpers.cs b/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/MsQuicParameterHelpers.cs index 757bb0da05..afeb151a04 100644 --- a/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/MsQuicParameterHelpers.cs +++ b/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/MsQuicParameterHelpers.cs @@ -1,6 +1,5 @@ -// Licensed to the .NET Foundation under one or more agreements. +// 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 static System.Net.Quic.Implementations.MsQuic.Internal.MsQuicNativeMethods; diff --git a/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/MsQuicSecurityConfig.cs b/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/MsQuicSecurityConfig.cs index 58fc811f7c..68b1432028 100644 --- a/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/MsQuicSecurityConfig.cs +++ b/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/MsQuicSecurityConfig.cs @@ -1,6 +1,5 @@ -// Licensed to the .NET Foundation under one or more agreements. +// 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.Quic.Implementations.MsQuic.Internal { diff --git a/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/MsQuicSession.cs b/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/MsQuicSession.cs index 6eeef6c486..e35493a774 100644 --- a/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/MsQuicSession.cs +++ b/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/MsQuicSession.cs @@ -1,6 +1,5 @@ -// Licensed to the .NET Foundation under one or more agreements. +// 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.Quic.Implementations.MsQuic.Internal { diff --git a/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/QuicExceptionHelpers.cs b/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/QuicExceptionHelpers.cs index bca44c017d..a68cbbe939 100644 --- a/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/QuicExceptionHelpers.cs +++ b/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/QuicExceptionHelpers.cs @@ -1,6 +1,5 @@ -// Licensed to the .NET Foundation under one or more agreements. +// 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. #nullable enable namespace System.Net.Quic.Implementations.MsQuic.Internal diff --git a/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/ResettableCompletionSource.cs b/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/ResettableCompletionSource.cs index 4164663df9..2ef7cb81c6 100644 --- a/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/ResettableCompletionSource.cs +++ b/src/Shared/runtime/Quic/Implementations/MsQuic/Internal/ResettableCompletionSource.cs @@ -1,6 +1,5 @@ -// Licensed to the .NET Foundation under one or more agreements. +// 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. #nullable enable using System.Threading.Tasks; diff --git a/src/Shared/runtime/Quic/Implementations/MsQuic/MsQuicConnection.cs b/src/Shared/runtime/Quic/Implementations/MsQuic/MsQuicConnection.cs index b7bd07d901..534bb84afd 100644 --- a/src/Shared/runtime/Quic/Implementations/MsQuic/MsQuicConnection.cs +++ b/src/Shared/runtime/Quic/Implementations/MsQuic/MsQuicConnection.cs @@ -1,6 +1,5 @@ -// Licensed to the .NET Foundation under one or more agreements. +// 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. #nullable enable using System.IO; diff --git a/src/Shared/runtime/Quic/Implementations/MsQuic/MsQuicImplementationProvider.cs b/src/Shared/runtime/Quic/Implementations/MsQuic/MsQuicImplementationProvider.cs index 55c5e524ec..6e7bc75042 100644 --- a/src/Shared/runtime/Quic/Implementations/MsQuic/MsQuicImplementationProvider.cs +++ b/src/Shared/runtime/Quic/Implementations/MsQuic/MsQuicImplementationProvider.cs @@ -1,6 +1,5 @@ -// Licensed to the .NET Foundation under one or more agreements. +// 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.Net.Quic.Implementations.MsQuic.Internal; using System.Net.Security; diff --git a/src/Shared/runtime/Quic/Implementations/MsQuic/MsQuicListener.cs b/src/Shared/runtime/Quic/Implementations/MsQuic/MsQuicListener.cs index 2418a71ed6..71bf88e432 100644 --- a/src/Shared/runtime/Quic/Implementations/MsQuic/MsQuicListener.cs +++ b/src/Shared/runtime/Quic/Implementations/MsQuic/MsQuicListener.cs @@ -1,6 +1,5 @@ -// Licensed to the .NET Foundation under one or more agreements. +// 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. #nullable enable using System.Net.Quic.Implementations.MsQuic.Internal; diff --git a/src/Shared/runtime/Quic/Implementations/MsQuic/MsQuicStream.cs b/src/Shared/runtime/Quic/Implementations/MsQuic/MsQuicStream.cs index 6f3982491b..b84a4ee864 100644 --- a/src/Shared/runtime/Quic/Implementations/MsQuic/MsQuicStream.cs +++ b/src/Shared/runtime/Quic/Implementations/MsQuic/MsQuicStream.cs @@ -1,6 +1,5 @@ -// Licensed to the .NET Foundation under one or more agreements. +// 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. #nullable enable using System.Buffers; diff --git a/src/Shared/runtime/Quic/Implementations/QuicConnectionProvider.cs b/src/Shared/runtime/Quic/Implementations/QuicConnectionProvider.cs index d77bf1df76..da511640f2 100644 --- a/src/Shared/runtime/Quic/Implementations/QuicConnectionProvider.cs +++ b/src/Shared/runtime/Quic/Implementations/QuicConnectionProvider.cs @@ -1,6 +1,5 @@ // 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; using System.Threading.Tasks; diff --git a/src/Shared/runtime/Quic/Implementations/QuicImplementationProvider.cs b/src/Shared/runtime/Quic/Implementations/QuicImplementationProvider.cs index 906f456266..510e94d78a 100644 --- a/src/Shared/runtime/Quic/Implementations/QuicImplementationProvider.cs +++ b/src/Shared/runtime/Quic/Implementations/QuicImplementationProvider.cs @@ -1,6 +1,5 @@ // 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.Net.Security; diff --git a/src/Shared/runtime/Quic/Implementations/QuicListenerProvider.cs b/src/Shared/runtime/Quic/Implementations/QuicListenerProvider.cs index f533a8bb38..f5591472d9 100644 --- a/src/Shared/runtime/Quic/Implementations/QuicListenerProvider.cs +++ b/src/Shared/runtime/Quic/Implementations/QuicListenerProvider.cs @@ -1,6 +1,5 @@ // 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; using System.Threading.Tasks; diff --git a/src/Shared/runtime/Quic/Implementations/QuicStreamProvider.cs b/src/Shared/runtime/Quic/Implementations/QuicStreamProvider.cs index 1e96e1597a..a1de86a003 100644 --- a/src/Shared/runtime/Quic/Implementations/QuicStreamProvider.cs +++ b/src/Shared/runtime/Quic/Implementations/QuicStreamProvider.cs @@ -1,6 +1,5 @@ // 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.Threading; diff --git a/src/Shared/runtime/Quic/Interop/Interop.MsQuic.cs b/src/Shared/runtime/Quic/Interop/Interop.MsQuic.cs index 25a5e57755..ab68320c1f 100644 --- a/src/Shared/runtime/Quic/Interop/Interop.MsQuic.cs +++ b/src/Shared/runtime/Quic/Interop/Interop.MsQuic.cs @@ -1,6 +1,5 @@ // 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.Net.Quic.Implementations.MsQuic.Internal; diff --git a/src/Shared/runtime/Quic/Interop/MsQuicEnums.cs b/src/Shared/runtime/Quic/Interop/MsQuicEnums.cs index 3d294bce9c..62f8fab346 100644 --- a/src/Shared/runtime/Quic/Interop/MsQuicEnums.cs +++ b/src/Shared/runtime/Quic/Interop/MsQuicEnums.cs @@ -1,6 +1,5 @@ -// Licensed to the .NET Foundation under one or more agreements. +// 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.Quic.Implementations.MsQuic.Internal { diff --git a/src/Shared/runtime/Quic/Interop/MsQuicNativeMethods.cs b/src/Shared/runtime/Quic/Interop/MsQuicNativeMethods.cs index 31ab416fbd..644787ea23 100644 --- a/src/Shared/runtime/Quic/Interop/MsQuicNativeMethods.cs +++ b/src/Shared/runtime/Quic/Interop/MsQuicNativeMethods.cs @@ -1,6 +1,5 @@ // 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. #nullable enable using System.Net.Sockets; diff --git a/src/Shared/runtime/Quic/Interop/MsQuicStatusCodes.cs b/src/Shared/runtime/Quic/Interop/MsQuicStatusCodes.cs index 72c35687eb..face87e41f 100644 --- a/src/Shared/runtime/Quic/Interop/MsQuicStatusCodes.cs +++ b/src/Shared/runtime/Quic/Interop/MsQuicStatusCodes.cs @@ -1,6 +1,5 @@ // 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.InteropServices; diff --git a/src/Shared/runtime/Quic/Interop/MsQuicStatusHelper.cs b/src/Shared/runtime/Quic/Interop/MsQuicStatusHelper.cs index f08eb861d2..726a548c59 100644 --- a/src/Shared/runtime/Quic/Interop/MsQuicStatusHelper.cs +++ b/src/Shared/runtime/Quic/Interop/MsQuicStatusHelper.cs @@ -1,6 +1,5 @@ // 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.InteropServices; diff --git a/src/Shared/runtime/Quic/NetEventSource.Quic.cs b/src/Shared/runtime/Quic/NetEventSource.Quic.cs index 921808829d..d86d7c6fc7 100644 --- a/src/Shared/runtime/Quic/NetEventSource.Quic.cs +++ b/src/Shared/runtime/Quic/NetEventSource.Quic.cs @@ -1,6 +1,5 @@ -// Licensed to the .NET Foundation under one or more agreements. +// 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.Tracing; diff --git a/src/Shared/runtime/Quic/QuicClientConnectionOptions.cs b/src/Shared/runtime/Quic/QuicClientConnectionOptions.cs index 3e7d10a199..c4ad3447cb 100644 --- a/src/Shared/runtime/Quic/QuicClientConnectionOptions.cs +++ b/src/Shared/runtime/Quic/QuicClientConnectionOptions.cs @@ -1,6 +1,5 @@ -// Licensed to the .NET Foundation under one or more agreements. +// 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. #nullable enable using System.Net.Security; diff --git a/src/Shared/runtime/Quic/QuicConnection.cs b/src/Shared/runtime/Quic/QuicConnection.cs index c2bbceb43c..999ce7aadd 100644 --- a/src/Shared/runtime/Quic/QuicConnection.cs +++ b/src/Shared/runtime/Quic/QuicConnection.cs @@ -1,6 +1,5 @@ // 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. #nullable enable using System.Net.Quic.Implementations; diff --git a/src/Shared/runtime/Quic/QuicConnectionAbortedException.cs b/src/Shared/runtime/Quic/QuicConnectionAbortedException.cs index 41f4b32998..23e8cf692a 100644 --- a/src/Shared/runtime/Quic/QuicConnectionAbortedException.cs +++ b/src/Shared/runtime/Quic/QuicConnectionAbortedException.cs @@ -1,6 +1,5 @@ // 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.Quic { diff --git a/src/Shared/runtime/Quic/QuicException.cs b/src/Shared/runtime/Quic/QuicException.cs index 843c2f7592..16a26d8afc 100644 --- a/src/Shared/runtime/Quic/QuicException.cs +++ b/src/Shared/runtime/Quic/QuicException.cs @@ -1,6 +1,5 @@ // 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.Quic { diff --git a/src/Shared/runtime/Quic/QuicImplementationProviders.cs b/src/Shared/runtime/Quic/QuicImplementationProviders.cs index 66a7e0d6df..33fabcf861 100644 --- a/src/Shared/runtime/Quic/QuicImplementationProviders.cs +++ b/src/Shared/runtime/Quic/QuicImplementationProviders.cs @@ -1,6 +1,5 @@ // 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.Quic { diff --git a/src/Shared/runtime/Quic/QuicListener.cs b/src/Shared/runtime/Quic/QuicListener.cs index 8fb0c1e337..3659d97cda 100644 --- a/src/Shared/runtime/Quic/QuicListener.cs +++ b/src/Shared/runtime/Quic/QuicListener.cs @@ -1,6 +1,5 @@ // 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.Net.Quic.Implementations; using System.Net.Security; diff --git a/src/Shared/runtime/Quic/QuicListenerOptions.cs b/src/Shared/runtime/Quic/QuicListenerOptions.cs index 934c7a8e24..bdc2121859 100644 --- a/src/Shared/runtime/Quic/QuicListenerOptions.cs +++ b/src/Shared/runtime/Quic/QuicListenerOptions.cs @@ -1,6 +1,5 @@ -// Licensed to the .NET Foundation under one or more agreements. +// 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. #nullable enable using System.Net.Security; diff --git a/src/Shared/runtime/Quic/QuicOperationAbortedException.cs b/src/Shared/runtime/Quic/QuicOperationAbortedException.cs index 25cd145ee6..0d035ffd43 100644 --- a/src/Shared/runtime/Quic/QuicOperationAbortedException.cs +++ b/src/Shared/runtime/Quic/QuicOperationAbortedException.cs @@ -1,6 +1,5 @@ -// Licensed to the .NET Foundation under one or more agreements. +// 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.Quic { diff --git a/src/Shared/runtime/Quic/QuicStream.cs b/src/Shared/runtime/Quic/QuicStream.cs index 4e1af6dff6..1ed1204ad3 100644 --- a/src/Shared/runtime/Quic/QuicStream.cs +++ b/src/Shared/runtime/Quic/QuicStream.cs @@ -1,6 +1,5 @@ // 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. #nullable enable using System.Buffers; diff --git a/src/Shared/runtime/Quic/QuicStreamAbortedException.cs b/src/Shared/runtime/Quic/QuicStreamAbortedException.cs index 6e25335f99..551fb78df0 100644 --- a/src/Shared/runtime/Quic/QuicStreamAbortedException.cs +++ b/src/Shared/runtime/Quic/QuicStreamAbortedException.cs @@ -1,6 +1,5 @@ // 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.Quic { diff --git a/src/Shared/test/Shared.Tests/runtime/Http2/DynamicTableTest.cs b/src/Shared/test/Shared.Tests/runtime/Http2/DynamicTableTest.cs index 4abe4c5e68..eaa9c6cb8c 100644 --- a/src/Shared/test/Shared.Tests/runtime/Http2/DynamicTableTest.cs +++ b/src/Shared/test/Shared.Tests/runtime/Http2/DynamicTableTest.cs @@ -1,6 +1,5 @@ // 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 d5d26ccb37..40221b8b8e 100644 --- a/src/Shared/test/Shared.Tests/runtime/Http2/HPackDecoderTest.cs +++ b/src/Shared/test/Shared.Tests/runtime/Http2/HPackDecoderTest.cs @@ -1,6 +1,5 @@ // 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; diff --git a/src/Shared/test/Shared.Tests/runtime/Http2/HPackIntegerTest.cs b/src/Shared/test/Shared.Tests/runtime/Http2/HPackIntegerTest.cs index f7362aee4e..98938a776b 100644 --- a/src/Shared/test/Shared.Tests/runtime/Http2/HPackIntegerTest.cs +++ b/src/Shared/test/Shared.Tests/runtime/Http2/HPackIntegerTest.cs @@ -1,6 +1,5 @@ // 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.Net.Http.HPack; diff --git a/src/Shared/test/Shared.Tests/runtime/Http2/HuffmanDecodingTests.cs b/src/Shared/test/Shared.Tests/runtime/Http2/HuffmanDecodingTests.cs index 4383de415b..11f453cf5b 100644 --- a/src/Shared/test/Shared.Tests/runtime/Http2/HuffmanDecodingTests.cs +++ b/src/Shared/test/Shared.Tests/runtime/Http2/HuffmanDecodingTests.cs @@ -1,6 +1,5 @@ // 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.Linq;