ExpressionToCodeLib 1.5.1

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.

There is a newer version of this package available.
See the version list below for details.
Install-Package ExpressionToCodeLib -Version 1.5.1
dotnet add package ExpressionToCodeLib --version 1.5.1
<PackageReference Include="ExpressionToCodeLib" Version="1.5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ExpressionToCodeLib --version 1.5.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Added basic support for expressions with blocks such as "x => { x += 3; return x*2; }"

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
3.2.0 1,223 2/10/2019
3.1.0 3,952 7/10/2018
3.1.0-alpha 165 7/10/2018
3.0.0 341 6/27/2018
3.0.0-beta1 167 6/26/2018
3.0.0-alpha4 158 6/15/2018
3.0.0-alpha3 167 6/15/2018
3.0.0-alpha2 156 6/12/2018
3.0.0-alpha1 160 6/3/2018
2.7.0 5,105 2/19/2018
2.6.0 227 2/16/2018
2.6.0-signed 241 2/16/2018
2.5.1 4,986 10/30/2017
2.5.0 547 9/20/2017
2.4.1 252 8/23/2017
2.4.0 468 6/1/2017
2.3.0 236 6/1/2017
2.2.0 307 5/10/2017
2.1.0 267 5/5/2017
2.0.0 284 4/26/2017
2.0.0-beta7 233 4/10/2017
2.0.0-beta6 220 3/30/2017
2.0.0-beta5 241 3/30/2017
2.0.0-beta4 225 3/26/2017
2.0.0-beta3 210 3/26/2017
2.0.0-beta2 360 1/25/2017
2.0.0-alpha9 249 1/25/2017
2.0.0-alpha6 762 7/29/2016
2.0.0-alpha4 356 2/24/2016
2.0.0-alpha 283 2/7/2016
1.5.4 7,825 7/7/2015
1.5.3 1,973 6/15/2015
1.5.2 819 3/22/2015
1.5.1 482 3/10/2015
1.5.0 560 3/7/2015
1.4.8 980 1/21/2015
1.4.7 422 1/11/2015
1.4.6 1,998 8/30/2014
1.4.5 2,178 5/29/2014
1.4.4 3,817 4/9/2013
1.4.3 505 4/5/2013
1.4.2 474 3/29/2013
1.4.1 461 3/26/2013
1.4.0 477 3/12/2013
1.3.0 511 3/11/2013
1.2.0 486 3/8/2013
1.1.0.1 482 3/7/2013
1.1.0 475 3/7/2013
Show less