Skip to content

Commit

Permalink
Fix typos in PolyfillsGenerator.cs
Browse files Browse the repository at this point in the history
- Fixed some typos in comments
  • Loading branch information
piotrstenke authored and Sergio0694 committed Dec 18, 2023
1 parent 8759578 commit 07f5332
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/PolySharp.SourceGenerators/PolyfillsGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
context.AnalyzerConfigOptionsProvider
.Select(GetGenerationOptions);

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

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

0 comments on commit 07f5332

Please sign in to comment.