Closed skarllot closed 6 months ago
The calls of AsTask method from ValueTask struct should be ignored.
AsTask
ValueTask
private ValueTask<int> OtherMethodAsync() => // ... public Task<int> MyMethod() => OtherMethodAsync().AsTask();
The calls of
AsTask
method fromValueTask
struct should be ignored.