Decompiled code bug?

2 posts, 0 answers
  1. David
    David avatar
    2 posts
    Member since:
    Oct 2012

    Posted 16 Jun 2014 Link to this post

    I was looking at the .NET framework TimerQueueTimer.Close(WaitHandle) function and noticed that it checks a boolean for null.  Since bool is a value type, this doesn't make much sense.

    if (this.m_canceled == null)

    I verified with Microsoft's Reference Source ( and it appropriately checks the bool for true/false.

    if (m_canceled)

  2. Vladi
    Vladi avatar
    167 posts

    Posted 17 Jun 2014 Link to this post

    Hello David,

    Indeed there's a bug in JustDecompile. I've logged it and updated your Telerik points as an appreciation for your help. Thanks for your feedback!

    Kind regards,

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top