Skip to content

Commit

Permalink
feat: mark more generated code as generated wrt dotnet/runtime#64541
Browse files Browse the repository at this point in the history
  • Loading branch information
onyxmaster committed Apr 10, 2024
1 parent 0a20ce2 commit c8e21b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dnet.SourceGenerators/CommonGenerators.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private static void AddSources(IncrementalGeneratorPostInitializationContext con
{
foreach (var result in sources)
{
context.AddSource(result.Name, result.Text);
context.AddSource(result.Name + ".g", "// <auto-generated/>" + Environment.NewLine + result.Text);
}
}

Expand Down

0 comments on commit c8e21b3

Please sign in to comment.