-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Filter out RequiredMemberAttribute
from metadata symbols
#63497
Conversation
@dotnet/roslyn-compiler for review. |
Although I'm not conceptually against this, does the compiler do this in other cases too? I wasn't sure if we ever came to a decision on this. |
Yes, in a number of places. The filtering code is the code I touched here, so you can see existing attributes that are removed by examining the diff. |
Do we need to do anything for VB? |
We will likely need to do something as part of #61435, but for now no. |
@dotnet/roslyn-compiler for reviews. |
src/Compilers/CSharp/Portable/Symbols/Metadata/PE/PEFieldSymbol.cs
Outdated
Show resolved
Hide resolved
src/Compilers/CSharp/Portable/Symbols/Metadata/PE/PENamedTypeSymbol.cs
Outdated
Show resolved
Hide resolved
src/Compilers/CSharp/Portable/Symbols/Metadata/PE/PEPropertySymbol.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (commit 2)
@dotnet/roslyn-compiler for a second review. |
@AlekseyTs added a test to verify order of access doesn't affect observable results. |
@dotnet/roslyn-compiler for a second review please. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (commit 7)
Fixes #61511.