Is there a tool that analyses .NET code and finds race conditions?
I have a bit of code that has a public static property that gets or creates a private static field
See the answers here: What static analysis tools are available for C#?
Some static analysis tools can do deadlock detection.
Also, try FxCop from Microsoft.