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

SamboyCoding / Cpp2IL / 15052278841

15 May 2025 06:16PM UTC coverage: 34.038% (-0.4%) from 34.453%
15052278841

push

github

SamboyCoding
Support injecting anything
* Nested types
* Events
* Properties
* Assemblies

Support additional metadata in injected assemblies

Make setter for TypeAnalysisContext::OverrideBaseType public

TypeAnalysisContext::InterfaceContexts as list rather than array

Fix sign bug

Support generic parameters on type contexts and method contexts

Make GenericParameterTypeAnalysisContext instances unique

Revert change to Il2CppGenericParameter::Index

Use attributes to determine if injected methods are static
* Also add hide by sig attribute for injected constructors

Support overrides on injected methods

In ControlFlowGraphOutputFormat, exclude injected assemblies

Ensure injected assemblies can't delete existing assemblies

Backing field on .NET Standard for injected method overrides

Implement requested change

1774 of 6622 branches covered (26.79%)

Branch coverage included in aggregate %.

147 of 196 new or added lines in 27 files covered. (75.0%)

53 existing lines in 2 files now uncovered.

4155 of 10797 relevant lines covered (38.48%)

188267.61 hits per line

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

10.0
/Cpp2IL.Core/Model/Contexts/InjectedAssemblyAnalysisContext.cs
1
using System;
2

3
namespace Cpp2IL.Core.Model.Contexts;
4

5
public class InjectedAssemblyAnalysisContext(
6
    string name,
7
    ApplicationAnalysisContext appContext,
8
    Version? version = null,
9
    uint hashAlgorithm = 0,
10
    uint flags = 0,
11
    string? culture = null,
12
    byte[]? publicKeyToken = null,
13
    byte[]? publicKey = null)
14
    : AssemblyAnalysisContext(null, appContext)
1✔
15
{
NEW
16
    public override string DefaultName => name;
×
NEW
17
    public override Version Version => version ?? base.Version;
×
NEW
18
    public override uint HashAlgorithm => hashAlgorithm;
×
NEW
19
    public override uint Flags => flags;
×
NEW
20
    public override string? Culture => culture;
×
NEW
21
    public override byte[]? PublicKeyToken => publicKeyToken;
×
NEW
22
    public override byte[]? PublicKey => publicKey;
×
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