Skip to content

Commit 07f5332

Browse files
piotrstenkeSergio0694
authored andcommitted
Fix typos in PolyfillsGenerator.cs
- Fixed some typos in comments
1 parent 8759578 commit 07f5332

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/PolySharp.SourceGenerators/PolyfillsGenerator.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
1818
context.AnalyzerConfigOptionsProvider
1919
.Select(GetGenerationOptions);
2020

21-
// Get the sequence of all avaailable types that could be generated
21+
// Get the sequence of all available types that could be generated
2222
IncrementalValuesProvider<AvailableType> availableTypes =
2323
context.CompilationProvider
2424
.SelectMany(GetAvailableTypes);
@@ -33,7 +33,7 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
3333
// Generate source for the current type depending on current accessibility
3434
context.RegisterSourceOutput(generatedTypes, EmitGeneratedType);
3535

36-
// Get all potential type forwarded type names
36+
// Get all potential forwarded type names
3737
IncrementalValuesProvider<string> typeForwardNames =
3838
context.CompilationProvider
3939
.SelectMany(GetCoreLibTypes);
@@ -48,4 +48,4 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
4848
// Generate the type forwards, if any
4949
context.RegisterImplementationSourceOutput(filteredTypeForwardNames, EmitTypeForwards);
5050
}
51-
}
51+
}

0 commit comments

Comments
 (0)