Move the new ConfigureAwait/WithCancellation extension methods to a new type (dotnet...
authorStephen Toub <stoub@microsoft.com>
Wed, 1 May 2019 20:54:40 +0000 (16:54 -0400)
committerGitHub <noreply@github.com>
Wed, 1 May 2019 20:54:40 +0000 (16:54 -0400)
commit00ef7d2d196dcb043a9a79a8db2283671a714159
treed5555fbd50595dfa274332f5852248788e3a9ceb
parent7d128c05cd6e66f14e3e0cf15184234ad50f6231
Move the new ConfigureAwait/WithCancellation extension methods to a new type (dotnet/coreclr#24331)

We decided after all to put these on a different type, TaskAsyncEnumerableExtensions.  This commit adds the new type.  We can delete the methods in the old location once corefx consumes an updated build and switches over to using the new ones.

Commit migrated from https://github.com/dotnet/coreclr/commit/75fd45860789ad54223e223ed04a24b2f2d2a8d5
src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems
src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/TaskAsyncEnumerableExtensions.cs [new file with mode: 0644]
src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/TaskExtensions.cs