Skip to content

Conversation

@AlekseyTs
Copy link
Contributor

@AlekseyTs AlekseyTs commented Jun 6, 2022

Closes #60885.

@AlekseyTs
Copy link
Contributor Author

@dotnet/roslyn-compiler Please review.

3 similar comments
@AlekseyTs
Copy link
Contributor Author

@dotnet/roslyn-compiler Please review.

@AlekseyTs
Copy link
Contributor Author

@dotnet/roslyn-compiler Please review.

@AlekseyTs
Copy link
Contributor Author

@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.
Copy link
Member

@jcouv jcouv Jun 8, 2022

Choose a reason for hiding this comment

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

approprite

typo: appropriate (existed in old code) #Closed

@jcouv jcouv self-assigned this Jun 8, 2022
Copy link
Member

@jcouv jcouv left a 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)

@AlekseyTs
Copy link
Contributor Author

@dotnet/roslyn-compiler For the second review.

@AlekseyTs
Copy link
Contributor Author

@dotnet/roslyn-compiler For the second review.

@jcouv
Copy link
Member

jcouv commented Jun 9, 2022

Probably needs a corresponding spec update as well.
Also, do we need to document a breaking change?

@AlekseyTs
Copy link
Contributor Author

@dotnet/roslyn-compiler For the second review.

@AlekseyTs
Copy link
Contributor Author

@333fred, @RikkiGibson, @dotnet/roslyn-compiler For the second review.


private void ValidatePropertyModifiers_11_02(string source1, string source2,
DiagnosticDescription[] expectedIn9,
params DiagnosticDescription[] expectedAccrossAssemplyBoundaries)
Copy link
Member

@333fred 333fred Jun 13, 2022

Choose a reason for hiding this comment

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

expectedAccrossAssemplyBoundaries -> expectedAcrossAssemblyBoundaries

Copy link
Member

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.

Copy link
Member

@333fred 333fred left a 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.

@AlekseyTs AlekseyTs enabled auto-merge (squash) June 13, 2022 18:23
@AlekseyTs AlekseyTs disabled auto-merge June 13, 2022 19:31
@AlekseyTs AlekseyTs enabled auto-merge (squash) June 13, 2022 19:39
@AlekseyTs AlekseyTs merged commit dada467 into dotnet:main Jun 13, 2022
@ghost ghost added this to the Next milestone Jun 13, 2022
@RikkiGibson RikkiGibson modified the milestones: Next, 17.3 P3 Jun 28, 2022
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.

Inconsistency around accessibility checks for interface implementations

4 participants