gpt4 book ai didi

c# - 如何使 ILspy c# 反编译结果具有更好的格式?

转载 作者:可可西里 更新时间:2023-11-01 09:52:54 27 4
gpt4 key购买 nike

ILspy 是一个了不起的工具,但是当我使用它反编译 dll 时,我得到的结果是这样的:

this.lastOrientation = base.get_Orientation();

但它应该是这样的:

this.lastOrientation = base.Orientation;

我怎样才能得到更好的结果?

更多这样的例子:

应该是:

battery_logo.Visibility = System.Windows.Visibility.Visible;

但我们得到的是:

battery_logo.set_Visibility(System.Windows.Visibility.Visible);

当我们构建时会得到如下错误:

'System.Windows.UIElement.Visibility.set': cannot explicitly call operator or accessor

最佳答案

这里有一个错误报告:https://github.com/icsharpcode/ILSpy/issues/380

有人写道:

It turns out the issue was related to missing dependency assembly an the base type. I no longer see that issue. I am stymied on some obfuscated code though, not sure if you'd be interested in helping me work through that but I'd sure appreciate the help.

您说您正在为 Windows Phone 反编译应用程序。您可以尝试在 ILSpy 中加载引用的 Windows Phone 程序集

关于c# - 如何使 ILspy c# 反编译结果具有更好的格式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29369264/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com