You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classClass1{publicFunc<Task<Dictionary<string,int>>>?VCLoadMethod;publicDictionary<string,int>?VirtualCurrencyBalances{get{// This has no issue:// return VCLoadMethod?.Invoke().GetAwaiter().GetResult();// This triggers the warning:return(VCLoadMethod?.Invoke()).GetAwaiter().GetResult();}}}
While parentheses are pointless in this case, they may be needed in more complex constructs such as (VCLoadMethod?.Invoke() ?? Task.FromResult(default(Dictionary<string, int>))).GetAwaiter().GetResult();
Bug description
Repro steps
Code to reproduce the behavior.
While parentheses are pointless in this case, they may be needed in more complex constructs such as

(VCLoadMethod?.Invoke() ?? Task.FromResult(default(Dictionary<string, int>))).GetAwaiter().GetResult();Expected behavior
Expect no warning.
Actual behavior
VSTHRD110
Additional context
Add any other context about the problem here.