SourceGen started
This commit is contained in:
1 parent
a3cd3e86a1
commit
a409054750
274 files changed
+14862
-3
No files matched your search
@@ -0,0 +1,12 @@
|
||||
using Generators;
|
||||
|
||||
namespace InfraGens.Sample;
|
||||
|
||||
// This code will not compile until you build the project with the Source Generators
|
||||
|
||||
[Report]
|
||||
public partial class SampleEntity
|
||||
{
|
||||
public int Id { get; } = 42;
|
||||
public string? Name { get; } = "Sample";
|
||||
}
|
||||
Reference in new issue
Block a user