This project is read-only.
1

Closed

Decompilation results in default(Microsoft.Cci.DummyTypeReference)

description

Running PeToTextViaCodeModel with HashtableStub.dll as input, the resulting HashtableStub.txt displays the decompiler failure. The decompiled method for GetItem() looks like this:public static int GetItem() { if (0 % 1 == default(Microsoft.Cci.DummyTypeReference)) { } return 0;}While the following is the expected result: public static int GetItem() { if (0 % 1 == 0) { } return 0;}HashtableStub.dll, HashtableStub.txt and HashtableStub.il are attached.

file attachments

Closed Feb 23, 2013 at 6:02 PM by hermanv

comments

hermanv wrote Jan 5, 2013 at 12:15 AM

This problems is already fixed in the new decompiler. The sample now uses the new decompier. See revision 70938.