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

SamboyCoding / Cpp2IL / 15172218253

21 May 2025 08:44PM UTC coverage: 34.282% (+0.2%) from 34.047%
15172218253

Pull #462

github

web-flow
Merge 9de1a7abb into 5807d2b6c
Pull Request #462: Support overriding member types

1801 of 6650 branches covered (27.08%)

Branch coverage included in aggregate %.

127 of 226 new or added lines in 35 files covered. (56.19%)

22 existing lines in 6 files now uncovered.

4199 of 10852 relevant lines covered (38.69%)

186271.78 hits per line

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

0.0
/Cpp2IL.Core/Model/Contexts/AttributeGeneratorMethodAnalysisContext.cs
1
using System.Reflection;
2

3
namespace Cpp2IL.Core.Model.Contexts;
4

5
public class AttributeGeneratorMethodAnalysisContext : MethodAnalysisContext
6
{
7
    public override ulong UnderlyingPointer { get; }
×
8

9
    protected override bool IsInjected => true;
×
NEW
10
    public override MethodAttributes DefaultAttributes => MethodAttributes.Public | MethodAttributes.Static | MethodAttributes.HideBySig;
×
NEW
11
    public override MethodImplAttributes DefaultImplAttributes => MethodImplAttributes.Managed;
×
NEW
12
    public override TypeAnalysisContext DefaultReturnType => AppContext.SystemTypes.SystemVoidType;
×
UNCOV
13
    protected override int CustomAttributeIndex => -1;
×
14

15
    public readonly HasCustomAttributes AssociatedMember;
16

17
    public AttributeGeneratorMethodAnalysisContext(ulong pointer, ApplicationAnalysisContext context, HasCustomAttributes associatedMember) : base(context)
×
18
    {
19
        UnderlyingPointer = pointer;
×
20
        AssociatedMember = associatedMember;
×
21
        rawMethodBody = AppContext.InstructionSet.GetRawBytesForMethod(this, true);
×
22
    }
×
23
}
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