VOOZH about

URL: https://www.nuget.org/packages/FastExpressionCompiler.src

⇱ NuGet Gallery | FastExpressionCompiler.src 5.4.1




👁 Image
FastExpressionCompiler.src 5.4.1

Prefix Reserved

Requires NuGet 3.3.0 or higher.

dotnet add package FastExpressionCompiler.src --version 5.4.1
 
 
NuGet\Install-Package FastExpressionCompiler.src -Version 5.4.1
 
 
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="5.4.1" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FastExpressionCompiler.src" Version="5.4.1" />
 
Directory.Packages.props
<PackageReference Include="FastExpressionCompiler.src" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FastExpressionCompiler.src --version 5.4.1
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FastExpressionCompiler.src, 5.4.1"
 
 
#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.
#:package FastExpressionCompiler.src@5.4.1
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FastExpressionCompiler.src&version=5.4.1
 
Install as a Cake Addin
#tool nuget:?package=FastExpressionCompiler.src&version=5.4.1
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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

Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 was computed.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp2.0 netcoreapp2.0 was computed.  netcoreapp2.1 netcoreapp2.1 was computed.  netcoreapp2.2 netcoreapp2.2 was computed.  netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 netstandard2.0 is compatible.  netstandard2.1 netstandard2.1 was computed. 
.NET Framework net461 net461 was computed.  net462 net462 was computed.  net463 net463 was computed.  net47 net47 was computed.  net471 net471 was computed.  net472 net472 is compatible.  net48 net48 was computed.  net481 net481 was computed. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen40 tizen40 was computed.  tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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
5.4.1 231 4/13/2026
5.4.0 226 3/30/2026
5.3.3 548 10/31/2025
5.3.2 527 10/22/2025
5.3.1 537 10/21/2025
5.3.0 842 6/10/2025
5.2.0 763 5/12/2025
5.1.1 710 4/2/2025
5.1.0 708 3/31/2025
5.0.3 1,026 3/26/2025
5.0.2 670 1/29/2025
5.0.1 633 12/22/2024
5.0.0 677 11/22/2024
4.2.2 662 10/13/2024
4.2.1 731 7/2/2024
4.2.0 735 4/29/2024
4.1.0 745 1/20/2024
4.0.2 693 1/20/2024
4.0.1 719 11/23/2023
4.0.0 632 11/12/2023
Loading failed

## v5.4.1 Bug-fix release

- #498 System.InvalidProgramException when using loop
- #499 System.InvalidProgramException for Sorting and comparison function

**Contributions**: @bluewingHuang

**Full Changelog**: https://github.com/dadhi/FastExpressionCompiler/compare/v5.4.0...v5.4.1


## v5.4.0 Feature and bug-fix release

### Features

- #398 Optimize Switch with OpCodes.Switch  
- #484 PrintIL options to output op-codes in the format directly copyable to AssertOpCodes method
- #482 [impl] Update to the modern optimized and fixed versions of ImTools SmallList and SmallMap

### Fixes

- Multiple fixes in `ToCSharpString`, `PrintCSharp`
- #480 "CLR detected an invalid program" exception
- #483 fix recursive PrintIL output for Label Offset and Argument Ordinal
- #485 PrintCSharp for Switch does not prints "break" when required
- #487 Fix ToCSharpString output for boolean equality expressions
- #490 Regression in compiling lambdas with ref struct parameters
- by [exyi](https://github.com/exyi) #491 Fix unsigned int to floating point number conversion
- by [exyi](https://github.com/exyi) #493 Fix ParentFlags propagating in TryEmitNewExpression
- #495 Incomplete pattern detection for error 1007: Return goto from TryCatch with Assign generates invalid IL instead of failing gracefully

### Full Changelog

https://github.com/dadhi/FastExpressionCompiler/compare/v5.3.3...v5.4.0


## v5.3.3 Bug-fix release (src packages only)

- fixed: #488 Fix warnings in src package


## v5.3.2 Bug-fix release (src packages only)

- fixed: #481 The 5.3.0 source package is broken and doesn't include all required source files


## v5.3.0 Feature release

- feat: [performance] Reuse the ILGenerator used by the nested lambda compilation
- feat: [performance] Reuse DynamicMethod if possible
- feat: Add debug diagnostics to the nested lambdas
- fix: System.ExecutionEngineException with nullables on repeated calls to ConcurrentDictionary

**Full Changelog**: https://github.com/dadhi/FastExpressionCompiler/compare/v5.2.0...v5.3.0


## v5.2.0 Feature release

- feat: #466 Simplify creation of the updateable value that can be put into Closure with the Expression.ConstantRef
- feat: #472 Interpreter to reduce the IL emitted by the Logical, Comparison, Arithmetics expressions, by calculating them during compile time and using the calculation result in IL
- feat: Expose TestTools and FastExpressionCompiler.ILDecoder to enable testing and diagnostic in the consumer code


## v5.1.1. Bug-fix release

- fix: #461 InvalidProgramException when null checking type by ref
- fix: #462 Optimize Equality comparison with null

**Full Changelog**: https://github.com/dadhi/FastExpressionCompiler/compare/v5.1.0...v5.1.1


## v5.1.0 Small feature release

- add: #458 Add Support for TryFault
- fix: #460 ArgumentException when converting from object to type with explicit operator

**Full Changelog**: https://github.com/dadhi/FastExpressionCompiler/compare/v5.0.3...v5.1.0


## v5.0.3 Bug-fix release

- fix: #451 Operator implicit/explicit produces InvalidProgram
- fix: #455 TypeAs should return null when it cannot cast to a nullable #455

**Full Changelog**: https://github.com/dadhi/FastExpressionCompiler/compare/v5.0.2...v5.0.3


## v5.0.2 Bug-fix release

-fix: #449 MemberInit produces InvalidProgram

**Full Changelog**: https://github.com/dadhi/FastExpressionCompiler/compare/v5.0.1...v5.0.2


## v5.0.1 Bug-fix release

- fix: #437 Shared variables with nested lambdas returning incorrect values
- fix: #439 Support unused Field access in Block
- fix: #440 Errors with simplified Switch cases
- fix: #441 Fails to pass Constant as call parameter by-reference
- fix: #442 TryCatch and the Goto outside problems
- fix: #443 Nested Calls with Lambda Parameters Throwing NotSupportedExpressionException


## v5.0.0 Major feature release

- feat: #271 Add conversion from the System Expression to the Light Expression to allow hoisted system expression embedding in the larger light expression
- feat: #432 Add explicit target for .NET 9
- feat: #434 ToCSharpString should generate stable names for the unnamed variables, parameters and labels

- fix: #262 Optimize OpCode.Ceq plus Branch into a single compare-and-branch
- fix: #424 TryCatch expression as argument in Call expression produces invalid program
- fix: #426 Directly passing a method result to another method by ref, fails with InvalidProgramException
- fix: #427 CSharp output with more consistency, robustness and more understandable code
- fix: #428 Expression.Switch without a default case incorrectly calls first case for unmatched values
- fix: #430 TryCatch - Bad label content in ILGenerator