Fix increment calculation in IncrementingPollingCounter (#23502)
authorSung Yoon Whang <suwhang@microsoft.com>
Fri, 29 Mar 2019 00:25:00 +0000 (17:25 -0700)
committerGitHub <noreply@github.com>
Fri, 29 Mar 2019 00:25:00 +0000 (17:25 -0700)
commit9517ad0821e339418b3d3d31145dc0bbb1afc38d
treeeb58de3451551fe41e78e7a1beac7b783d9cf4e7
parent72a3f75791be7d78c825ce1f4f02a54c8a7fa344
Fix increment calculation in IncrementingPollingCounter (#23502)

* Add test for IncrementingPollingCounter

* Fix a bug in Increment calculation in IncrementingPollingCounter

* Remove setting DisplayName property since that's a private property for now

* fix comment

* Remove unused variables
src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/IncrementingPollingCounter.cs
tests/src/tracing/eventcounter/incrementingpollingcounter.cs [new file with mode: 0644]
tests/src/tracing/eventcounter/incrementingpollingcounter.csproj [new file with mode: 0644]