Skip to content

[release/9.0] Fix issue 14259: Deserialization of the CodeTypeReference to generic type is incorrect#14270

Open
aerworker wants to merge 1 commit intodotnet:release/9.0from
aerworker:DeserializeGenericTypeRef_9
Open

[release/9.0] Fix issue 14259: Deserialization of the CodeTypeReference to generic type is incorrect#14270
aerworker wants to merge 1 commit intodotnet:release/9.0from
aerworker:DeserializeGenericTypeRef_9

Conversation

@aerworker
Copy link

@aerworker aerworker commented Feb 4, 2026

Backport of #14260 to release/9.0
Fixes #14259

Proposed changes

  • Fixed a regression where CodeDomSerializer doesn't deserialize generic types.

Customer Impact

  • When a custom designer tries to deserialize a generic type the error is occuered

Regression?

  • Yes

Risk

  • Min

Test methodology

  • custom example

Test environment(s)

8.0.23

Microsoft Reviewers: Open in CodeFlow

@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.86310%. Comparing base (f48f8bf) to head (aff3cbe).
⚠️ Report is 2 commits behind head on release/9.0.

Additional details and impacted files
@@                  Coverage Diff                   @@
##           release/9.0      #14270          +/-   ##
======================================================
+ Coverage     47.90874%   74.86310%   +26.95436%     
======================================================
  Files             1956        3022        +1066     
  Lines           284422      630591      +346169     
  Branches         41761       46811        +5050     
======================================================
+ Hits            136263      472080      +335817     
- Misses          145502      155127        +9625     
- Partials          2657        3384         +727     
Flag Coverage Δ
Debug 74.86310% <100.00000%> (+26.95436%) ⬆️
integration 18.02589% <0.00000%> (+0.00028%) ⬆️
production 47.92158% <100.00000%> (+0.01283%) ⬆️
test 96.99914% <100.00000%> (?)
unit 44.92218% <100.00000%> (+0.01249%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant