This is a migrated thread and some comments may be shown as answers.

Incorrect decompile

1 Answer 26 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 30 Jan 2012, 04:00 PM
Try decompiling the default constructor for System.Collections.Concurrent.BlockingCollection (in System.dll).

JustDecompile gives:
public BlockingCollection(){}

JetBrains dotPeek gives:

 

public BlockingCollection()

 : this((IProducerConsumerCollection<T>) new ConcurrentQueue<T>())

 {}

It looks to me as if JustDecompile is missing a load of information from this method.

 

1 Answer, 1 is accepted

Sort by
0
Tsviatko Yovtchev
Telerik team
answered on 06 Feb 2012, 05:53 PM
Hi David,

 First of all, I beg your pardon for the late response. It's been a bit hectic around here recently.

We just released a new version of JD where the decompilation engine has undergone a major overhaul. It looks like we have a fix for your (and many other) issue there. Would you, please, update and let us know how it works for you.

Regards,
Tsviatko Yovtchev
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
Tsviatko Yovtchev
Telerik team
Share this question
or