Skip to content

Commit 9d799a2

Browse files
authored
A few seconds reading goes a long way.
1 parent 9172917 commit 9d799a2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/StringLiteralGenerator/Utf8StringLiteralGenerator.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,9 @@ string getFilename(INamedTypeSymbol type)
8989
string generate(INamedTypeSymbol containingType, IEnumerable<(string methodName, string value, Accessibility accessibility)> methods)
9090
{
9191
buffer.Clear();
92-
92+
buffer.AppendLine("// <auto-generated />");
9393
if (!string.IsNullOrEmpty(containingType.ContainingNamespace.Name))
9494
{
95-
buffer.AppendLine("// <auto-generated />");
9695
buffer.Append(@"namespace ");
9796
buffer.Append(containingType.ContainingNamespace.ToDisplayString());
9897
buffer.Append(@"

0 commit comments

Comments
 (0)