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

SamboyCoding / Cpp2IL / 13015566663

28 Jan 2025 04:59PM UTC coverage: 27.503% (+0.007%) from 27.496%
13015566663

push

github

SamboyCoding
Core: Fix issues with CA gen analysis on v27, crash if no game path or force options specified.

1254 of 6380 branches covered (19.66%)

Branch coverage included in aggregate %.

6 of 18 new or added lines in 6 files covered. (33.33%)

3366 of 10418 relevant lines covered (32.31%)

124924.5 hits per line

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

73.68
/Cpp2IL.Core/Model/Contexts/InjectedMethodAnalysisContext.cs
1
using System.Reflection;
2

3
namespace Cpp2IL.Core.Model.Contexts;
4

5
public class InjectedMethodAnalysisContext : MethodAnalysisContext
6
{
7
    public override ulong UnderlyingPointer => 0;
×
8

9
    public override string DefaultName { get; }
3✔
10

11
    public override bool IsStatic { get; }
×
12

13
    public override MethodAttributes Attributes { get; }
×
14
    
NEW
15
    protected override bool IsInjected => true;
×
16

17
    public InjectedMethodAnalysisContext(TypeAnalysisContext parent, string name, bool isStatic, TypeAnalysisContext returnType, MethodAttributes attributes, TypeAnalysisContext[] injectedParameterTypes, string[]? injectedParameterNames = null) : base(null, parent)
126✔
18
    {
19
        DefaultName = name;
126✔
20
        InjectedReturnType = returnType;
126✔
21
        IsStatic = isStatic;
126✔
22
        Attributes = attributes;
126✔
23

24
        for (var i = 0; i < injectedParameterTypes.Length; i++)
420✔
25
        {
26
            var injectedParameterType = injectedParameterTypes[i];
84✔
27
            var injectedParameterName = injectedParameterNames?[i];
84!
28

29
            Parameters.Add(new InjectedParameterAnalysisContext(injectedParameterName, injectedParameterType, i, this));
84✔
30
        }
31
    }
126✔
32
}
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