Skip to content

Commit

Permalink
Updated the code example
Browse files Browse the repository at this point in the history
  • Loading branch information
ByronMayne committed Mar 10, 2024
1 parent ff17848 commit 5baf6be
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@ namespace Example
[SgfGenerator]
public class ExampleSourceGenerator : IncrementalGenerator
{
// Constructor can only take two arguments in this order
public ExampleSourceGenerator(
IGeneratorEnvironment generatorEnvironment,
ILogger logger) : base("ExampleSourceGenerator",
generatorPlatform, logger)
{$$
public ExampleSourceGenerator() : base("ExampleSourceGenerator")
{

}

Expand Down

0 comments on commit 5baf6be

Please sign in to comment.