Open tmat opened 2 years ago
Actually, let's just remove this analyzer and code fixes and replace them with a source generator with output files checked in.
Issue tracking redesign: https://github.com/dotnet/roslyn-analyzers/issues/5787
In the design meeting there was general agreement that we need to rethink this whole design, so @tmat filed #5787 to do so. In the meantime, this bug is tracking the original proposal, which is if you're updating a shipped API to also add the REMOVED tag to the unshipped file.
This will be nice to have so we can ensure the tooling doesn't go edit shipped files because when we remove overrides because we made code better, we have to go edit 10 files for all our TFMs and variations.
When a shipped API signature is updated the Public API Analyzer should insert
*REMOVED*
marker toPublicAPI.Unshipped.txt
file with the previous signature in addition to the new signature.