by skeet via Jon Skeet: Coding Blog on 11/23/2008 10:25:53 AM
Those of you who've read C# in Depth will know about Snippy - a little tool which makes it easy to build complete programs from small snippets of code.
I'm delighted to say that reader Jason Haley has taken the source code for Snippy and built an add-in for Reflector. This will make it much simpler to answer questions like this one about struct initialization, where you really want to the IL generated for a snippet. Here's a screenshot to show what it does:
This is really cool - if you want to dabble to see what the C# compiler does in particular situations, check it out. It comes as just the DLL, or a zipped version. Thanks for putting in all this work, Jason :)
Update: Jason now has his own (more detailed) blog entry too.
Original Post: The Snippy Reflector add-in
The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.