Skip to content

Commit 6e6922b

Browse files
committed
Add empty LightupGenerator
1 parent 62aaf36 commit 6e6922b

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
2+
// Licensed under the MIT License. See LICENSE in the project root for license information.
3+
4+
namespace StyleCop.Analyzers.CodeGeneration
5+
{
6+
using Microsoft.CodeAnalysis;
7+
8+
[Generator]
9+
internal sealed class LightupGenerator : ISourceGenerator
10+
{
11+
public void Initialize(GeneratorInitializationContext context)
12+
{
13+
context.RegisterForSyntaxNotifications(() => new SyntaxReceiver());
14+
}
15+
16+
public void Execute(GeneratorExecutionContext context)
17+
{
18+
if (context.SyntaxReceiver is not SyntaxReceiver receiver)
19+
{
20+
return;
21+
}
22+
}
23+
24+
private class SyntaxReceiver : ISyntaxReceiver
25+
{
26+
public void OnVisitSyntaxNode(SyntaxNode syntaxNode)
27+
{
28+
}
29+
}
30+
}
31+
}

0 commit comments

Comments
 (0)