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

SamboyCoding / Cpp2IL / 26005967564

17 May 2026 11:34PM UTC coverage: 35.273% (-0.06%) from 35.33%
26005967564

Pull #552

github

web-flow
Merge d03ec7dd9 into 6af99f218
Pull Request #552: Fix name overrides for constructed types

1974 of 6975 branches covered (28.3%)

Branch coverage included in aggregate %.

2 of 53 new or added lines in 12 files covered. (3.77%)

1 existing line in 1 file now uncovered.

4495 of 11365 relevant lines covered (39.55%)

252024.2 hits per line

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

27.27
/Cpp2IL.Core/Model/Contexts/ByRefTypeAnalysisContext.cs
1
using System;
2
using LibCpp2IL.BinaryStructures;
3

4
namespace Cpp2IL.Core.Model.Contexts;
5

6
public class ByRefTypeAnalysisContext(TypeAnalysisContext elementType, AssemblyAnalysisContext referencedFrom)
7
    : WrappedTypeAnalysisContext(elementType, referencedFrom)
55,886✔
8
{
9
    public ByRefTypeAnalysisContext(Il2CppType rawType, AssemblyAnalysisContext referencedFrom)
10
        : this(default(TypeAnalysisContext)!, referencedFrom)
×
11
    {
12
    }
×
13

NEW
14
    public sealed override Il2CppTypeEnum Type => Il2CppTypeEnum.IL2CPP_TYPE_BYREF;
×
15

NEW
16
    public sealed override string DefaultName => $"{ElementType.DefaultName}&";
×
17

18
    public sealed override string? OverrideName
19
    {
NEW
20
        get => $"{ElementType.Name}&";
×
NEW
21
        set => throw new NotSupportedException();
×
22
    }
23

24
    public sealed override bool IsValueType => false;
×
25

26
    public override TypeAnalysisContext ElementType => base.ElementType ?? throw new("TODO Support TYPE_BYREF");
57,280!
27
}
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