Click here to Skip to main content
15,299,255 members
Articles / Programming Languages / C# 7.0


13 bookmarked

Reflecting Within a Method Body

Rate me:
Please Sign up or sign in to vote.
5.00/5 (11 votes)
15 May 2018CPOL32 min read
Extends .NET reflection to decode the byte array returned by System.Reflection.MethodBody.GetILByteArray(), discusses the techniques to achieve this, and provides a brief primer on .NET reflection.




This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Eric Lynch
Software Developer (Senior)
United States United States
Eric is a Senior Software Engineer with 30+ years of experience working with enterprise systems, both in the US and internationally. Over the years, he’s worked for a number of Fortune 500 companies (current and past), including Thomson Reuters, Verizon, MCI WorldCom, Unidata Incorporated, Digital Equipment Corporation, and IBM. While working for Northeastern University, he received co-author credit for six papers published in the Journal of Chemical Physics. Currently, he’s enjoying a little time off to work on some of his own software projects, explore new technologies, travel, and write the occasional article for CodeProject or ContentLab.

Comments and Discussions