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
{{ message }}
Repository navigation
VSTHRD200 calculates all awaitable types, but only caches one #829
Nice catch. That doesn't appear to find all awaitable types (it filters by candidateAwaiterMethod.IsExtensionMethod and not all awaitable types are by extensions method), but we should certainly cache all the data that we have computed.
It does filter by IsExtensionMethod, but perhaps it could specifically all known awaitable types created by extension methods? This would make it a true one-time calculation.
Activity
AArnott commentedon Apr 20, 2021
Nice catch. That doesn't appear to find all awaitable types (it filters by
candidateAwaiterMethod.IsExtensionMethodand not all awaitable types are by extensions method), but we should certainly cache all the data that we have computed.sharwell commentedon Apr 20, 2021
It does filter by
IsExtensionMethod, but perhaps it could specifically all known awaitable types created by extension methods? This would make it a true one-time calculation.