Skip to content

Remove warning for yield return in lock #74024

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

Merged
merged 3 commits into from
Jun 24, 2024

Conversation

jjonescz
Copy link
Member

@jjonescz jjonescz commented Jun 17, 2024

See #72443 (comment).
Reverts #72755 (except tests).
Speclet update: dotnet/csharplang#8220
Test plan: #72662

@ghost ghost added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Jun 17, 2024
@jjonescz jjonescz force-pushed the 72443-YieldInLock branch from c00eeba to 57c698c Compare June 17, 2024 11:11
@jjonescz jjonescz requested review from AlekseyTs and cston June 17, 2024 13:13
@jjonescz jjonescz marked this pull request as ready for review June 17, 2024 13:13
@jjonescz jjonescz requested a review from a team as a code owner June 17, 2024 13:13
@AlekseyTs
Copy link
Contributor

Done with review pass (commit 1)

Copy link
Contributor

@AlekseyTs AlekseyTs 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)

@jjonescz
Copy link
Member Author

@cston @dotnet/roslyn-compiler for a second review, thanks

@jjonescz jjonescz enabled auto-merge (squash) June 24, 2024 08:48
@jjonescz jjonescz merged commit 7fa3cde into dotnet:main Jun 24, 2024
24 checks passed
@jjonescz jjonescz deleted the 72443-YieldInLock branch June 24, 2024 10:02
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Jun 24, 2024
@jjonescz jjonescz modified the milestones: Next, 17.11 P3 Jun 24, 2024
333fred added a commit to 333fred/roslyn that referenced this pull request Jun 24, 2024
* upstream/main:
  [main] Update dependencies from dotnet/arcade (dotnet#74099)
  Remove warning for `yield return` in `lock` (dotnet#74024)
  [release/dev17.10] Update dependencies from dotnet/arcade (dotnet#74113)
  On the fly docs - add telemetry regarding documentation comments (dotnet#74088)
  Query for the COM service provider instead of direct cast
  Add type hints for collection expressions (dotnet#74051)
  Align implementation with latest LDM decisions around invocations in presence of dynamic arguments. (dotnet#74097)
  Avoid allocations in AbstractSyntaxIndex<>.GetIndexAsync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers Feature - Ref/Unsafe in Iterators/Async 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.

3 participants