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

Bug Enumerable.OrderBy<> missing in decompiled code

3 Answers 18 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Blamara
Top achievements
Rank 1
Blamara asked on 09 Apr 2015, 07:31 PM

Not sure why it happened but noticed several times on Enumerable.OrderBy<> and I've manager to reproduce.

Maybe it's missing because it's marked as Compiler Generated code!?

Sample Code (full example will send you via email):

public Bug(ListItemPointData pointData)
  : this()
{
  this.Loops = new List<ListItem>(pointData.Loops);
  
  Enumerable.OrderBy<ListItem, DateTime>(
    this.Loops,
    delegate(ListItem point) { return point.OrderField; }
    );
}

Generated code (you can notice Enumerable.OrderBy<...>(...) is missing in any form:

public Bug(BugEnumerationOrderByNotDecompiled.ListItemPointData pointData) : this()
{
    this.Loops = new List<BugEnumerationOrderByNotDecompiled.ListItem>(pointData.Loops);
}

3 Answers, 1 is accepted

Sort by
0
Tsviatko Yovtchev
Telerik team
answered on 15 Apr 2015, 10:19 AM
Hello,

Thanks for reporting this problem.

Could you, please, send us the assembly where that happens?

Regards,
Tsviatko Yovtchev
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Blamara
Top achievements
Rank 1
answered on 20 Apr 2015, 05:07 PM

sry on late answer

Already sent to Alexander Dimitrov full project source with several bug.
Among them is this one, with commented decompiled code.
source file: BugEnumerationOrderByNotDecompiled.cs

you can ask him to forward you same email/project,
or give me your email and I'll forward same email sent to him.

best regards

0
Alexander
Telerik team
answered on 22 Apr 2015, 12:02 PM
Hello Blamara,

Thank you for sharing the whole project with me. Also for reporting this bug. Your help is very appreciated.

I already forwarded the project to my colleague. Don't worry about sending it again.

Please, update regularly and stay tuned.

Regards,
Alexander
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
General Discussions
Asked by
Blamara
Top achievements
Rank 1
Answers by
Tsviatko Yovtchev
Telerik team
Blamara
Top achievements
Rank 1
Alexander
Telerik team
Share this question
or