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
Synchronize with mono/Xamarin to annotate low level APIs which are problematic because of mono/Xamarin single-bundle publishing (mono itself can do a single-file bundle similar to CoreCLR's single-file, but Xamarin has other single-file like bundles for devices - Android, iOS).
Move the analyzer next to the trimming analyzer in the mono/linker repo
Support for the new attribute
Implicit suppression on annotated methods
Integrate the analyzers with SDK - probably conditioned on PublishSingleFile property - warnings on-by-default??? (they already are for user code, what about whole-program analysis done by linker)
Enable Roslyn analyzer on dotnet/runtime repo (similar to TrimAnalysis) - probably add baselines as well (not sure how to do baselines for Roslyn analyzer - .cs file with SuppressMessage attributes which will be removed by compilation?)
Go over reported warnings from within the framework in dotnet/runtime and “do something about them” (suppress, propagate to public API via attributes)
Ideally also look through other features which might be affected by single-file and annotate
?? Run the analysis on higher-level frameworks – ASP.NET, WinForms, WPF and file issues as appropriate
The existing single-file analyzer covers the top issues customers will likely hit with single-file, but it has some shortcomings.
Goals
mono/linkerrepodotnet/runtimerepo to identify problems in the frameworkWork
RequiresUnreferencedCode(code, ref assemblies)RequiresUnreferencedCode)mono/linkerrepoPublishSingleFileproperty - warnings on-by-default??? (they already are for user code, what about whole-program analysis done by linker).csfile withSuppressMessageattributes which will be removed by compilation?)