Skip to content

Commit

Permalink
Fix sample for MA0158
Browse files Browse the repository at this point in the history
  • Loading branch information
meziantou authored May 26, 2024
1 parent fb20aee commit 162232f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Rules/MA0158.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class MyClass
public void MyMethod()
{
using (_lock)
lock (_lock)
{
}
}
Expand All @@ -27,7 +27,7 @@ class MyClass
public void MyMethod()
{
using (_lock)
lock (_lock)
{
}
}
Expand Down

0 comments on commit 162232f

Please sign in to comment.