dotnet / dotnet/runtime

TypeLoadException due to references through generics

Open
#130,068 1 comment 3 reactions 0 assignees View on GitHub
area-TypeSystem-coreclr
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

We have a steady stream of these reports of TypeLoadException due to various generic references detected as recursive and it requires effort to figure out if they are duplicates of each other. This issue just collects everything so that next time someone wants to take a stab at fixing this, we have all the reports in a single place:

- [ ] #117852
- [ ] #109451
- [ ] #121556
- [ ] #95544
- [ ] #115451
- [ ] #112811

Contributor guide

Open the contributing guide

Research direction

Start by comparing the linked reports #117852, #109451, #121556, #95544, #115451, and #112811 to determine whether they share the same TypeLoadException behavior. Read the reproduction details in each issue and trace the affected generic type-loading path. Done means establishing a common cause and addressing the collected reports with a verified fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.