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

NetFabric / NetFabric.CodeAnalysis / 6130084901

09 Sep 2023 09:14AM UTC coverage: 83.158% (+0.2%) from 82.932%
6130084901

push

github

web-flow
Fixes (#27)

227 of 266 branches covered (0.0%)

Branch coverage included in aggregate %.

661 of 661 new or added lines in 31 files covered. (100.0%)

642 of 779 relevant lines covered (82.41%)

18.46 hits per line

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

87.5
/NetFabric.CodeAnalysis/EnumerableSymbols.cs
1
using Microsoft.CodeAnalysis;
2

3
namespace NetFabric.CodeAnalysis;
4

5
/// <summary>
6
/// Contains information about methods and properties that ´foreach´ will use to enumerate a given type.
7
/// </summary>
8
public class EnumerableSymbols
9
{
10
    /// <summary>
11
    /// Indicates if 'foreach' will use the indexer instead of the enumerator.
12
    /// </summary>
13
    public bool ForEachUsesIndexer { get; }
×
14

15
    /// <summary>
16
    /// Information on the method that 'foreach' will use to get a new instance of the enumerator.
17
    /// </summary>
18
    public IMethodSymbol GetEnumerator { get; }
20✔
19
    
20
    /// <summary>
21
    /// Information on the enumerator methods that 'foreach' will use.
22
    /// </summary>
23
    public EnumeratorSymbols EnumeratorSymbols { get; }
20✔
24

25
    internal EnumerableSymbols(bool forEachUsesIndexer, IMethodSymbol getEnumerator, EnumeratorSymbols enumeratorSymbols)
20✔
26
    {
27
        ForEachUsesIndexer = forEachUsesIndexer;
20✔
28
        GetEnumerator = getEnumerator;
20✔
29
        EnumeratorSymbols = enumeratorSymbols;
20✔
30
    }
20✔
31
}
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