title: Operator '<' cannot be applied to operands of type 'long' and 'ulong'
body: <p>I've used the .NET Reflector 8 by redgate and I used the feature that exports the .dll to C# files and I am running into one error situation that I do not know how to fix this error.</p>
  
  <p>The error states: <strong>Error   36 Operator '&lt;' cannot be applied to operands of type 'long' and 'ulong'</strong></p>
  
  <p>I understand the error has to do with the bitwise, but I'm not sure how to fix the specific situation.</p>
  
  <pre><code>if (!flag &amp;&amp; (num7 &lt; (((ulong) endLocation) - (((ulong) 4L) + num6))))
           {
             this.offsetOfFirstEntry = endLocation - ((4L + ((long) num6)) + num7);
                if (this.offsetOfFirstEntry &lt;= 0L)
                      {
                          throw new ZipException("Invalid embedded zip archive");
                      }
  }
  </code></pre>
  
  <p><strong>Here is a snapshot of the error:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/KcIjC.jpg" alt="enter image description here"></p>
  
  <p>What is the best way to fix this type of error?</p>