Method with 'params' is invoked. Have you intended to call more specific method..
Hello,
I'm creating a locally scoped CancellationTokenSource which is linked to an
existing CancellationToken so I can either just cancel the local progress
(without affecting the global progress) or the entire progress which will
automatically also cancel all local linked CancellationTokens:
using ( var innerCancellationSource = CancellationTokenSource.CreateLinkedTokenSource(outerCancellationToken) )
R# complains with:
Method with 'params' is invoked. Have you intended to call more specific
method 'CancellationTokenSource CreateLinkedTokenSource(CancellationToken,
CancellationToken)'?
No I don't have 2 CancellationTokens -- what should I change? I'm really
sure the overload I'm using is the only one which is doing what I want (and
everything is working fine this way).
--
/\/\arkus.
Please sign in to leave a comment.