FastExpressionCompiler.src 4.2.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.

Requires NuGet 3.3.0 or higher.

dotnet add package FastExpressionCompiler.src --version 4.2.0                
NuGet\Install-Package FastExpressionCompiler.src -Version 4.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FastExpressionCompiler.src" Version="4.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FastExpressionCompiler.src --version 4.2.0                
#r "nuget: FastExpressionCompiler.src, 4.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install FastExpressionCompiler.src as a Cake Addin
#addin nuget:?package=FastExpressionCompiler.src&version=4.2.0

// Install FastExpressionCompiler.src as a Cake Tool
#tool nuget:?package=FastExpressionCompiler.src&version=4.2.0                

FastExpressionCompiler is 10-40x times faster than Expression.Compile()

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.2.1 101 7/2/2024
4.2.0 119 4/29/2024
4.1.0 127 1/20/2024
4.0.2 94 1/20/2024
4.0.1 204 11/23/2023
4.0.0 117 11/12/2023
3.3.4 358 1/17/2023
3.3.3 452 7/24/2022
3.3.2 453 5/27/2022
3.3.1 444 5/25/2022
3.3.0 460 4/26/2022
3.2.2 701 2/2/2022
3.2.1 4,182 7/21/2021
3.2.0 398 6/14/2021
3.1.0 361 5/3/2021
3.0.5 364 4/21/2021
3.0.4 370 4/6/2021
3.0.3 402 4/1/2021
3.0.2 372 3/30/2021
3.0.1 402 3/27/2021
3.0.0 421 3/17/2021

## v4.2.0 Feature and bug-fix release

- feat: #133 Optimize Switch Expression
- feat: #393 Support ToCSharpString of the block in the ternary expression
- feat: #396 Optimize conditional expressions with the DefaultExpression left or right operand the same way as ConstantExpression

- fix: #390 System.AccessViolationException when mapping using Mapster
- fix: #391 ToCSharpString outputs ? for Nullable which does not produce the compile-able code
- fix: #392 ToExpressionString wrongly declares Label instead of LabelTarget array
- fix: #394 Calling a user defined == operator runs into a CLR invalid program exception
- fix: #397 Fix and optimize the Switch support
- fix: #399 Coalesce nullable with 0 is not working
- fix: #400 Fix the direct assignment of Try to Member expression because indirect assignment through tmp var works
- fix: #401 Invoke inlining is not working with collections in AutoMapper tests
- fix: #404 An expression with a single parameter concatenated to a string causes 'Exception has been thrown by the target of an invocation' during delegate invocation
- fix: #405 NullReferenceException with V4.X when using long?[]
- fix: #406 NullReferenceException with V4.X
- fix: #407 NullReferenceException when setting the Enum field
- fix: #408 Dictionary mapping failing when the InvocationExpression inlining is involved

## v4.1.0 Small feature and bug release

- added: #379 Add direct net8.0 target as soon as Appveyor CI will support it
- fixed: #380 Comparisons with nullable types
- fixed: #381 NullReferenceException with V4.X when trying to map
- fixed: #386 Value can not be null(parametr 'meth')

## v4.0.1 Bug-fix release

- fixed: #374 CompileFast doesn't work with HasFlag

## v4.0.0 Major release

- fixed: #352 xxxAssign doesn't work with MemberAccess
- fixed: #353 NullReferenceException when calling CompileFast() results
- fixed: #357 Invalid program exception
- fixed: #366 FastExpressionCompiler[v3.3.4] gives incorrect results in some linq operations
- fixed: #368 Fix duplicate nested lambda compilation
- fixed: #374 CompileFast doesn't work with HasFlag

- added: #264 Optimize the array index emit to emit specific Ldelem_ code instead of generic Ldelem
- added: #273 Implement IArgumentProvider for the BlockExpression to minimize the consumed memory
- added: #346 Is it possible to implement ref local variables?
- added: #359 Improve the performance of variable lookup
- added: #367 Better diagnostics and debugging with error codes from Collect and Compile rounds
- added: #369 Decrease memory occupied by the LightExpression Block by storing Expression in SmallList (partly on stack)
- added: #370 Optimize any nested lambda compilation (LINQ) by compiling right after collect one-by-one
- added: #372 Support LightExpression.Expression.TryConvertDelegateIntrinsic for converting one type of delegate to another
- added: #373 Support custom C# printing for the LightExpression.Expression