This diagnostic would be reported when CancellationToken.None is explicitly provided in a call, but another cancellation token is available in the current context (see #36 and #32 for comments describing the current context).
The code fix for this would replace the use of CancellationToken.None with the "best" cancellation token as described in the code fix for #36.
This diagnostic would be reported when
CancellationToken.Noneis explicitly provided in a call, but another cancellation token is available in the current context (see #36 and #32 for comments describing the current context).The code fix for this would replace the use of
CancellationToken.Nonewith the "best" cancellation token as described in the code fix for #36.