{"id":4051,"date":"2014-03-30T07:21:30","date_gmt":"2014-03-30T07:21:30","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/c-code-to-look-at-code-collection-of-common-programming-errors\/"},"modified":"2014-03-30T07:21:30","modified_gmt":"2014-03-30T07:21:30","slug":"c-code-to-look-at-code-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/c-code-to-look-at-code-collection-of-common-programming-errors\/","title":{"rendered":"C# -&gt; code to look at code-Collection of common programming errors"},"content":{"rendered":"<p>Depends on what you&#8217;re trying to do. If you&#8217;re looking to analyze your .NET executable, you can use one of the free decompilation tools available (dotPeek, ILSpy or even .NET Reflector).<\/p>\n<p>However, if you&#8217;re looking for this information at runtime, that is, you want for example to print all the types and methods executing in your application, you can either use Reflection (here&#8217;s a good tutorial on CodeProject), or use an AOP solution, like PostSharp, to print the names of all executing methods (see the Tracing example).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Depends on what you&#8217;re trying to do. If you&#8217;re looking to analyze your .NET executable, you can use one of the free decompilation tools available (dotPeek, ILSpy or even .NET Reflector). However, if you&#8217;re looking for this information at runtime, that is, you want for example to print all the types and methods executing in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4051","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4051","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4051"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4051\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4051"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4051"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}