Add support for 'file-scoped' namespaces (#32)

* 008

* n

* da
This commit is contained in:
Stef Heyenrath
2022-05-07 09:33:15 +02:00
committed by GitHub
parent 15547b9498
commit 23e9f80832
10 changed files with 116 additions and 50 deletions
@@ -15,10 +15,12 @@ internal class ProxyInterfaceCodeGenerator : ISourceGenerator
public void Initialize(GeneratorInitializationContext context)
{
//if (!System.Diagnostics.Debugger.IsAttached)
//{
// System.Diagnostics.Debugger.Launch();
//}
#if DEBUGATTACH
if (!System.Diagnostics.Debugger.IsAttached)
{
System.Diagnostics.Debugger.Launch();
}
#endif
context.RegisterForSyntaxNotifications(() => new ProxySyntaxReceiver());
}