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
Consider tree-shaking for APIs banned from tasks #14843
The MSBuild Task analyzer looks for a set of known-bad APIs in tasks (and helper methods) marked as multithreading-compatible. However as a Roslyn analyzer it sees only the current compilation (DLL), and source code/method calls for referenced DLLs is not easily visible.
It might be interesting to use some of the reference trimming/tree-shaking implementations used for AOT compilation to try to see if there are any paths to banned APIs in the referenced DLLs.
Activity