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

"Cannot not transform LINQ" Error or a joke?

1 Answer 73 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael
Top achievements
Rank 1
Michael asked on 24 Feb 2012, 02:16 AM
No, that's not a typo on my part. I have a line of LINQ that threw this error in the "JustCode Errors" list and for the life of me I cannot figure out what it's about because the code works just fine and then as I was searching Google for the error message in hopes that someone else could explain, I realized the double-negative in the error description.

Maybe it's more of an easter-egg than a typo since it's really saying that the LINQ could be transformed?  :)

Before I even post code, consider this a notice of the typo and a request for a general meaning of the error. If code is needed to provide any sort of meaning answer, let me know who to email and I'll gladly continue there, but I'd rather not post the code publicly.

1 Answer, 1 is accepted

Sort by
0
Dennis :: Dr. Code
Telerik team
answered on 29 Feb 2012, 09:48 AM
Hi,

It's not a joke. Just 2 real bugs:

1) Too many "nots". It should read "Can not transform LINQ". We'll change that text. This error is rare, guess that's why we didn't notice.

2) The error appears if something goes wrong internally when analyzing a LINQ expression. To fix that we'll need to see the LINQ expression where it's shown. Please send it in a ticket or use JC's "Report good-code-red" quick-fix, which will also send the code to us. Thanks for your help! 


Greetings,
Dennis :: Dr. Code
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
Michael
Top achievements
Rank 1
Answers by
Dennis :: Dr. Code
Telerik team
Share this question
or