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

SamboyCoding / Cpp2IL / 15012486759

14 May 2025 04:47AM UTC coverage: 34.729% (-0.1%) from 34.826%
15012486759

Pull #452

github

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

1813 of 6508 branches covered (27.86%)

Branch coverage included in aggregate %.

1 of 60 new or added lines in 9 files covered. (1.67%)

4 existing lines in 3 files now uncovered.

4158 of 10685 relevant lines covered (38.91%)

160672.82 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