Fixing some payload serialization issue on new EventCounters (dotnet/coreclr#23295)
authorSung Yoon Whang <suwhang@microsoft.com>
Sun, 17 Mar 2019 02:06:11 +0000 (19:06 -0700)
committerGitHub <noreply@github.com>
Sun, 17 Mar 2019 02:06:11 +0000 (19:06 -0700)
commitbcdd62e1c0acbaa80a0729e7c2faced295a365db
tree06e56063af520f64a84d3b5e56f6f0e519c79d3f
parentc88662081ef0f892c9a71b2fdd967c51e92beee3
Fixing some payload serialization issue on new EventCounters (dotnet/coreclr#23295)

* Fixing some payload serialization issue on new EventCounters

* Fix build error

Commit migrated from https://github.com/dotnet/coreclr/commit/b31dacad8ec2b79f24e1b4ab4b0a7c0a20159601
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/CounterPayload.cs
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/IncrementingEventCounter.cs
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/IncrementingPollingCounter.cs
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/PollingCounter.cs