Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Fix AsyncValueTaskMethodBuilder.Create for corert#13396

Merged
jkotas merged 1 commit into
dotnet:masterfrom
stephentoub:fix_avtmb_corert
Aug 16, 2017
Merged

Fix AsyncValueTaskMethodBuilder.Create for corert#13396
jkotas merged 1 commit into
dotnet:masterfrom
stephentoub:fix_avtmb_corert

Conversation

@stephentoub
Copy link
Copy Markdown
Member

I changed AsyncValueTaskMethodBuilder.Create in #13390 to avoid calling the nop AsyncTaskMethodBuilder.Create, but it turns out on corert that AsyncTaskMethodBuilder.Create actually does additional work if the debugger is attached, so we should still call it there.

Re: dotnet/corert#4329 (comment)
cc: @jkotas

I changed AsyncValueTaskMethodBuilder.Create to avoid calling the nop AsyncTaskMethodBuilder.Create, but it turns out on corert that AsyncTaskMethodBuilder.Create actually does additional work if the debugger is attached, so we should still call it there.
Copy link
Copy Markdown
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

Thanks!

@jkotas jkotas merged commit 3a8f280 into dotnet:master Aug 16, 2017
dotnet-bot pushed a commit to dotnet/corert that referenced this pull request Aug 16, 2017
I changed AsyncValueTaskMethodBuilder.Create to avoid calling the nop AsyncTaskMethodBuilder.Create, but it turns out on corert that AsyncTaskMethodBuilder.Create actually does additional work if the debugger is attached, so we should still call it there.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
stephentoub added a commit to dotnet/corert that referenced this pull request Aug 16, 2017
I changed AsyncValueTaskMethodBuilder.Create to avoid calling the nop AsyncTaskMethodBuilder.Create, but it turns out on corert that AsyncTaskMethodBuilder.Create actually does additional work if the debugger is attached, so we should still call it there.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
@stephentoub stephentoub deleted the fix_avtmb_corert branch August 22, 2017 11:53
@karelz karelz modified the milestone: 2.1.0 Aug 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants