Skip to content

C# Generics#1275

Open
Strackeror wants to merge 6 commits intopraydog:csharp-apifrom
Strackeror:csharp-generics
Open

C# Generics#1275
Strackeror wants to merge 6 commits intopraydog:csharp-apifrom
Strackeror:csharp-generics

Conversation

@Strackeror
Copy link
Copy Markdown
Contributor

@Strackeror Strackeror commented Mar 25, 2025

This completely recreates the full type tree with generics within the reconstructed assembly.
Arrays are special cased as a generic-like type, in _System.Array.Impl<T>.
Currently methods are stubbed by index of TypeDefinition.GetMethods

I've tested this in rise and wilds, though rise doesn't have runtime type handles for generic type definitions, which means most generics fall back to object stubs.

@Strackeror Strackeror marked this pull request as ready for review March 29, 2025 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant