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

lucaslorentz / minicover / #156

pending completion
#156

push

azure-devops

web-flow
Merge 64be0ef38 into c4f476c4c

6 of 6 new or added lines in 1 file covered. (100.0%)

902 of 2589 relevant lines covered (34.84%)

7672.37 hits per line

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

0.0
/src/MiniCover.Core/Extensions/EnumerableExtensions.cs
1
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4

5
namespace MiniCover.Core.Extensions
6
{
7
    public static class EnumerableExtensions
8
    {
9
        public static IEnumerable<IGrouping<TKey, T>> GroupByMany<T, TKey>(this IEnumerable<T> source, Func<T, IEnumerable<TKey>> keysSelector)
10
        {
11
            return source.SelectMany(x => keysSelector(x), (x, k) => new { x, k })
×
12
                .GroupBy(j => j.k, j => j.x);
×
13
        }
14
    }
15
}
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