Skip to content

Use simpler context object for setting/resetting parser state.#81042

Merged
CyrusNajmabadi merged 22 commits intodotnet:mainfrom
CyrusNajmabadi:contexts
Nov 11, 2025
Merged

Use simpler context object for setting/resetting parser state.#81042
CyrusNajmabadi merged 22 commits intodotnet:mainfrom
CyrusNajmabadi:contexts

Conversation

@CyrusNajmabadi
Copy link
Contributor

No description provided.

@@ -2552,51 +2552,41 @@ private MemberDeclarationSyntax ParseMemberDeclarationOrStatementCore(SyntaxKind
//
Copy link
Contributor Author

Choose a reason for hiding this comment

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

View with whitespace off.

}

[Fact]
public void NestedAnonymousMethodAwait()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

noticed this missing test. added just to ensure the expected flowing of 'async' into a nested non-async delegate.

@CyrusNajmabadi CyrusNajmabadi marked this pull request as ready for review November 6, 2025 19:28
@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner November 6, 2025 19:28
@CyrusNajmabadi
Copy link
Contributor Author

@jjonescz ptal :)

@CyrusNajmabadi CyrusNajmabadi enabled auto-merge (squash) November 11, 2025 13:51
@CyrusNajmabadi CyrusNajmabadi merged commit 3b1cb14 into dotnet:main Nov 11, 2025
24 of 25 checks passed
@CyrusNajmabadi CyrusNajmabadi deleted the contexts branch November 11, 2025 15:22
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Nov 11, 2025
@davidwengier davidwengier modified the milestones: Next, 18.3 Jan 6, 2026
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.

4 participants