FastExpressionCompiler.Internal.src 4.2.2

Prefix Reserved

Requires NuGet 3.3.0 or higher.

dotnet add package FastExpressionCompiler.Internal.src --version 4.2.2                
NuGet\Install-Package FastExpressionCompiler.Internal.src -Version 4.2.2                
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.Internal.src" Version="4.2.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FastExpressionCompiler.Internal.src --version 4.2.2                
#r "nuget: FastExpressionCompiler.Internal.src, 4.2.2"                
#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.Internal.src as a Cake Addin
#addin nuget:?package=FastExpressionCompiler.Internal.src&version=4.2.2

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

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 net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  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 (2)

Showing the top 2 popular GitHub repositories that depend on FastExpressionCompiler.Internal.src:

Repository Stars
Particular/NServiceBus
Build, version, and monitor better microservices with the most powerful service platform for .NET
sebastienros/parlot
Fast and lightweight parser creation tools
Version Downloads Last updated
4.2.2 377 10/13/2024
4.2.1 914 7/2/2024
4.2.0 1,273 4/29/2024
4.1.0 1,161 1/20/2024
4.0.2 311 1/20/2024
4.0.1 768 11/23/2023
4.0.0 549 11/12/2023
3.3.4 3,929 1/17/2023
3.3.3 18,197 7/24/2022
3.3.2 4,342 5/27/2022
3.3.1 913 5/25/2022
3.3.0 1,493 4/26/2022
3.2.2 1,649,364 2/2/2022
3.2.1 2,760 7/21/2021
3.2.0 923 6/14/2021
3.1.0 828 5/3/2021
3.0.5 812 4/21/2021
3.0.4 805 4/6/2021
3.0.3 874 4/1/2021
3.0.2 855 3/30/2021
3.0.1 831 3/27/2021
3.0.0 942 3/17/2021
3.0.0-preview-07 857 12/25/2020
3.0.0-preview-04 820 11/3/2020

## v4.2.2 Bug-fix release

- fix: #418 Wrong output when comparing NaN value  
- fix: #419 System.InvalidProgramException : The JIT compiler encountered invalid IL code or an internal limitation
- fix: #420 Nullable<DateTime> comparison differs from Expression.Compile
- fix: #421 Date difference is giving wrong negative value
- fix: #422 [bug] InvalidProgramException when having TryCatch + Default in Catch
- fix: #423 Converting a uint to a float gives the wrong result


## v4.2.1 Feature and bug-fix release

- fix: ImTools should disable the nullable context
- fix: nullable property
- fix: Incorrect il for struct indexer
- fix: Fix or support return ref value
- fix: Incorrect il when passing by ref value

## Contributors

* @sebastienros made contribution in https://github.com/dadhi/FastExpressionCompiler/pull/412

## Full Changelog

https://github.com/dadhi/FastExpressionCompiler/compare/v4.2.0...v4.2.1


## 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