Yield Return Inside Lock - prodot/ReCommended-Extension GitHub Wiki

Shows a warning when yield return statements are found inside lock blocks.

Note

The analyzer doesn't warn if the lock is taken on a Lock object.

Note

The analyzer can be configured or deactivated in the ReSharper Options or Rider Settings dialog.

⚠️ **GitHub.com Fallback** ⚠️