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

SamboyCoding / Cpp2IL / 15076321609

16 May 2025 07:52PM UTC coverage: 34.043% (-0.02%) from 34.061%
15076321609

Pull #457

github

web-flow
Merge 761553aa1 into 69627a4e4
Pull Request #457: Use a separate class for concrete generic parameters

1773 of 6620 branches covered (26.78%)

Branch coverage included in aggregate %.

5 of 12 new or added lines in 2 files covered. (41.67%)

4158 of 10802 relevant lines covered (38.49%)

185710.5 hits per line

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

36.36
/Cpp2IL.Core/Model/Contexts/ConcreteGenericParameterAnalysisContext.cs
1
using System;
2
using System.Diagnostics;
3
using System.Reflection;
4
using LibCpp2IL.BinaryStructures;
5

6
namespace Cpp2IL.Core.Model.Contexts;
7

8
public class ConcreteGenericParameterAnalysisContext : ParameterAnalysisContext
9
{
NEW
10
    public ParameterAnalysisContext BaseParameterContext { get; }
×
NEW
11
    public override TypeAnalysisContext ParameterTypeContext { get; }
×
NEW
12
    public override ParameterAttributes ParameterAttributes => BaseParameterContext.ParameterAttributes;
×
NEW
13
    public override Il2CppType ParameterType => throw new NotSupportedException($"Instantiated generic parameters don't have an {nameof(Il2CppType)}");
×
NEW
14
    public override string DefaultName => BaseParameterContext.DefaultName;
×
NEW
15
    public override string? OverrideName { get => BaseParameterContext.OverrideName; set => BaseParameterContext.OverrideName = value; }
×
NEW
16
    protected override int CustomAttributeIndex => -1;
×
17

18
    public ConcreteGenericParameterAnalysisContext(ParameterAnalysisContext baseParameter, TypeAnalysisContext parameterType, ConcreteGenericMethodAnalysisContext declaringMethod) : base(null, baseParameter.ParamIndex, declaringMethod)
315,623✔
19
    {
20
        BaseParameterContext = baseParameter;
315,623✔
21
        ParameterTypeContext = parameterType;
315,623✔
22
    }
315,623✔
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

© 2025 Coveralls, Inc