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

SamboyCoding / Cpp2IL / 15075932248

16 May 2025 07:25PM UTC coverage: 34.061% (+0.02%) from 34.043%
15075932248

Pull #456

github

web-flow
Merge 6b4460797 into b3c0dbefb
Pull Request #456: Support attributes on injected parameters

1775 of 6622 branches covered (26.8%)

Branch coverage included in aggregate %.

6 of 7 new or added lines in 3 files covered. (85.71%)

4157 of 10794 relevant lines covered (38.51%)

188410.36 hits per line

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

80.0
/Cpp2IL.Core/Model/Contexts/InjectedParameterAnalysisContext.cs
1
using System.Reflection;
2

3
namespace Cpp2IL.Core.Model.Contexts;
4

5
public class InjectedParameterAnalysisContext : ParameterAnalysisContext
6
{
7
    public override TypeAnalysisContext ParameterTypeContext { get; }
2✔
8

NEW
9
    public override ParameterAttributes ParameterAttributes { get; }
×
10
    
11
    protected override bool IsInjected => true;
×
12

13
    public InjectedParameterAnalysisContext(string? name, TypeAnalysisContext typeContext, ParameterAttributes attributes, int paramIndex, MethodAnalysisContext declaringMethod) : base(null, paramIndex, declaringMethod)
139,494✔
14
    {
15
        OverrideName = name ?? $"param_{paramIndex}";
139,494✔
16
        ParameterTypeContext = typeContext;
139,494✔
17
        ParameterAttributes = attributes;
139,494✔
18
    }
139,494✔
19
}
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