Skip to content

Commit 6ad4a91

Browse files
authored
Update InternalServerError.cs (#55572)
The license header was missing which caused unified-build to fail. > D:\a\_work\1\vmr\src\aspnetcore\src\Http\Http.Results\src\InternalServerError.cs(1,1): error IDE0073: A source file is missing a required header. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0073) [D:\a\_work\1\vmr\src\aspnetcore\src\Http\Http.Results\src\Microsoft.AspNetCore.Http.Results.csproj]
1 parent da3aa27 commit 6ad4a91

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Http/Http.Results/src/InternalServerError.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
14
using System.Reflection;
25
using Microsoft.AspNetCore.Builder;
36
using Microsoft.AspNetCore.Http.Metadata;
@@ -50,4 +53,4 @@ static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, Endpoi
5053

5154
builder.Metadata.Add(new ProducesResponseTypeMetadata(StatusCodes.Status500InternalServerError, typeof(void)));
5255
}
53-
}
56+
}

0 commit comments

Comments
 (0)