Description
Locking onthis 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
