• 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

44.44
/Cpp2IL.Core/Model/Contexts/ArrayTypeAnalysisContext.cs
1
using System;
2
using Cpp2IL.Core.Utils;
3
using LibCpp2IL.BinaryStructures;
4

5
namespace Cpp2IL.Core.Model.Contexts;
6

7
public class ArrayTypeAnalysisContext(TypeAnalysisContext elementType, int rank, AssemblyAnalysisContext referencedFrom)
8
    : WrappedTypeAnalysisContext(elementType, referencedFrom)
2,107✔
9
{
10
    public ArrayTypeAnalysisContext(Il2CppType rawType, AssemblyAnalysisContext referencedFrom)
11
        : this(referencedFrom.ResolveIl2CppType(rawType.GetArrayElementType()), rawType.GetArrayRank(), referencedFrom)
7✔
12
    {
13
    }
7✔
14

NEW
15
    public sealed override Il2CppTypeEnum Type => Il2CppTypeEnum.IL2CPP_TYPE_ARRAY;
×
16

NEW
17
    public sealed override string DefaultName => $"{ElementType.DefaultName}[{Rank}]";
×
18

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

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

27
    public int Rank { get; } = rank;
2,112✔
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