SourceCodeGenerator.Net project added.
This commit is contained in:
1 parent
12083c4682
commit
e7c424dfa9
3 files changed
+45
No files matched your search
@@ -0,0 +1,19 @@
|
||||
using Microsoft.CodeAnalysis;
|
||||
using System;
|
||||
|
||||
namespace SourceCodeGenerator.Net
|
||||
{
|
||||
[Generator]
|
||||
public class RecyclableCollectionsGenerator : ISourceGenerator
|
||||
{
|
||||
public void Execute(GeneratorExecutionContext context)
|
||||
{
|
||||
context.AddSource($".g.cs");
|
||||
}
|
||||
|
||||
public void Initialize(GeneratorInitializationContext context)
|
||||
{
|
||||
// Nothing to initialize at this point yet
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user