[Analyzer] Detect AllowSynchronousIO
Open
analyzer
area-networking
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 276
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Is your feature request related to a problem? Please describe the problem.
AllowSynchronousIO = true has a big impact on performance. The documentation on the property has warnings, but not everyone reads API docs.
### Describe the solution you'd like
Analyzer checks for `AllowSynchronousIO = true` (can also warn when set via method or variable) and warns about the performance impact of this setting.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.