简体   繁体   English

有没有办法在 VS Code 中查看反编译的 C# 代码?

[英]Is there a way to see decompiled C# code in VS Code?

Is there a way to see decompiled C# code in VS Code?有没有办法在 VS Code 中查看反编译的 C# 代码?

Whenever I go to the decompiled implementation, I see only interfaces of methods, but not the implementation.每当我 go 到反编译实现时,我只看到方法的接口,但看不到实现。 I heard that some people claim that VS Code can show decompiled implementation as well and was wondering if it is true and how could I enable the feature in VS Code.我听说有些人声称 VS Code 也可以显示反编译的实现,并且想知道这是否属实以及如何在 VS Code 中启用该功能。

I suppose you have installed the omnisharp extension ( https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp )我想你已经安装了omnisharp扩展( https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp

You can turn on the setting "Enable Decompilation Support", which is disabled per default.您可以打开默认禁用的“启用反编译支持”设置。 After turning that on, you should be able to see the decompiled code right away.打开后,你应该可以马上看到反编译的代码。

在此处输入图像描述

You can read more about it here: https://www.strathweb.com/2020/05/decompilation-support-in-omnisharp-and-c-extension-for-vs-code/您可以在此处阅读更多相关信息: https://www.strathweb.com/2020/05/decompilation-support-in-omnisharp-and-c-extension-for-vs-code/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 反编译的 C# 代码中的 __methodptr - __methodptr in decompiled C# code 无法编译一些反编译的C#代码 - Trouble compiling some decompiled C# code 如何查看反编译代码的内容 - How to See the content of Decompiled code C#反编译代码错误(“无效的表达式术语”) - C# Decompiled Code Error (“Invalid expression term”) 如何用无效的参考语法重构这个反编译的 C# 代码? - How to refactor this decompiled C# code with invalid reference syntax? .net Reflector反编译的C#代码将无法编译 - .net Reflector decompiled C# code won't compile 在C#中,是否有办法查看通过ASPX页面生成的代码? - In C# is there a way to see the code that gets generated via an ASPX page? 有没有办法查看由JITter为给定的C#/ CIL生成的本机代码? - Is there a way to see the native code produced by theJITter for given C# / CIL? 是否可以对在反编译过程中变得混乱的反编译的C#代码进行反向工程? - Is it possible to reverse engineer decompiled C# code that has become jumbled during the decompiling process? F#NativePtr.stackalloc慢于C#stackalloc - 包含反编译代码 - F# NativePtr.stackalloc slower then C# stackalloc - Decompiled Code Included
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM