Move restoring ExecutionContext out of generic methods (dotnet/coreclr#21909)
authorBen Adams <thundercat@illyriad.co.uk>
Thu, 10 Jan 2019 15:22:12 +0000 (16:22 +0100)
committerStephen Toub <stoub@microsoft.com>
Thu, 10 Jan 2019 15:22:12 +0000 (10:22 -0500)
commitf6352b8c64fcc054992c8d07d06cf121ede2c1aa
treed73c40aa3751494739b74ec94bbbb47cc845f421
parenteb3471fd054d827480f60fa8f68510546f59c30e
Move restoring ExecutionContext out of generic methods (dotnet/coreclr#21909)

* Move restoring ExecutionContext out of generic methods

* Move one back

Commit migrated from https://github.com/dotnet/coreclr/commit/15dc741ed6247257c0384dd4cba1499ffbe9a462
src/coreclr/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/AsyncMethodBuilder.cs
src/libraries/System.Private.CoreLib/src/System/Threading/ExecutionContext.cs