Skip to content

Conversation

ds5678
Copy link
Contributor

@ds5678 ds5678 commented May 14, 2025

  • Nested types
  • Events
  • Properties
  • Assemblies
  • Generic parameters
  • Interface implementations

@coveralls
Copy link

coveralls commented May 14, 2025

Pull Request Test Coverage Report for Build 15051669337

Details

  • 147 of 196 (75.0%) changed or added relevant lines in 27 files are covered.
  • 53 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.4%) to 34.038%

Changes Missing Coverage Covered Lines Changed/Added Lines %
Cpp2IL.Core/Model/Contexts/ApplicationAnalysisContext.cs 8 9 88.89%
Cpp2IL.Core/Model/Contexts/GenericParameterTypeAnalysisContext.cs 8 9 88.89%
Cpp2IL.Core/Model/Contexts/TypeAnalysisContext.cs 12 13 92.31%
Cpp2IL.Core/OutputFormats/IsilDumpOutputFormat.cs 0 1 0.0%
Cpp2IL.Core/OutputFormats/WasmMappingOutputFormat.cs 0 1 0.0%
Cpp2IL.Core/Utils/CsFileUtils.cs 0 1 0.0%
Cpp2IL.Core/Extensions/AccessibilityExtensions.cs 4 6 66.67%
Cpp2IL.Core/Model/Contexts/InjectedMethodAnalysisContext.cs 2 4 50.0%
Cpp2IL.Core/Model/Contexts/PropertyAnalysisContext.cs 13 15 86.67%
Cpp2IL.Core/ProcessingLayers/CallAnalysisProcessingLayer.cs 0 2 0.0%
Files with Coverage Reduction New Missed Lines %
Cpp2IL.Core/Extensions/AccessibilityExtensions.cs 1 66.2%
Cpp2IL.Core/Utils/AsmResolver/AsmResolverUtils.cs 52 11.3%
Totals Coverage Status
Change from base Build 15044429489: -0.4%
Covered Lines: 4155
Relevant Lines: 10797

💛 - Coveralls

// Covariant return types are .NET 5.0+
public override List<MethodAnalysisContext> Overrides { get; } = new();
#else
public override IEnumerable<MethodAnalysisContext> Overrides => [];
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This of course means you can't inject methods with custom overrides on netfx. Are we ok with that?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the implications of this decision? For example, does MelonLoader use the .NET Framework release?

@ds5678 ds5678 force-pushed the injection-everything branch from 54df930 to 0cac266 Compare May 15, 2025 17:10
@SamboyCoding SamboyCoding merged commit d4b665f into SamboyCoding:development May 15, 2025
6 checks passed
@ds5678 ds5678 deleted the injection-everything branch May 15, 2025 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants