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.
1 parent e4f921a commit 0c6d3ddCopy full SHA for 0c6d3dd
1 file changed
Flow.Launcher.Localization.SourceGenerators/Localize/LocalizeSourceGenerator.cs
@@ -304,11 +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(\"LocalizeSourceGenerator\", \"{version}\")]");
+ 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