rspec/rules/S5034/csharp/rule.adoc
Čaba Šagi 4b843bf87a
Modify rule S5034: Update to LaYC (#2152)
## 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-14 10:23:06 +02:00

21 lines
778 B
Plaintext

include::../rule.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
Refactor this `ValueTask` usage to await it once or call `AsTask()`.
'''
== Comments And Links
(visible only on this page)
=== on 13 Sep 2019, 16:01:18 Andrei Epure wrote:
According to https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.valuetask-1?view=netstandard-2.1[the docs] "The use of the ValueTask type is supported starting with C# 7.0, and is not supported by any version of Visual Basic.", thus I am removing VB from this
=== on 13 Sep 2019, 16:09:19 Andrei Epure wrote:
\[~nicolas.harraudeau] - did you have a chance to look at the wording of this rule? I think it can be simplified...
endif::env-github,rspecator-view[]