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

SamboyCoding / Cpp2IL / 13988197905

21 Mar 2025 09:03AM UTC coverage: 23.407% (-3.8%) from 27.187%
13988197905

Pull #426

github

web-flow
Merge 4aa36af61 into 76a9b72af
Pull Request #426: ISIL -> CIL Decompiler

1270 of 7736 branches covered (16.42%)

Branch coverage included in aggregate %.

5 of 1526 new or added lines in 31 files covered. (0.33%)

4 existing lines in 3 files now uncovered.

3383 of 12143 relevant lines covered (27.86%)

107291.03 hits per line

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

0.0
/Cpp2IL.Decompiler/IL/LocalVariable.cs
1
using AsmResolver.DotNet;
2
using AsmResolver.DotNet.Signatures;
3

4
namespace Cpp2IL.Decompiler.IL;
5

6
/// <summary>
7
/// IL local variable.
8
/// </summary>
NEW
9
public class LocalVariable(string name, Register register, TypeDefinition? type = null)
×
10
{
11
    /// <summary>
12
    /// Name of the variable.
13
    /// </summary>
NEW
14
    public string Name = name;
×
15

16
    /// <summary>
17
    /// Location of the variable.
18
    /// </summary>
NEW
19
    public Register Register = register;
×
20

21
    /// <summary>
22
    /// Type of the variable.
23
    /// </summary>
NEW
24
    public TypeDefinition? Type = type;
×
25

26
    /// <summary>
27
    /// The field that this local accesses.
28
    /// </summary>
29
    public FieldDefinition? Field;
30

31
    /// <summary>
32
    /// Is this the 'this' parameter?
33
    /// </summary>
34
    public bool IsThis = false;
35

NEW
36
    public override string ToString() => Type == null ? Name : (Field == null ? $"{Name}:{Type.Name}" : $"{Name}:{Type.Name}.{Field.Name}");
×
37
}
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