Use .generated suffix for generated C# code

Use the `.generated` suffix instead of `_Generated` so .NET marks C#
file generated by Godot source generators as generated code.
This commit is contained in:
Raul Santos 2022-10-22 23:13:52 +02:00
parent 0b627c4133
commit 687633e5bd
No known key found for this signature in database
GPG key ID: B532473AE3A803E4
7 changed files with 10 additions and 10 deletions

View file

@ -73,7 +73,7 @@ namespace Godot.SourceGenerators
bool isInnerClass = symbol.ContainingType != null;
string uniqueHint = symbol.FullQualifiedName().SanitizeQualifiedNameForUniqueHint()
+ "_ScriptSerialization_Generated";
+ "_ScriptSerialization.generated";
var source = new StringBuilder();