rspec/rules/S4586/resources.adoc
Martin Strecker f95d517a7c
Modify rule S4586: LaYC format (#2155)
Update rule content and descriptions to LaYC format.
https://sonarsource.github.io/rspec/#/rspec/S4586

## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)
2023-06-15 15:08:57 +02:00

12 lines
726 B
Plaintext

== Resources
=== Documentation
* Microsoft Learn - https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task.completedtask[`Task.CompletedTask` Property]
* Microsoft Learn - https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task.fromresult[`Task.FromResult<TResult>(TResult)` Method]
=== Articles & blog posts
* StackOverflow - Answer by Stephen Cleary for https://stackoverflow.com/a/45350108[Is it better to return an empty task or null?]
* StackOverflow - Answer by Stephen Cleary for https://stackoverflow.com/a/27551261[Best way to handle null task inside async method?]
* C# Language Design Proposal - https://github.com/dotnet/csharplang/issues/35[Champion "Null-conditional await"]