Repository navigation
Add document listing supported feature checks - #94440
Conversation
|
Tagging subscribers to 'linkable-framework': @eerhardt, @vitek-karas, @LakshanF, @sbomer, @joperezr, @marek-safar Issue DetailsThe ILLink roslyn analyzer, ILLink, and ILCompiler all support different forms of branch removal and constant propagation. This document is meant to describe the supported/recommended patterns that should work with all of these tools. Related to the discussion in dotnet/linker#2715.
|
vitek-karas
left a comment
There was a problem hiding this comment.
I assume you checked we have tests for each of these cases and that they behave as described here :-)
Looks good, thanks for writing this down.
|
Added a testcase for the early return case which I missed earlier. Everything else is already covered. |
MichalStrehovsky
left a comment
There was a problem hiding this comment.
Thank you for writing it down.
Depending on who the target audience is, should we also say that yield/async/etc state machines also break all of this outside the analyzer?
The ILLink roslyn analyzer, ILLink, and ILCompiler all support different forms of branch removal and constant propagation. This document is meant to describe the supported/recommended patterns that should work with all of these tools. Related to the discussion in dotnet/linker#2715.