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

SamboyCoding / Cpp2IL / 17679606472

12 Sep 2025 03:58PM UTC coverage: 34.319% (-0.03%) from 34.352%
17679606472

push

github

web-flow
Bump AsmResolver to 6 beta 4 (#487)

1789 of 6586 branches covered (27.16%)

Branch coverage included in aggregate %.

12 of 18 new or added lines in 7 files covered. (66.67%)

4191 of 10839 relevant lines covered (38.67%)

180745.97 hits per line

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

10.0
/Cpp2IL.Core/OutputFormats/AsmResolverDllOutputFormatThrowNull.cs
1
using AsmResolver.DotNet;
2
using AsmResolver.PE.DotNet.Cil;
3
using AssetRipper.CIL;
4
using Cpp2IL.Core.Model.Contexts;
5

6
namespace Cpp2IL.Core.OutputFormats;
7

8
public class AsmResolverDllOutputFormatThrowNull : AsmResolverDllOutputFormat
9
{
10
    public override string OutputFormatId => "dll_throw_null";
1✔
11

12
    public override string OutputFormatName => "DLL files with method bodies containing throw null";
×
13

14
    protected override void FillMethodBody(MethodDefinition methodDefinition, MethodAnalysisContext methodContext)
15
    {
16
        if (methodDefinition.IsManagedMethodWithBody())
×
17
        {
NEW
18
            methodDefinition.CilMethodBody = new();
×
19
            var instructions = methodDefinition.CilMethodBody.Instructions;
×
20
            instructions.Add(CilOpCodes.Ldnull);
×
21
            instructions.Add(CilOpCodes.Throw);
×
22
        }
23
    }
×
24
}
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