title: C#/.NET analysis tool to find race conditions/deadlocks
body: <p>Is there a tool that analyses .NET code and finds race conditions?</p>
  
  <p>I have a bit of code that has a public static property that gets or creates a private static field.  It also has a public static method that sets this field to null (...yes, I know!..)</p>
  
  <p>As there are no locks around either of these methods, it's a safe bet that things'll go horribly wrong in the future.  I need a tool that'll recursively go through things that call either of these methods and see if anything was spawned on another thread.</p>
  
  <p>I'm looking for a tool or perhaps an nDepend SQL script (if this is possible).</p>