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

SamboyCoding / Cpp2IL / 15025228993

14 May 2025 03:48PM UTC coverage: 34.685% (-0.1%) from 34.826%
15025228993

Pull #452

github

web-flow
Merge 08a645b97 into e93c0fecc
Pull Request #452: Expand type system to support more types

1813 of 6512 branches covered (27.84%)

Branch coverage included in aggregate %.

22 of 101 new or added lines in 12 files covered. (21.78%)

4 existing lines in 3 files now uncovered.

4158 of 10703 relevant lines covered (38.85%)

160402.6 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 LibCpp2IL.BinaryStructures;
2

3
namespace Cpp2IL.Core.Model.Contexts;
4

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

NEW
10
    public bool Required { get; } = required;
×
11

NEW
12
    public override Il2CppTypeEnum Type => Required ? Il2CppTypeEnum.IL2CPP_TYPE_CMOD_REQD : Il2CppTypeEnum.IL2CPP_TYPE_CMOD_OPT;
×
13

NEW
14
    public override string DefaultName => Required
×
NEW
15
        ? $"{ElementType.Name} modreq({ModifierType.Name})"
×
NEW
16
        : $"{ElementType.Name} modopt({ModifierType.Name})";
×
17

NEW
18
    public sealed override bool IsValueType => ElementType.IsValueType;
×
19
}
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

© 2025 Coveralls, Inc