• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lucaslorentz / auto-compute / 20626184500

31 Dec 2025 07:56PM UTC coverage: 80.751% (-0.7%) from 81.446%
20626184500

push

github

lucaslorentz
Allow customizing the consistency equality

0 of 20 new or added lines in 5 files covered. (0.0%)

1892 of 2343 relevant lines covered (80.75%)

867.46 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/LLL.AutoCompute.EFCore/Internal/ExpressionExtensions.cs
1

2
using System.Linq.Expressions;
3
using LLL.AutoCompute.EFCore.Metadata.Internal.ExpressionVisitors;
4

5
namespace LLL.AutoCompute.EFCore;
6

7
internal static class ExpressionExtensions
8
{
9
    public static Expression UnwrapLambda(
10
        this LambdaExpression lambda,
11
        Expression[] parameters)
12
    {
NEW
13
        if (lambda.Parameters.Count != parameters.Length)
×
NEW
14
            throw new ArgumentException($"Expected {lambda.Parameters.Count} parameters but got {parameters.Length}");
×
15

NEW
16
        var replacements = lambda.Parameters.OfType<Expression>().Zip(parameters).ToDictionary();
×
17

NEW
18
        return new ReplaceExpressionsVisitor(replacements)
×
NEW
19
            .Visit(lambda.Body);
×
20
    }
21
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc