Skip to content

Commit 107e4ee

Browse files
committed
Fix code comments
1 parent f79cbb9 commit 107e4ee

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Flow.Launcher.Localization.SourceGenerators/Localize/EnumSourceGenerator.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public partial class EnumSourceGenerator : IIncrementalGenerator
2525
#region Incremental Generator
2626

2727
/// <summary>
28-
/// Initializes the generator and registers source output based on resource files.
28+
/// Initializes the generator and registers source output based on enum declarations.
2929
/// </summary>
3030
/// <param name="context">The initialization context.</param>
3131
public void Initialize(IncrementalGeneratorInitializationContext context)
@@ -54,7 +54,7 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
5454
}
5555

5656
/// <summary>
57-
/// Executes the generation of string properties based on the provided data.
57+
/// Executes the generation of enum data classes based on the provided data.
5858
/// </summary>
5959
/// <param name="spc">The source production context.</param>
6060
/// <param name="data">The provided data.</param>
@@ -76,7 +76,6 @@ private void Execute(SourceProductionContext spc,
7676
if (useDI)
7777
{
7878
// If we use dependency injection, we do not need to check if there is a valid plugin context
79-
// Also we do not need to return the plugin info
8079
pluginInfo = null;
8180
}
8281
else

Flow.Launcher.Localization.SourceGenerators/Localize/LocalizeSourceGenerator.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ private void Execute(SourceProductionContext spc,
104104
if (useDI)
105105
{
106106
// If we use dependency injection, we do not need to check if there is a valid plugin context
107-
// Also we do not need to return the plugin info
108107
pluginInfo = null;
109108
}
110109
else

0 commit comments

Comments
 (0)