Fix TplEventSource diagnostic error due to mismatched signature
authorStephen Toub <stoub@microsoft.com>
Fri, 13 Jan 2017 16:07:22 +0000 (11:07 -0500)
committerStephen Toub <stoub@microsoft.com>
Fri, 13 Jan 2017 16:07:22 +0000 (11:07 -0500)
commit3e4c4476292e72588129b8010d6c3dc5acef8f50
tree07b9c9f5c05ef8a3a5d9848f016d5c453b28d96d
parentb252dafe22a7f75baa87f64e44ad281697314ca6
Fix TplEventSource diagnostic error due to mismatched signature

The TplEventSource TaskWaitBegin event is defined to take an int appDomain parameter, but it's not tracing that out, resulting in EventSource generating diagnostic events about 6 parameters being expected but only getting 5 arguments.

I've fixed it by removing the appDomain parameter, since it's not relevant to coreclr.

Commit migrated from https://github.com/dotnet/coreclr/commit/afc76a84848bcf81edd6556dec407a61c07e3c6d
src/coreclr/src/mscorlib/src/System/Runtime/CompilerServices/TaskAwaiter.cs
src/coreclr/src/mscorlib/src/System/Threading/Tasks/TPLETWProvider.cs
src/coreclr/src/mscorlib/src/System/Threading/Tasks/Task.cs