Skip to content

Conversation

@sbomer
Copy link
Member

@sbomer sbomer commented Jan 23, 2026

I tried to write down some of what I learned (with much help from @MichalStrehovsky) while working on #122012 in a way that might be helpful to others learning about ILC in the future.

@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jan 23, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds comprehensive documentation about how ILC (IL Compiler) handles generic types and methods in NativeAOT compilation. The documentation is based on learnings from PR #122012, which dealt with tracking concrete dependencies of open generic methods.

Changes:

  • Adds a new "Compiling generics" section to the ILC architecture documentation covering shared generics, canonicalization, runtime-determined types, generic dictionaries, generic virtual methods (GVMs), and shadow method nodes.

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

Labels

needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant