Disable rather than try to work around VSTHRD103
VSTHRD103 reminds people not to use .Result in tasks, which is great advice but we get a few false positives; in particular our SafeContinueWith extension isn't understood by the analyzer that the tasks involved are always completed, so you can just .Result them. Rather than working around this, let's just disable the analyzer in those cases.
Showing
想要评论请 注册 或 登录