© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
9 replies
Hugh

Previewing IL generated by ILGenerator

After generating a constructor method using a ConstructorBuilder and ILGenerator, how can I preview the full generated IL of the constructor method?

I'd like to compare the generated IL with something I can check on sharplab.io or in Rider, as my generated constructor isn't working, and I'd like to figure out what is different.
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

✅ ILGenerator Object Mapper Property Set
C#CC# / help
3y ago
❔ how do i print the bytecode generated from a ILGenerator? (im getting an error)
C#CC# / help
3y ago
❔ Loading arbitrary values onto a ILGenerator stack
C#CC# / help
4y ago
✅ Copy files generated by command to build output
C#CC# / help
3y ago