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

lucaslorentz / auto-compute / 12853117949

19 Jan 2025 11:30AM UTC coverage: 84.441% (-6.9%) from 91.331%
12853117949

push

github

lucaslorentz
Create is entity inconsistent lambda expression for computed members

2 of 164 new or added lines in 4 files covered. (1.22%)

1791 of 2121 relevant lines covered (84.44%)

437.89 hits per line

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

0.0
/src/LLL.AutoCompute/Internal/ExpressionVisitors/RemoveChangeComputedTrackingVisitor.cs
1
using System.Linq.Expressions;
2
using LLL.AutoCompute;
3

4
namespace LLL.AutoCompute.Internal.ExpressionVisitors;
5

6
public class RemoveChangeComputedTrackingVisitor : ExpressionVisitor
7
{
8
    protected override Expression VisitMethodCall(MethodCallExpression node)
9
    {
NEW
10
        if (node.Method.DeclaringType == typeof(ChangeTrackingExtensions)
×
NEW
11
            && (
×
NEW
12
                node.Method.Name == nameof(ChangeTrackingExtensions.AsComputedUntracked)
×
NEW
13
                || node.Method.Name == nameof(ChangeTrackingExtensions.AsComputedTracked)
×
NEW
14
            ))
×
15
        {
NEW
16
            return node.Arguments[0];
×
17
        }
18

NEW
19
        return base.VisitMethodCall(node);
×
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