mirror of
https://github.com/zoriya/EntityFrameworkCore.Projectables.git
synced 2025-12-06 05:56:10 +00:00
"auto-generated" moved to the top of the generated file so StyleCop can see it
This commit is contained in:
@@ -93,6 +93,8 @@ namespace EntityFrameworkCore.Projectables.Generator
|
||||
|
||||
resultBuilder.Clear();
|
||||
|
||||
resultBuilder.AppendLine("// <auto-generated/>");
|
||||
|
||||
if (projectable.UsingDirectives is not null)
|
||||
{
|
||||
foreach (var usingDirective in projectable.UsingDirectives.Distinct())
|
||||
@@ -130,7 +132,6 @@ namespace EntityFrameworkCore.Projectables.Generator
|
||||
);
|
||||
|
||||
resultBuilder.Append($@"
|
||||
// <auto-generated/>
|
||||
namespace EntityFrameworkCore.Projectables.Generated
|
||||
#nullable disable
|
||||
{{
|
||||
|
||||
Reference in New Issue
Block a user