Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 9203354

Browse files
committed
Fixed signatures of UpdateLambda in Interpreter
1 parent 79424bb commit 9203354

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/LightCompiler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2694,7 +2694,7 @@ protected override CatchBlock VisitCatchBlock(CatchBlock node)
26942694
return node;
26952695
}
26962696

2697-
protected internal override Expression VisitLambda(LambdaExpression node)
2697+
protected internal override Expression VisitLambda<T>(Expression<T> node)
26982698
{
26992699
PushParameters(node.Parameters);
27002700

src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/TypeOperations.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2262,7 +2262,7 @@ internal ExpressionQuoter(Dictionary<ParameterExpression, LocalVariable> hoisted
22622262
_frame = frame;
22632263
}
22642264

2265-
protected internal override Expression VisitLambda(LambdaExpression node)
2265+
protected internal override Expression VisitLambda<T>(Expression<T> node)
22662266
{
22672267
_shadowedVars.Push(new Set<ParameterExpression>(node.Parameters));
22682268
Expression b = Visit(node.Body);

0 commit comments

Comments
 (0)