This article is a mirror article of machine translation, please click here to jump to the original article.

View: 36541|Reply: 0

[Source] VS: Visual Studio decompiles .NET code

[Copy link]
Posted on 2020-5-25 10:27:00 | | | |
In daily development, we need to reference an assembly or third-party library encapsulated by others, and we press F12 to go to the definition, and we can only see the method name, method parameters, return value type, etc., but not the specific implementation code.

If we want to see the specific implementation logic code, we need to use .net decompilation tools: Reflector, ILSpy, dnSpy, etc., but it is too cumbersome, in fact, Visual Studio(vs) already has its own decompilation function.

I'm using vs2019 with the following configuration:

Tools → Options → Text Editor → C# > Advanced → enable navigation to decompiled sources



After enabling it, we press F12 to go to the definition, and we can directly view the decompiled source code.







Previous:Basic use of [ngClass] and [ngStyle] in Angular
Next:Uninstall Symantec Endpoint Protection (SEP) using commands
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com