-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Report an error for an implicit implementation of an inaccessible interface members #61717
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
Conversation
…erface members Closes dotnet#60885.
|
@dotnet/roslyn-compiler Please review. |
3 similar comments
|
@dotnet/roslyn-compiler Please review. |
|
@dotnet/roslyn-compiler Please review. |
|
@dotnet/roslyn-compiler Please review. |
| bool suppressRegularValidation = false; | ||
|
|
||
| if (!canBeImplementedImplicitlyInCSharp9 && interfaceMember.Kind == SymbolKind.Method && | ||
| (object)implementingBaseOpt == null) // Otherwise any approprite errors are going to be reported for the base. |
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.
jcouv
left a comment
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 Thanks (iteration 1)
|
@dotnet/roslyn-compiler For the second review. |
|
@dotnet/roslyn-compiler For the second review. |
|
Probably needs a corresponding spec update as well. |
|
@dotnet/roslyn-compiler For the second review. |
|
@333fred, @RikkiGibson, @dotnet/roslyn-compiler For the second review. |
|
|
||
| private void ValidatePropertyModifiers_11_02(string source1, string source2, | ||
| DiagnosticDescription[] expectedIn9, | ||
| params DiagnosticDescription[] expectedAccrossAssemplyBoundaries) |
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.
expectedAccrossAssemplyBoundaries -> expectedAcrossAssemblyBoundaries
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.
Worth doing a find/replace across the entire file, this was copy/pasted a few times.
333fred
left a comment
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), minor spelling mistake.
Closes #60885.