I'm wishing to add a warning if cancellation token is not used, for example:
var content = await File.ReadAllTextAsync(path)
since in our case, cancellation token should be used, as follows:
var content = await File.ReadAllTextAsync(path, _cancellation_token)
I'm using Rider as my IDE if that's important
Is there any simple way to do this?
Thanks