Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2018-04-06 16:48:35 +0300
committerJan Kotas <jkotas@microsoft.com>2018-04-07 18:19:35 +0300
commit7ce5d362dd49aeacf40071b1623181b2a477583a (patch)
tree199c220ace6cf6c18642fdc856e9da6b95e17e1d /src/BuildIntegration
parenta1d1dc873fb52db2cff913572f714fa6524cc5a9 (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')
0 files changed, 0 insertions, 0 deletions