Skip to content

CMake C# lang version bump and template specialized arguments exception fix#120

Open
mVento3 wants to merge 3 commits intoxoofx:mainfrom
mVento3:general_fixes
Open

CMake C# lang version bump and template specialized arguments exception fix#120
mVento3 wants to merge 3 commits intoxoofx:mainfrom
mVento3:general_fixes

Conversation

@mVento3
Copy link
Copy Markdown
Contributor

@mVento3 mVento3 commented Apr 27, 2026

This PR bumps C# version to 10 inside CMake file and fixes an exception raised at

cppUnexposedType.TemplateParameters.AddRange(templateParameters);

Looks like 'ParseTemplateSpecializedArguments' gives us already resolved types (by resolved I mean with set Parent) and since 'AddRange' is called only once here, I have solved this issue by checking if Parent is already set, if so, just reference the item without setting new Parent.

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.

1 participant