From e316898c9fe115c8bba0bc80d3bc0843d9b44b99 Mon Sep 17 00:00:00 2001 From: Kristian Hellang Date: Tue, 22 Nov 2016 13:08:34 +0100 Subject: [PATCH] Added missing copyright header --- .../Internal/Http/Frame.Generated.cs | 2 ++ .../Internal/Http/FrameHeaders.Generated.cs | 2 ++ .../FrameFeatureCollection.cs | 4 +++- .../KnownHeaders.cs | 4 +++- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Http/Frame.Generated.cs b/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Http/Frame.Generated.cs index adef63eee8..160d110c54 100644 --- a/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Http/Frame.Generated.cs +++ b/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Http/Frame.Generated.cs @@ -1,3 +1,5 @@ +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; diff --git a/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Http/FrameHeaders.Generated.cs b/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Http/FrameHeaders.Generated.cs index e8b118824d..08bdcc099b 100644 --- a/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Http/FrameHeaders.Generated.cs +++ b/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Http/FrameHeaders.Generated.cs @@ -1,3 +1,5 @@ +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; diff --git a/tools/Microsoft.AspNetCore.Server.Kestrel.GeneratedCode/FrameFeatureCollection.cs b/tools/Microsoft.AspNetCore.Server.Kestrel.GeneratedCode/FrameFeatureCollection.cs index 950f06b730..9f46ddfd11 100644 --- a/tools/Microsoft.AspNetCore.Server.Kestrel.GeneratedCode/FrameFeatureCollection.cs +++ b/tools/Microsoft.AspNetCore.Server.Kestrel.GeneratedCode/FrameFeatureCollection.cs @@ -62,7 +62,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.GeneratedCode typeof(IHttpConnectionFeature) }; - return $@" + return $@"// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + using System; using System.Collections.Generic; diff --git a/tools/Microsoft.AspNetCore.Server.Kestrel.GeneratedCode/KnownHeaders.cs b/tools/Microsoft.AspNetCore.Server.Kestrel.GeneratedCode/KnownHeaders.cs index d50bdebf46..1003a17e99 100644 --- a/tools/Microsoft.AspNetCore.Server.Kestrel.GeneratedCode/KnownHeaders.cs +++ b/tools/Microsoft.AspNetCore.Server.Kestrel.GeneratedCode/KnownHeaders.cs @@ -262,7 +262,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.GeneratedCode offset += header.BytesCount; } } - return $@" + return $@"// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + using System; using System.Collections.Generic; using Microsoft.AspNetCore.Server.Kestrel.Internal.Infrastructure;