Skip to content

Fix name overrides for constructed types#552

Merged
SamboyCoding merged 1 commit into
SamboyCoding:developmentfrom
AssetRipper:fix-name-overrides
Jun 7, 2026
Merged

Fix name overrides for constructed types#552
SamboyCoding merged 1 commit into
SamboyCoding:developmentfrom
AssetRipper:fix-name-overrides

Conversation

@ds5678
Copy link
Copy Markdown
Contributor

@ds5678 ds5678 commented May 17, 2026

  • Ensure that DefaultName only calls DefaultName and DefaultFullName, not Name or FullName
  • Remove unnecessary ReferenceTypeAnalysisContext::ToString override
  • Seal Type and name properties
  • Use DefaultFullName and FullName for arguments of GenericInstanceTypeAnalysisContext to ensure expected output from its own DefaultFullName and FullName

@coveralls
Copy link
Copy Markdown

coveralls commented May 17, 2026

Coverage Report for CI Build 27101739479

Warning

No base build found for commit 0b13ff7 on development.
Coverage changes can't be calculated without a base build.
If a base build is processing, this comment will update automatically when it completes.

Coverage: 33.825%

Details

  • Patch coverage: 51 uncovered changes across 11 files (2 of 53 lines covered, 3.77%).

Uncovered Changes

Top 10 Files by Coverage Impact Changed Covered %
Cpp2IL.Core/Model/Contexts/GenericInstanceTypeAnalysisContext.cs 9 0 0.0%
Cpp2IL.Core/Model/Contexts/CustomModifierTypeAnalysisContext.cs 8 0 0.0%
Cpp2IL.Core/Model/Contexts/SentinelTypeAnalysisContext.cs 5 0 0.0%
Cpp2IL.Core/Model/Contexts/ArrayTypeAnalysisContext.cs 4 0 0.0%
Cpp2IL.Core/Model/Contexts/BoxedTypeAnalysisContext.cs 4 0 0.0%
Cpp2IL.Core/Model/Contexts/ByRefTypeAnalysisContext.cs 4 0 0.0%
Cpp2IL.Core/Model/Contexts/PinnedTypeAnalysisContext.cs 4 0 0.0%
Cpp2IL.Core/Model/Contexts/PointerTypeAnalysisContext.cs 4 0 0.0%
Cpp2IL.Core/Model/Contexts/SzArrayTypeAnalysisContext.cs 4 0 0.0%
Cpp2IL.Core/Model/Contexts/WrappedTypeAnalysisContext.cs 3 0 0.0%
Total (12 files) 53 2 3.77%

Coverage Regressions

Requires a base build to compare against. How to fix this →


Coverage Stats

Coverage Status
Relevant Lines: 12345
Covered Lines: 4627
Line Coverage: 37.48%
Relevant Branches: 7782
Covered Branches: 2181
Branch Coverage: 28.03%
Branches in Coverage %: Yes
Coverage Strength: 243296.41 hits per line

💛 - Coveralls

@SamboyCoding
Copy link
Copy Markdown
Owner

Can't push to your fork, can't resolve conflicts and merge this.

* Ensure that DefaultName only calls DefaultName and DefaultFullName, not Name or FullName
* Remove unnecessary ReferenceTypeAnalysisContext::ToString override
* Seal Type and name properties
* Use DefaultFullName and FullName for arguments of GenericInstanceTypeAnalysisContext to ensure expected output from its own DefaultFullName and FullName
@ds5678 ds5678 force-pushed the fix-name-overrides branch from d03ec7d to 3be2901 Compare June 7, 2026 18:57
@SamboyCoding SamboyCoding merged commit c6aaa5e into SamboyCoding:development Jun 7, 2026
9 checks passed
@ds5678 ds5678 deleted the fix-name-overrides branch June 7, 2026 19:04
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