© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
8 replies
Hanprogramer

❔ Need Ideas. Switching from Reflections to Source Gen

I'm writting a game engine, currently using reflections to show what the User Assembly (the scripted parts) has types. Then register these types so we can access it easily at runtime. Currently using runtime reflections, I think this is a very messy implementation. And i think source gen could make this so much better. But I'm new to source gen, any ideas?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Source-gen on a .shproj
C#CC# / help
4y ago
✅ Switching from ReactiveUI to CommunityToolkit
C#CC# / help
2y ago
How to set Object from Inherited class with Reflections
C#CC# / help
2y ago
❔ Reflections and generics
C#CC# / help
4y ago