Skip to content

Fix issue 14259: Deserialization of the CodeTypeReference to generic type is incorrect#14260

Open
aerworker wants to merge 1 commit intodotnet:mainfrom
aerworker:DeserializeGenericTypeRef
Open

Fix issue 14259: Deserialization of the CodeTypeReference to generic type is incorrect#14260
aerworker wants to merge 1 commit intodotnet:mainfrom
aerworker:DeserializeGenericTypeRef

Conversation

@aerworker
Copy link

@aerworker aerworker commented Feb 2, 2026

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 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.18350%. Comparing base (333771d) to head (bdaf691).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main      #14260         +/-   ##
===================================================
+ Coverage   77.17929%   77.18350%   +0.00421%     
===================================================
  Files           3279        3279                 
  Lines         645129      645156         +27     
  Branches       47728       47730          +2     
===================================================
+ Hits          497906      497954         +48     
+ Misses        143540      143505         -35     
- Partials        3683        3697         +14     
Flag Coverage Δ
Debug 77.18350% <100.00000%> (+0.00421%) ⬆️
integration 18.98744% <0.00000%> (+0.00561%) ⬆️
production 52.06092% <100.00000%> (+0.00896%) ⬆️
test 97.40492% <100.00000%> (+0.00012%) ⬆️
unit 49.52365% <100.00000%> (+0.03303%) ⬆️

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.

The CodeDomSerializer does not properly deserialize a CodeTypeReference to a generic type

1 participant