Skip to content

Implement SyntaxFacts.IsInTypeOnlyContext for type of recursive pattern.#45699

Merged
gafter merged 2 commits intodotnet:masterfrom
gafter:master-45661
Jul 9, 2020
Merged

Implement SyntaxFacts.IsInTypeOnlyContext for type of recursive pattern.#45699
gafter merged 2 commits intodotnet:masterfrom
gafter:master-45661

Conversation

@gafter
Copy link
Member

@gafter gafter commented Jul 6, 2020

Fixes #45661

@gafter gafter added this to the 16.8 milestone Jul 6, 2020
@gafter gafter requested review from a team as code owners July 6, 2020 19:18
@gafter gafter self-assigned this Jul 6, 2020
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).
Consider adding a compiler-level test (but I know that we already lack those for IsInTypeOnlyContext API).

@jcouv jcouv self-assigned this Jul 6, 2020
@gafter
Copy link
Member Author

gafter commented Jul 7, 2020

@CyrusNajmabadi I have added a test from the contributor in iteration 2. Could you please review it?

@gafter
Copy link
Member Author

gafter commented Jul 7, 2020

@dotnet/roslyn-compiler May I please have a second review?

Copy link
Contributor

@kevinsun-dev kevinsun-dev left a comment

Choose a reason for hiding this comment

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

LGTM (iteration 2)

@CyrusNajmabadi
Copy link
Contributor

still lgtm

@gafter gafter added 4 - In Review A fix for the issue is submitted for review. and removed 4 - In Review A fix for the issue is submitted for review. labels Jul 8, 2020
@gafter gafter closed this Jul 8, 2020
@gafter gafter reopened this Jul 8, 2020
@gafter gafter merged commit f7cf79a into dotnet:master Jul 9, 2020
@ghost ghost modified the milestones: 16.8, Next Jul 9, 2020
@JoeRobich JoeRobich modified the milestones: Next, 16.8.P1 Jul 20, 2020
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.

ExtractMethodCodeRefactoringProvider causes invalid cast from MemberAccessExpressionSyntax to TypeSyntax

6 participants