"Cannot not transform LINQ" Error or a joke?

Thread is closed for posting
2 posts, 0 answers
  1. Michael
    Michael avatar
    19 posts
    Member since:
    Oct 2011

    Posted 23 Feb 2012 Link to this post

    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.
  2. Dennis :: Dr. Code
    Dennis :: Dr. Code avatar
    22 posts

    Posted 29 Feb 2012 Link to this post


    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! 

    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 >>
Back to Top