diff options
author | Stephen Toub <stoub@microsoft.com> | 2018-04-06 16:48:35 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2018-04-07 18:19:35 +0300 |
commit | 7ce5d362dd49aeacf40071b1623181b2a477583a (patch) | |
tree | 199c220ace6cf6c18642fdc856e9da6b95e17e1d /src/BuildIntegration/Microsoft.NETCore.Native.Windows.props | |
parent | a1d1dc873fb52db2cff913572f714fa6524cc5a9 (diff) |
Add YieldAwaiter support to the async method builder delegate optimization (#17441)
We added an optimization to async methods that lets the builder avoid allocating the Action delegate when it recognizes the awaiter being used. Previously this was enabled for all of the publicly exposed awaiters in corelib, with the exception of YieldAwaiter (what's used with Task.YIeld). It was enabled by having the awaiter implement an internal interface. This commit just generalizes that interface name and then implements it on YIeldAwaiter to complete the picture.
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Diffstat (limited to 'src/BuildIntegration/Microsoft.NETCore.Native.Windows.props')
0 files changed, 0 insertions, 0 deletions