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

SamboyCoding / Cpp2IL / 27107668832

07 Jun 2026 11:10PM UTC coverage: 33.79% (-0.007%) from 33.797%
27107668832

Pull #555

github

web-flow
Merge 0507696aa into 9b6e67d1f
Pull Request #555: Fix attributes on metadata version >= 104

2220 of 7912 branches covered (28.06%)

Branch coverage included in aggregate %.

15 of 32 new or added lines in 7 files covered. (46.88%)

4661 of 12452 relevant lines covered (37.43%)

241399.24 hits per line

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

77.78
/Cpp2IL.Core/Model/Contexts/ModuleAnalysisContext.cs
1
namespace Cpp2IL.Core.Model.Contexts;
2

3
/// <summary>
4
/// Represents a single Module that was converted using IL2CPP.
5
/// </summary>
6
public class ModuleAnalysisContext : HasCustomAttributesAndName
7
{
8
    private AssemblyAnalysisContext _assemblyContext;
9
    
10
    /// <inheritdoc />
11
    override protected int CustomAttributeIndex => -1;
1,050✔
12
    /// <inheritdoc />
13
    public override AssemblyAnalysisContext CustomAttributeAssembly => _assemblyContext;
2,961✔
14
    /// <inheritdoc />
NEW
15
    public override string DefaultName => _assemblyContext.Definition!.Image.Name!;
×
16

17
    public ModuleAnalysisContext(AssemblyAnalysisContext asmCtx) : base(asmCtx.Definition?.ModuleToken ?? 1, asmCtx.AppContext)
1,337!
18
    {
19
        _assemblyContext = asmCtx;
1,337✔
20
        
21
        InitCustomAttributeData();
1,337✔
22
    }
1,337✔
23
}
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