Beispiel #1
0
        public void Test1()
        {
            string script = @"public record Person
{
    public string FirstName { get; init; }
    public string LastName { get; init; }
}";
            AssemblyCSharpBuilder builder = new AssemblyCSharpBuilder();

            builder.Domain = DomainManagement.Random;
            builder.Add(script);
            var type = builder.GetType();

            Assert.NotNull(type);
        }