dotnet / roslyn-analyzers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RS0016 should include expected entry in the warning text.

BertanAygun opened this issue · comments

Analyzer

Diagnostic ID: RS0016 - Symbol is not part of declared API.

Describe the improvement

RS0016 warnings are easy to fix with quick fix in IDE but it would also be nice to have the expected PublicApi declaration in the warning itself so one can copy paste directly if for some reason quick fix is not working.

Or another option could be to have a build/analyzer property that outputs the updated PublicApi.Unshipped.txt in intermeidates directory so one can copy/paste.