ExpressionToCodeLib 2.0.0-alpha

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.

Includes experimental alternative subexpression value formatter

This package has no dependencies.

Version Downloads Last updated
3.5.0 61 03/13/2024
3.4.1 40 05/28/2024
3.4.0 36 05/28/2024
3.3.0 39 05/28/2024
3.2.0 51 05/28/2024
3.1.0 37 05/28/2024
3.1.0-alpha 37 05/30/2024
3.0.0 37 05/28/2024
3.0.0-beta1 36 05/30/2024
3.0.0-alpha4 46 05/28/2024
3.0.0-alpha3 37 05/28/2024
3.0.0-alpha2 41 05/28/2024
3.0.0-alpha1 39 05/28/2024
2.7.0 37 05/28/2024
2.6.0 40 05/28/2024
2.6.0-signed 37 05/28/2024
2.5.1 51 05/28/2024
2.5.0 38 05/28/2024
2.4.1 37 05/28/2024
2.4.0 40 05/28/2024
2.3.0 38 05/28/2024
2.2.0 37 05/22/2024
2.1.0 39 05/28/2024
2.0.0 38 05/28/2024
2.0.0-beta7 37 05/22/2024
2.0.0-beta6 34 05/30/2024
2.0.0-beta5 37 05/30/2024
2.0.0-beta4 41 05/28/2024
2.0.0-beta3 36 05/28/2024
2.0.0-beta2 45 05/28/2024
2.0.0-alpha9 40 05/28/2024
2.0.0-alpha6 47 05/28/2024
2.0.0-alpha4 33 05/28/2024
2.0.0-alpha 34 05/22/2024
1.5.4 35 05/28/2024
1.5.3 36 05/28/2024
1.5.2 36 05/28/2024
1.5.1 37 05/28/2024
1.5.0 46 05/28/2024
1.4.8 35 05/28/2024
1.4.7 34 05/28/2024
1.4.6 40 05/28/2024
1.4.5 35 05/28/2024
1.4.4 38 05/28/2024
1.4.3 33 05/28/2024
1.4.2 34 05/28/2024
1.4.1 41 05/28/2024
1.4.0 52 05/28/2024
1.3.0 38 05/28/2024
1.2.0 41 05/28/2024
1.1.0.1 37 05/28/2024
1.1.0 41 05/28/2024