Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/FastExpressionCompiler.LightExpression/Expression.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6081,7 +6081,6 @@ internal TypedReturnManyParametersExpression(Expression body, IReadOnlyList<Para
: base(body, parameters) => ReturnType = returnType;
}

// todo: @feature is not supported yet
public sealed class DynamicExpression : Expression
{
public override ExpressionType NodeType => ExpressionType.Dynamic;
Expand Down
369 changes: 349 additions & 20 deletions src/FastExpressionCompiler/FastExpressionCompiler.cs

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions test/FastExpressionCompiler.TestsRunner.Net472/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ static void RunLightExpressionTests(object state)
t.Run(new LightExpression.UnitTests.RefDelegateReceiversTests());
t.Run(new LightExpression.UnitTests.StaticFieldAddressRegressionTests());
t.Run(new LightExpression.UnitTests.UnaryParameterAssignmentTests());
t.Run(new LightExpression.UnitTests.DynamicCallSiteRegressionTests());
t.Run(new LightExpression.UnitTests.ReferenceUnboxingRegressionTests());
t.Run(new LightExpression.UnitTests.BoxedCaptureRefTests());
t.Run(new LightExpression.UnitTests.ReferenceComparisonExceptionTests());
Expand Down Expand Up @@ -87,6 +88,7 @@ static void RunLightExpressionTests(object state)
t.Run(new LightExpression.UnitTests.InlinedRethrowBoundaryRegressionTests());
t.Run(new LightExpression.UnitTests.BlockVariableBindingRegressionTests());
t.Run(new LightExpression.UnitTests.ComparisonReductionRegressionTests());
t.Run(new LightExpression.UnitTests.RuntimeExpressionSpillOrderRegressionTests());
t.Run(new LightExpression.UnitTests.CompoundAssignmentExceptionRegressionTests());
t.Run(new LightExpression.UnitTests.NestedCompoundExceptionRegressionTests());
t.Run(new LightExpression.UnitTests.ArithmeticExceptionOperandsTests());
Expand Down Expand Up @@ -145,6 +147,7 @@ static void RunLightExpressionTests(object state)
fecTests.Run(new RefDelegateReceiversTests());
fecTests.Run(new StaticFieldAddressRegressionTests());
fecTests.Run(new UnaryParameterAssignmentTests());
fecTests.Run(new DynamicCallSiteRegressionTests());
fecTests.Run(new ReferenceUnboxingRegressionTests());
fecTests.Run(new BoxedCaptureRefTests());
fecTests.Run(new ReferenceComparisonExceptionTests());
Expand Down Expand Up @@ -189,6 +192,7 @@ static void RunLightExpressionTests(object state)
fecTests.Run(new InlinedRethrowBoundaryRegressionTests());
fecTests.Run(new BlockVariableBindingRegressionTests());
fecTests.Run(new ComparisonReductionRegressionTests());
fecTests.Run(new RuntimeExpressionSpillOrderRegressionTests());
fecTests.Run(new CompoundAssignmentExceptionRegressionTests());
fecTests.Run(new NestedCompoundExceptionRegressionTests());
fecTests.Run(new ArithmeticExceptionOperandsTests());
Expand Down
4 changes: 4 additions & 0 deletions test/FastExpressionCompiler.TestsRunner/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public static void Main(string[] args)
lt.Run(new LightExpression.UnitTests.RefDelegateReceiversTests());
lt.Run(new LightExpression.UnitTests.StaticFieldAddressRegressionTests());
lt.Run(new LightExpression.UnitTests.UnaryParameterAssignmentTests());
lt.Run(new LightExpression.UnitTests.DynamicCallSiteRegressionTests());
lt.Run(new LightExpression.UnitTests.ReferenceUnboxingRegressionTests());
lt.Run(new LightExpression.UnitTests.BoxedCaptureRefTests());
lt.Run(new LightExpression.UnitTests.ReferenceComparisonExceptionTests());
Expand Down Expand Up @@ -116,6 +117,7 @@ public static void Main(string[] args)
lt.Run(new LightExpression.UnitTests.InlinedRethrowBoundaryRegressionTests());
lt.Run(new LightExpression.UnitTests.BlockVariableBindingRegressionTests());
lt.Run(new LightExpression.UnitTests.ComparisonReductionRegressionTests());
lt.Run(new LightExpression.UnitTests.RuntimeExpressionSpillOrderRegressionTests());
lt.Run(new LightExpression.UnitTests.CompoundAssignmentExceptionRegressionTests());
lt.Run(new LightExpression.UnitTests.NestedCompoundExceptionRegressionTests());
lt.Run(new LightExpression.UnitTests.ArithmeticExceptionOperandsTests());
Expand Down Expand Up @@ -171,6 +173,7 @@ public static void Main(string[] args)
st.Run(new RefDelegateReceiversTests());
st.Run(new StaticFieldAddressRegressionTests());
st.Run(new UnaryParameterAssignmentTests());
st.Run(new DynamicCallSiteRegressionTests());
st.Run(new ReferenceUnboxingRegressionTests());
st.Run(new BoxedCaptureRefTests());
st.Run(new ReferenceComparisonExceptionTests());
Expand Down Expand Up @@ -215,6 +218,7 @@ public static void Main(string[] args)
st.Run(new InlinedRethrowBoundaryRegressionTests());
st.Run(new BlockVariableBindingRegressionTests());
st.Run(new ComparisonReductionRegressionTests());
st.Run(new RuntimeExpressionSpillOrderRegressionTests());
st.Run(new CompoundAssignmentExceptionRegressionTests());
st.Run(new NestedCompoundExceptionRegressionTests());
st.Run(new ArithmeticExceptionOperandsTests());
Expand Down
Loading
Loading