Update code snippets to use exception throw helpers
Open
:watch: Not Triaged
- Dominant language
- No language data
- Stars
- 4.8k
- Forks
- 6.1k
- Avg merge
- 19h 10m
- Merged PRs (30d)
- 268
Description
### Describe the issue or suggestion
Code analysis rules advise users to use exception throw helpers, such as ArgumentNullException.ThrowIfNull (see full list here: https://github.com/dotnet/runtime/issues/86341#issue-1712427952). We should update all our code snippets to use these helpers.
Contributor guide
Assessment
This issue has not been assessed yet.