Skip to content

C#. NET 11 Runtime Models as Data. - #23353

Closed
michaelnebel wants to merge 4 commits into
github:mainfrom
michaelnebel:michaelnebel/net11mad
Closed

michaelnebel wants to merge 4 commits into
github:mainfrom
michaelnebel:michaelnebel/net11mad

Conversation

@michaelnebel

@michaelnebel michaelnebel commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

In this PR we re-generate the .NET runtime models. Note, that this time we get a "significant" change in the number of produced models. Most likely this is because the database used as a basis for model generation is built on the clr and libs subsets (it used to be mono and libs, but mono has been removed as a built target in the newest version of .NET).

Furthermore, it turns out that we found another idempotency issue (which I don't think, we should invest in solving). I discussed it with CoPilot and it can happen in the following way:

  1. The library being modelled declares, in source, an interface or virtual method that gets a generated model applying to subtypes.
  2. A binary dependency of that same database implements or overrides that declaration.
  3. Source code in the database calls that binary implementation.

This means that when re-generating models we can get "more flow" leading to more models.

@github-actions github-actions Bot added the C# label Dec 3, 2026
@michaelnebel
michaelnebel force-pushed the michaelnebel/net11mad branch from 4cbb7ed to b0c10fa Compare December 4, 2026 12:19
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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