Usage of property Task.Result in the continuation function of any overload of Task.ContinueWith should not raise a warning. In fact, this is a scenario (AFAICT the only one) where it is the correct way of accessing the result of a Task.
Example:
await task.ContinueWith(t => { ... t.Result ... });
// ^ there should be no warning here
Usage of property
Task.Result
in the continuation function of any overload ofTask.ContinueWith
should not raise a warning. In fact, this is a scenario (AFAICT the only one) where it is the correct way of accessing the result of aTask
.Example: