using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace SourceGenerator;
[Generator]
internal sealed class MethodOverloadGenerator : ISourceGenerator
{
///
public void Initialize(GeneratorInitializationContext context)
{
context.RegisterForSyntaxNotifications(() => new OverloadSyntaxReceiver());
}
///
public void Execute(GeneratorExecutionContext context)
{
var syntaxReceiver = (OverloadSyntaxReceiver)context.SyntaxReceiver!;
IReadOnlyList candidateMethods = syntaxReceiver.CandidateMethods;
// TODO implement
}
}