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

SamboyCoding / Cpp2IL / 15043776015

15 May 2025 11:27AM UTC coverage: 34.795% (-0.002%) from 34.797%
15043776015

push

github

SamboyCoding
Fix attribute generator method analysis context return type

1809 of 6498 branches covered (27.84%)

Branch coverage included in aggregate %.

0 of 1 new or added line in 1 file covered. (0.0%)

4159 of 10654 relevant lines covered (39.04%)

161140.33 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;
×
10
    public override bool IsStatic => true;
×
11
    public override bool IsVoid => true;
×
12
    public override MethodAttributes Attributes => MethodAttributes.Public | MethodAttributes.Static | MethodAttributes.HideBySig;
×
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;
×
NEW
21
        InjectedReturnType = AppContext.SystemTypes.SystemVoidType;
×
22
        rawMethodBody = AppContext.InstructionSet.GetRawBytesForMethod(this, true);
×
23
    }
×
24
}
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