2016-06-24 20 views
0

In ILSpy Version 2.3.1.1855, ich versuche, System.dll zu dekompilieren (um ein Problem mit HttpWebRequest zu beheben). Diese DLL ist in C:\Program Files (x86)\Microsoft.NET\SDK\CompactFramework\v3.5\WindowsCE. Ich bekomme eine Liste von Typen und Mitgliedern, aber keinen Code. Stattdessen zeigt diese Ausnahme im ILSpy Codefenster:ILSpy auf. NET Compact Framework

ICSharpCode.Decompiler.DecompilerException: Fehler decompiling System.Net.WebResponse System.Net.WebRequest :: GetResponse() ---> System.OverflowException: Array Abmessungen überschritten Unterstützungsbereich. bei ICSharpCode.Decompiler.ILAst.ILAstBuilder.StackSlot.ModifyStack (StackSlot [] Stapel, Int32 PopCount, Int32 pushCount, ByteCode pushDefinition) bei ICSharpCode.Decompiler.ILAst.ILAstBuilder.StackAnalysis (MethodDefinition methodDef) bei ICSharpCode.Decompiler.ILAst .ILAstBuilder.Build (MethodDefinition methodDef, Boolean optimize, DecompilerContext Kontext) bei ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody (IEnumerable`1 Parameter) bei ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody (MethodDefinition methodDef, DecompilerContext Zusammenhang IEnumerable `1 Parameter) --- Ende der inneren Ausnahme Stapelverfolgung --- bei ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody (MethodDefinition methodDef, DecompilerContext Kontext, IEnum erable`1 Parameter) bei ICSharpCode.Decompiler.Ast.AstBuilder.CreateMethod (MethodDefinition methodDef) bei ICSharpCode.Decompiler.Ast.AstBuilder.AddMethod (MethodDefinition Methode) bei ICSharpCode.ILSpy.CSharpLanguage.DecompileMethod (MethodDefinition Verfahren, ITextOutput Ausgangs , DecompilationOptions-Optionen) bei ICSharpCode.ILSpy.TextView.DecompilerTextView.DecompileNodes (DecompilationContext-Kontext, ITextOutput textOutput) bei ICSharpCode.ILSpy.TextView.DecompilerTextView. <> c__DisplayClass16.b__15()

Irgendwelche Hinweise?

Antwort

2

Das sind nur Stichwörter. Sie müssen die tatsächlichen BCL-Bibliotheken dekompilieren, zum Beispiel:

C:\Program Files (x86)\Microsoft.NET\SDK\CompactFramework\v3.5\Debugger\BCL\System.dll