dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
18.91k stars 4.01k forks source link

Visual indicator for deprecated code #48330

Open mikadumont opened 3 years ago

mikadumont commented 3 years ago

Direct customer ask copying here:

Strike through deprecated functions/methods similar to VSCode: image

(Twitter comment: https://twitter.com/jeffreypriebe/status/1311831025136279552)

Since the compiler/runtime folks did the work for warnings for deprecated APIs. We can have a visual indicator that lets users know when their code is deprecated.

sharwell commented 3 years ago

Duplicate of #26488

mikadumont commented 3 years ago

relates to #26488