以前用ildasm逆向出il代码以后,都可以直接重新修改编译成DLL文件
但是编译不通过还是第一次遇到,有点乱头绪....
求高手们看下怎么回事
C:\ilasm2.0>ilasm /dll c:\zfnews.il /output=zfzf.dll
Microsoft (R) .NET Framework IL Assembler. Version 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
Assembling 'c:\zfnews.il' to DLL --> 'zfzf.dll'
Source file is UTF-8
Assembled method Attribute0::.ctor
Assembled method Attribute1::.ctor
Assembled method Class1::.ctor
Assembled method Class2::.ctor
Assembled method Class3?Class4`1::method_0
Assembled method Class3?Class4`1::.ctor
Assembled method Class3?Class5::Equals
Assembled method Class3?Class5::GetHashCode
Assembled method Class3?Class5::method_0
Assembled method Class3?Class5::ToString
Assembled method Class3?Class5::smethod_0
Assembled method Class3?Class5::method_1
Assembled method Class3?Class5::.ctor
Assembled method Class3::.cctor
c:\zfnews.il(419) : error : syntax error at token '[' in: IL_0000: call
[ERROR: INVALID TOKEN 0xFFFFFFFF]
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!