Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for detecting preview-ness in dependencies #5395

Merged
merged 3 commits into from
Aug 23, 2021

Conversation

pgovind
Copy link
Contributor

@pgovind pgovind commented Aug 20, 2021

The containing symbol information for dependencies didn't work the way I expected. If a symbol is not contained within a type, symbol.ContainingSymbol returns null. However the symbol.ContainingAssembly and symbol.ContainingModule are populated correctly, so we can use those instead.

Contributes to https://github.com/dotnet/designs/blob/main/accepted/2021/preview-features/preview-features.md

@codecov
Copy link

codecov bot commented Aug 20, 2021

Codecov Report

Merging #5395 (ff7437d) into release/6.0.1xx (d797f2a) will increase coverage by 0.00%.
The diff coverage is 98.89%.

@@                Coverage Diff                @@
##           release/6.0.1xx    #5395    +/-   ##
=================================================
  Coverage            95.56%   95.56%            
=================================================
  Files                 1256     1257     +1     
  Lines               288892   289065   +173     
  Branches             17363    17368     +5     
=================================================
+ Hits                276069   276249   +180     
+ Misses               10494    10489     -5     
+ Partials              2329     2327     -2     

Copy link
Contributor

@buyaa-n buyaa-n left a comment

Choose a reason for hiding this comment

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

LGTM

@pgovind pgovind merged commit 3f186ae into dotnet:release/6.0.1xx Aug 23, 2021
This was referenced Aug 30, 2021
This was referenced Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants