We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0995c9b + 0c6d3dd commit 111c989Copy full SHA for 111c989
Flow.Launcher.Localization.SourceGenerators/Localize/LocalizeSourceGenerator.cs
@@ -304,9 +304,11 @@ private void GenerateClass(
304
Dictionary<string, LocalizableString> localizedStrings,
305
string[] unusedLocalizationKeys,
306
string propertyName = null
307
- )
308
- {
+ ) {
+ const string name = nameof(LocalizeSourceGenerator);
309
+ var version = typeof(LocalizeSourceGenerator).Assembly.GetName().Version;
310
sb.AppendLine();
311
+ sb.AppendLine($"[System.CodeDom.Compiler.GeneratedCode(\"{name}\", \"{version}\")]");
312
sb.AppendLine($"public static class {ClassName}");
313
sb.AppendLine("{");
314
foreach (var localizedString in localizedStrings)
0 commit comments