-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Annotate more compiler internal types #39053
Conversation
src/Compilers/Core/Portable/Binding/AbstractLookupSymbolsInfo.cs
Outdated
Show resolved
Hide resolved
src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/Symbols/PlaceholderMethodSymbol.cs
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.
Some general comments, but mostly looks good.
I would like to see a link to an issue in the source for the #nullable disable
sections, though.
src/Compilers/Core/Portable/Binding/AbstractLookupSymbolsInfo.cs
Outdated
Show resolved
Hide resolved
src/Compilers/Core/Portable/CodeGen/PrivateImplementationDetails.cs
Outdated
Show resolved
Hide resolved
src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/Symbols/PlaceholderMethodSymbol.cs
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 5)
These are internal types. There may be some cases where an annotation was missed, but I used a working strategy of "when it doubt, prefer a non-nullable type if it builds successfully". This is a stepping stone for a follow-up pull request where I start to annotate
ISymbol
and derived types.