Closed as not planned
Description
Enable Mono AOT compiler to generate a list of symbols which get P/Invoked, so they can get preserved during stripping phase, instead of relying on a custom linker steps in Xamarin or stripping non-global symbols in MonoAOTCompiler msbuild task.
#79721 could be extended to output the list of P/Invoked symbols and possibly strip more from the final binary.