ExpressionToCodeLib 2.0.0-beta2

Generates valid, readable C# from an expression tree, and can annotate that code with runtime values. This can be useful for code generation and for unit testing: ExpressionToCode detects NUnit, xUnit.NET and MSTest and uses their assertions if available, and a normal Exception otherwise (so it runs fine outside those specific unit testing frameworks too). ExpressionToCode was inspired by Power Asssert.NET. It differs from PowerAssert.NET by supporting a much larger portion of the lambda syntax and to respect C#'s normal operator precedence, in addition to general polish.

No packages depend on ExpressionToCodeLib.

Add static "Expect" method to be imported via "using static ExpressionToCodeLib.ExpressionExpectations;"

This package has no dependencies.

Version Downloads Last updated
3.5.0 26 03/13/2024
3.4.1 14 05/28/2024
3.4.0 13 05/28/2024
3.3.0 14 05/28/2024
3.2.0 18 05/28/2024
3.1.0 13 05/28/2024
3.1.0-alpha 14 05/30/2024
3.0.0 11 05/28/2024
3.0.0-beta1 12 05/30/2024
3.0.0-alpha4 13 05/28/2024
3.0.0-alpha3 13 05/28/2024
3.0.0-alpha2 17 05/28/2024
3.0.0-alpha1 15 05/28/2024
2.7.0 16 05/28/2024
2.6.0 13 05/28/2024
2.6.0-signed 16 05/28/2024
2.5.1 15 05/28/2024
2.5.0 15 05/28/2024
2.4.1 14 05/28/2024
2.4.0 15 05/28/2024
2.3.0 14 05/28/2024
2.2.0 15 05/22/2024
2.1.0 12 05/28/2024
2.0.0 16 05/28/2024
2.0.0-beta7 14 05/22/2024
2.0.0-beta6 12 05/30/2024
2.0.0-beta5 15 05/30/2024
2.0.0-beta4 17 05/28/2024
2.0.0-beta3 15 05/28/2024
2.0.0-beta2 17 05/28/2024
2.0.0-alpha9 16 05/28/2024
2.0.0-alpha6 14 05/28/2024
2.0.0-alpha4 13 05/28/2024
2.0.0-alpha 12 05/22/2024
1.5.4 13 05/28/2024
1.5.3 13 05/28/2024
1.5.2 12 05/28/2024
1.5.1 14 05/28/2024
1.5.0 13 05/28/2024
1.4.8 12 05/28/2024
1.4.7 13 05/28/2024
1.4.6 14 05/28/2024
1.4.5 15 05/28/2024
1.4.4 15 05/28/2024
1.4.3 13 05/28/2024
1.4.2 13 05/28/2024
1.4.1 12 05/28/2024
1.4.0 14 05/28/2024
1.3.0 13 05/28/2024
1.2.0 16 05/28/2024
1.1.0.1 12 05/28/2024
1.1.0 15 05/28/2024