Exclamation mark is added in front of the expression

4 posts, 0 answers
  1. Dmitriy
    Dmitriy avatar
    5 posts
    Member since:
    Mar 2016

    Posted 27 Jan 2017 Link to this post

    Hi Adrian, I was not able to access the topic with your reply - therefore I have created a new one. You asked about the code example. See enclosed. I have noticed that when Else statement is present then - "!" is added. If no Else is present - then it is ok. Kind regards, Dmitriy
  2. Dmitriy
    Dmitriy avatar
    5 posts
    Member since:
    Mar 2016

    Posted 27 Jan 2017 in reply to Dmitriy Link to this post

    Forgot the attachment.
  3. Dmitriy
    Dmitriy avatar
    5 posts
    Member since:
    Mar 2016

    Posted 27 Jan 2017 in reply to Dmitriy Link to this post

    again
  4. Adrian
    Admin
    Adrian avatar
    17 posts

    Posted 02 Feb 2017 Link to this post

    Hello Dmitriy,

    The decompilated code from your snipped is actually correct. The decompilated code cannot be 100% same as the code in cs or vb files. Even if we put "!" in conditional expression the result of decompilation is logically equivalent, because we also swap the logic from if and else block code.

    Regards,
    Adrian
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top