Skip to content
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

'Use local function' suppress if used in expression tree. #24391

Conversation

MaStr11
Copy link
Contributor

@MaStr11 MaStr11 commented Jan 23, 2018

Test case for #24344. Just an additional test case that verifies that this was already fixed in #23136.

Closes #24344

@MaStr11 MaStr11 requested a review from a team as a code owner January 23, 2018 09:52
@sharwell sharwell changed the base branch from master to dev15.6.x January 23, 2018 14:12
@sharwell sharwell force-pushed the UseLocalFunction_SuppressIfConvertedToExpression branch from 6f68b00 to dd83cd1 Compare January 23, 2018 14:15
@sharwell
Copy link
Member

Rebased and retargeted this test-only change.

@sharwell sharwell self-assigned this Jan 23, 2018
@sharwell sharwell added this to the 15.6 milestone Jan 23, 2018
@@ -1508,6 +1508,27 @@ public void Caller()
}");
}

[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsUseLocalFunction)]
[WorkItem(22672, "https://github.com/dotnet/roslyn/issues/24344")]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sharwell The work item number is wrong here (22672 instead of 24344). I think I can't correct it because you changed the target branch and if I push it will bring other changes with it. Can you correct this or should we leave it?

Copy link
Member

Choose a reason for hiding this comment

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

Sure I can fix it thanks :)

@sharwell sharwell force-pushed the UseLocalFunction_SuppressIfConvertedToExpression branch from dd83cd1 to cbe7a5f Compare January 23, 2018 19:53
@sharwell
Copy link
Member

Fixed and just waiting for tests to pass now

@sharwell sharwell merged commit c179663 into dotnet:dev15.6.x Jan 23, 2018
@MaStr11 MaStr11 deleted the UseLocalFunction_SuppressIfConvertedToExpression branch March 2, 2018 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants