-
-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathFastExpressionCompiler.LightExpression.csproj
More file actions
133 lines (90 loc) · 5.77 KB
/
FastExpressionCompiler.LightExpression.csproj
File metadata and controls
133 lines (90 loc) · 5.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks Condition="'$(DevMode)' != 'true'">net472;netstandard2.0;netstandard2.1;net6.0;net8.0;net9.0;net10.0</TargetFrameworks>
<TargetFrameworks Condition="'$(DevMode)' == 'true'">net472;net9.0;net10.0</TargetFrameworks>
<VersionPrefix>5.4.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<Product>FastExpressionCompiler.LightExpression</Product>
<PackageId>$(Product)</PackageId>
<Title>$(Product)</Title>
<Description>FastExpressionCompiler for LightExpression is 10-40x times faster than Expression.Compile()</Description>
<PackageTags>Performance;Expression;ExpressionTree;Compile;DynamicMethod;IL;ILEmit;DryIoc;ExpressionToCodeLib</PackageTags>
<PackageReleaseNotes><![CDATA[
## 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.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
]]>
</PackageReleaseNotes>
<AssemblyName>$(Product)</AssemblyName>
<AssemblyTitle>$(Product) $(TargetFramework)</AssemblyTitle>
<AssemblyVersion>$(VersionPrefix)</AssemblyVersion>
<IsTrimmable>true</IsTrimmable>
<DefineConstants>LIGHT_EXPRESSION</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\FastExpressionCompiler\FastExpressionCompiler.cs"/>
<Compile Include="..\FastExpressionCompiler\ImTools.cs"/>
<Compile Include="..\FastExpressionCompiler\ILReader.cs"/>
<Compile Include="..\FastExpressionCompiler\TestTools.cs"/>
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="System.Reflection.Emit.Lightweight" Version="4.7.0"/>
<PackageReference Include="System.Dynamic.Runtime" Version="4.3.0"/>
</ItemGroup>
</Project>