Change the type of Task.m_action to Delegate
authorPetr Onderka <gsvick@gmail.com>
Mon, 28 Nov 2016 18:18:00 +0000 (19:18 +0100)
committerPetr Onderka <gsvick@gmail.com>
Mon, 28 Nov 2016 18:21:17 +0000 (19:21 +0100)
commitc1f8ea144515ada612e8aaa87dfa5079f9d5ced0
tree1936b0cb625f30e185319569ca0c61b2e44cb79b
parent7efae98762a8d9ab48d73b584668f6e0a5b3e7f8
Change the type of Task.m_action to Delegate

This makes the code more strongly typed and avoids some casts.

Commit migrated from https://github.com/dotnet/coreclr/commit/9968cfef536000d04b2ade6994392de4e6de06da
src/coreclr/src/mscorlib/src/System/Threading/Tasks/Task.cs
src/coreclr/src/mscorlib/src/System/Threading/Tasks/TaskContinuation.cs
src/coreclr/src/mscorlib/src/System/Threading/Tasks/future.cs