Skip to content

Customizable Obsolete diagnostics#42518

Merged
RikkiGibson merged 21 commits intodotnet:masterfrom
RikkiGibson:obsoleteattribute
Mar 30, 2020
Merged

Customizable Obsolete diagnostics#42518
RikkiGibson merged 21 commits intodotnet:masterfrom
RikkiGibson:obsoleteattribute

Conversation

@RikkiGibson
Copy link
Copy Markdown
Member

Closes #42119

This is still a WIP, but I would appreciate some review on the general approach in use. Several things still need testing, including diagnostics on usage of symbols from metadata.

@RikkiGibson RikkiGibson requested a review from a team as a code owner March 17, 2020 23:46
@RikkiGibson RikkiGibson added the PR For Personal Review Only The PR doesn’t require anyone other than the developer to review it. label Mar 18, 2020
@RikkiGibson

This comment has been minimized.

@RikkiGibson RikkiGibson removed the PR For Personal Review Only The PR doesn’t require anyone other than the developer to review it. label Mar 18, 2020
@jcouv jcouv added PR For Personal Review Only The PR doesn’t require anyone other than the developer to review it. and removed PR For Personal Review Only The PR doesn’t require anyone other than the developer to review it. labels Mar 18, 2020
Comment thread src/Compilers/Core/Portable/MetadataReader/PEModule.cs Outdated
Comment thread src/Compilers/Core/Portable/Symbols/Attributes/CommonAttributeData.cs Outdated
Comment thread src/Compilers/Core/Portable/Symbols/Attributes/CommonAttributeData.cs Outdated
Comment thread src/Compilers/Core/Portable/MetadataReader/PEModule.cs Outdated
Comment thread src/Compilers/Core/Portable/MetadataReader/PEModule.cs Outdated
Comment thread src/Compilers/Core/Portable/MetadataReader/PEModule.cs Outdated
Comment thread src/Compilers/Core/Portable/MetadataReader/PEModule.cs Outdated
Comment thread src/Compilers/Core/Portable/MetadataReader/PEModule.cs Outdated
Comment thread src/Compilers/CSharp/Portable/Errors/CustomObsoleteDiagnosticInfo.cs Outdated
Comment thread src/Compilers/CSharp/Portable/Errors/CustomObsoleteDiagnosticInfo.cs Outdated
Comment thread src/Compilers/CSharp/Portable/Errors/CustomObsoleteDiagnosticInfo.cs Outdated
Comment thread src/Compilers/CSharp/Portable/Errors/CustomObsoleteDiagnosticInfo.cs Outdated
Comment thread src/Compilers/CSharp/Portable/Errors/CustomObsoleteDiagnosticInfo.cs Outdated
Comment thread src/Compilers/CSharp/Portable/Errors/CustomObsoleteDiagnosticInfo.cs Outdated
Comment thread src/Compilers/CSharp/Portable/Errors/CustomObsoleteDiagnosticInfo.cs Outdated
Comment thread src/Compilers/CSharp/Portable/Symbols/ObsoleteAttributeHelpers.cs Outdated
@AlekseyTs
Copy link
Copy Markdown
Contributor

AlekseyTs commented Mar 19, 2020

I would expect some changes on VB side as well. #Closed

@AlekseyTs
Copy link
Copy Markdown
Contributor

AlekseyTs commented Mar 19, 2020

Done with review pass (iteration 4) #Closed

@RikkiGibson
Copy link
Copy Markdown
Member Author

@terrajobst Yes

Comment thread src/Compilers/CSharp/Portable/Emitter/Model/AttributeDataAdapter.cs Outdated
@AlekseyTs
Copy link
Copy Markdown
Contributor

AlekseyTs commented Mar 27, 2020

Done with review pass (iteration 15) #Closed

@AlekseyTs
Copy link
Copy Markdown
Contributor

AlekseyTs commented Mar 27, 2020

Done with review pass (iteration 18) #Closed

Comment thread src/Compilers/Core/Portable/Diagnostic/CustomObsoleteDiagnosticInfo.cs Outdated
Comment thread src/Compilers/Core/Portable/MetadataReader/MetadataDecoder.cs Outdated
Comment thread src/Compilers/Core/Portable/MetadataReader/MetadataDecoder.cs
Comment thread src/Compilers/Core/Portable/MetadataReader/PEModule.cs
Comment thread src/Compilers/Core/Portable/Symbols/Attributes/CommonAttributeData.cs Outdated
@RikkiGibson RikkiGibson requested a review from a team March 30, 2020 19:50
@RikkiGibson
Copy link
Copy Markdown
Member Author

@dotnet/roslyn-compiler Please review

Comment thread src/Compilers/CSharp/Test/Emit/Attributes/AttributeTests_WellKnownAttributes.cs Outdated
Copy link
Copy Markdown
Contributor

@AlekseyTs AlekseyTs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (iteration 20)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Honor new properties on ObsoleteAttribute

6 participants