C#/.NET analysis tool to find race conditions/deadlocks

前端 未结 6 965
面向向阳花
面向向阳花 2020-11-30 01:57

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

6条回答
  •  误落风尘
    2020-11-30 02:29

    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.

提交回复
热议问题