Skip to content

Conversation

@CyrusNajmabadi
Copy link
Member

Fixes #69783

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner September 7, 2023 20:23
@ghost ghost added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Sep 7, 2023
out SyntaxToken semicolonToken)
{
return TryConvertToExpressionBodyForBaseProperty(declaration, conversionPreference, out arrowExpression, out semicolonToken);
return TryConvertToExpressionBodyForBaseProperty(declaration, conversionPreference, cancellationToken, out arrowExpression, out semicolonToken);
Copy link
Member Author

Choose a reason for hiding this comment

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

most changes are passing a CT along.

CancellationToken cancellationToken,
[NotNullWhen(true)] out ExpressionSyntax? expression,
out SyntaxToken semicolonToken)
{
Copy link
Member Author

Choose a reason for hiding this comment

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

meat of hte change is here.

@CyrusNajmabadi
Copy link
Member Author

@genlu @akhera99 ptal.

@CyrusNajmabadi CyrusNajmabadi merged commit 277da49 into dotnet:main Sep 8, 2023
@CyrusNajmabadi CyrusNajmabadi deleted the ppDirectives branch September 8, 2023 18:02
@ghost ghost added this to the Next milestone Sep 8, 2023
@Cosifne Cosifne modified the milestones: Next, 17.8 P3 Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] The IDE0022 analyzer mistakenly suggests/fixes code that includes preprocessor directives

3 participants