The existing single-file analyzer covers the top issues customers will likely hit with single-file, but it has some shortcomings.
mono/linker repodotnet/runtime repo to identify problems in the frameworkRequiresUnreferencedCode (code, ref assemblies)RequiresUnreferencedCode)mono/linker repoPublishSingleFile property - warnings on-by-default??? (they already are for user code, what about whole-program analysis done by linker).cs file with SuppressMessage attributes which will be removed by compilation?)Tagging subscribers to this area: @agocke, @vitek-karas
See info in area-owners.md if you want to be subscribed.
Issue meta data
Issue content:
The existing single-file analyzer covers the top issues customers will likely hit with single-file, but it has some shortcomings.
Goals
mono/linker repodotnet/runtime repo to identify problems in the framework
Issue author:
agocke
Assignees:
-
Milestone:
-
As part of the "Users can annotated their own APIs" we will introduce an attribute similar to RequiresUnreferencedCode and it will need almost identical treatment by the linker.
https://github.com/mono/linker/issues/1607 will probably force us to move analysis around RequiresUnreferencedCode into a different place in the linker - so we might as well make it an extensibility point (of sorts) and then implement both there.
Should something like this be parented under a single file user story?
Probably a question for @samsp-msft
I think we're all just figuring out what is useful to us, hence the question. I'm going to be bold and make it a user story under the single file epic. I think in general 'significant work items' make sense to have in the tree. It's certainly helpful to me to see all the major work. Feel free to change.
Making story so it appears in the tree -- but now I see you have removed it @marek-safar ?
Most helpful comment
I think we're all just figuring out what is useful to us, hence the question. I'm going to be bold and make it a user story under the single file epic. I think in general 'significant work items' make sense to have in the tree. It's certainly helpful to me to see all the major work. Feel free to change.