Skip to content

Upgrade to AsmResolver 6 beta 6#521

Merged
SamboyCoding merged 2 commits intoSamboyCoding:developmentfrom
AssetRipper:asmresolver-6-beta-6
Feb 28, 2026
Merged

Upgrade to AsmResolver 6 beta 6#521
SamboyCoding merged 2 commits intoSamboyCoding:developmentfrom
AssetRipper:asmresolver-6-beta-6

Conversation

@ds5678
Copy link
Contributor

@ds5678 ds5678 commented Feb 28, 2026

No description provided.

}

return baseType.MakeGenericInstanceType(typeArguments);
var runtimeContext = Cpp2IlApi.CurrentAppContext!.GetExtraData<RuntimeContext>("RuntimeContext") ?? throw new("AsmResolver runtime context not found in application analysis context");
Copy link
Owner

Choose a reason for hiding this comment

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

Not massively in love with this adding a new reliance on the static state (CurrentAppContext) I'm somewhat trying to remove.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's not really new. This method already relied on Cpp2IlApi.CurrentAppContext transitively through TryLookupTypeDefKnownNotGeneric.

@ds5678 ds5678 force-pushed the asmresolver-6-beta-6 branch from 1dc7ba9 to 23c07e7 Compare February 28, 2026 20:21
@SamboyCoding SamboyCoding merged commit 5df0c1f into SamboyCoding:development Feb 28, 2026
8 checks passed
@coveralls
Copy link

Pull Request Test Coverage Report for Build 22528287954

Details

  • 13 of 18 (72.22%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 35.193%

Changes Missing Coverage Covered Lines Changed/Added Lines %
Cpp2IL.Core/Utils/AsmResolver/AsmResolverUtils.cs 0 2 0.0%
Cpp2IL.Core/Utils/AsmResolver/AsmResolverAssemblyPopulator.cs 5 8 62.5%
Totals Coverage Status
Change from base Build 22523850714: 0.0%
Covered Lines: 4343
Relevant Lines: 11028

💛 - Coveralls

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