Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sakno committed Feb 16, 2024
1 parent ee0ce9d commit 5050edc
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/DotNext.Tests/Metaprogramming/RegressionIssue17.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,8 @@ private static Expression<Func<TestClass, Task<TestClass>>> GetTestExpression(bo
});
}

public class TestClass
public class TestClass(string testString)
{
public TestClass(string testString)
{
TestString = testString;
}

public string TestString { get; set; }
public string TestString { get; set; } = testString;
}
}

0 comments on commit 5050edc

Please sign in to comment.