Closed bkoelman closed 5 years ago
Properties, arguments and return values representing strings or collections should never be null (AV1135)
Should Task be included here? Task.CompletedTask or Task.FromResult(false) can be returned when no work is scheduled.
Task
Task.CompletedTask
Task.FromResult(false)
Could be awkward to get a null task when using await.
null
await
Should
Task
be included here?Task.CompletedTask
orTask.FromResult(false)
can be returned when no work is scheduled.Could be awkward to get a
null
task when usingawait
.