为什么dotpeek不能在dll中反编译方法?(无法反编译该方法(?//问题:无法反编译方法。
public ChildModel ChildModel
{
get => this.u003CChildModelu003Ek__BackingField;
set
{
// ISSUE: unable to decompile the method.
}
}
其他反编译器(例如decompiler.com)反编译它没有任何问题
set
{
if (_propSubscriptions.TryRemove("ChildModel", out var value2))
{
_003CChildModel_003Ek__BackingField.BecameDirty -= value2;
}
if (value != null)
{
Action<BecameDirtyEventArgs> value3 = delegate(BecameDirtyEventArgs args)
{
OnBecameDirty("ChildModel." + ((args != null) ? args.get_PropertyPath() : null));
};
if (_propSubscriptions.TryAdd("ChildModel", value3))
{
value.BecameDirty += value3;
}
}
PropertyModified(ref _003CChildModel_003Ek__BackingField, value, "ChildModel");
}
Setter IL
.method public hidebysig specialname instance void
set_ChildModel(
class Sqrt.Bws.PersistentStateStorage.Fody.Tests.TestAssembly.ChildModel 'value'
) cil managed
{System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor()= (01 00 00 00).maxstack 4.locals init (
)[0] class [System.Private.CoreLib]System.Action ' 1 所以,这是一个。peek错误。在重新安装