Skip to content

[3.0] Improve handling of nested struct names and affixes#2555

Draft
Exanite wants to merge 3 commits intodotnet:develop/3.0from
Exanite:feature/nested-struct-name-affixes
Draft

[3.0] Improve handling of nested struct names and affixes#2555
Exanite wants to merge 3 commits intodotnet:develop/3.0from
Exanite:feature/nested-struct-name-affixes

Conversation

@Exanite
Copy link
Member

@Exanite Exanite commented Mar 24, 2026

Summary of the PR

(WIP)

Nested struct names are an edge case in the name affix system because they have the following format:

NestedStructName = ParentBaseName + ParentSuffix + FieldBaseName + FieldSuffix

Currently, nested struct names are generated by directly combining the full parent type name with the full field name.
This leads to issues where the ParentSuffix is not handled correctly.

For example, PerformanceCounterDescriptionArmName should be PerformanceCounterDescriptionARMName.

Related issues, Discord discussions, or proposals

Original discussion: https://discord.com/channels/521092042781229087/587346162802229298/1460017726813900975

Further Comments

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant