add methods
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
namespace SourceGeneratorInterface
|
||||
using System;
|
||||
|
||||
namespace SourceGeneratorInterface
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main()
|
||||
{
|
||||
IPerson ip = null;
|
||||
//var i = ip.Id;
|
||||
PersonProxy p = new PersonProxy(new Person());
|
||||
p.Name = "test";
|
||||
p.Add("x");
|
||||
Console.WriteLine(System.Text.Json.JsonSerializer.Serialize(p));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user