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

SamboyCoding / Cpp2IL / 27104750074

07 Jun 2026 09:03PM UTC coverage: 33.71% (+0.04%) from 33.672%
27104750074

push

github

SamboyCoding
Decompiler: First pass on type propagation

2205 of 7872 branches covered (28.01%)

Branch coverage included in aggregate %.

3 of 98 new or added lines in 6 files covered. (3.06%)

159 existing lines in 17 files now uncovered.

4630 of 12404 relevant lines covered (37.33%)

242141.98 hits per line

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

0.0
/Cpp2IL.Core/Model/Contexts/CustomModifierTypeAnalysisContext.cs
1
using System;
2
using LibCpp2IL.BinaryStructures;
3

4
namespace Cpp2IL.Core.Model.Contexts;
5

6
public class CustomModifierTypeAnalysisContext(TypeAnalysisContext elementType, TypeAnalysisContext modifierType, bool required, AssemblyAnalysisContext referencedFrom)
UNCOV
7
    : WrappedTypeAnalysisContext(elementType, referencedFrom)
×
8
{
UNCOV
9
    public TypeAnalysisContext ModifierType { get; } = modifierType;
×
10

UNCOV
11
    public bool Required { get; } = required;
×
12

UNCOV
13
    public sealed override Il2CppTypeEnum Type => Required ? Il2CppTypeEnum.IL2CPP_TYPE_CMOD_REQD : Il2CppTypeEnum.IL2CPP_TYPE_CMOD_OPT;
×
14

15
    public sealed override string DefaultName => Required
×
16
        ? $"{ElementType.DefaultName} modreq({ModifierType.DefaultFullName})"
×
UNCOV
17
        : $"{ElementType.DefaultName} modopt({ModifierType.DefaultFullName})";
×
18

19
    public sealed override string? OverrideName
20
    {
UNCOV
21
        get => Required
×
UNCOV
22
            ? $"{ElementType.Name} modreq({ModifierType.FullName})"
×
UNCOV
23
            : $"{ElementType.Name} modopt({ModifierType.FullName})";
×
UNCOV
24
        set => throw new NotSupportedException();
×
25
    }
26

UNCOV
27
    public sealed override bool IsValueType => ElementType.IsValueType;
×
28
}
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