title: Finding magic numbers using NDepend
body: <p>Does anyone know how I could find magic numbers in the source code using the CQL queries in NDepend? This is the same problem as <a href="https://stackoverflow.com/questions/337432/looking-for-a-regular-expression-to-identify-hard-coded-magic-numbers-in-source-c">this question</a>, but I don't want to use regex if possible.</p>
  
  <p>So I want to find all statements like </p>
  
  <pre><code>Int32 someValue = 23;
  Double anotherValue = 1;
  </code></pre>
  
  <p>but not </p>
  
  <pre><code>for (int i = 0; i &lt; array.length; i++)
  </code></pre>