Skip to main content
Source: Al0057ToAl0060ThreadingAnalyzer.cs

Description

Locking on this exposes the synchronization target to any code that holds a reference to the instance, creating deadlock risks.

Bad Code

Good Code

Properties

  • Category: Threading
  • Severity: Warning
  • Enabled by default: True
  • Code fix available: False

Configuration