Only removing logs which throw invalid parameters exception from eventLogs (dotnet...
authorAnirudh Agnihotry <anirudhagnihotry098@gmail.com>
Thu, 25 Jul 2019 00:46:40 +0000 (17:46 -0700)
committerGitHub <noreply@github.com>
Thu, 25 Jul 2019 00:46:40 +0000 (17:46 -0700)
commit5590bc521fc7182d34a24225aa10867b33caeeb2
tree7df6fbb95841b226b1f25223217bbfb379338f74
parentaae1eefb6e523234c2ea03c89cdf3c195c51f9ab
Only removing logs which throw invalid parameters exception from eventLogs (dotnet/corefx#39705)

* only removing logs which throw invalid parametert exception from eventlogs

* using ordinalIgnoreCase, const name and improving comment

Commit migrated from https://github.com/dotnet/corefx/commit/70aeda2b5b7110ead0ea69dc83f3f47e5728db06
src/libraries/System.Diagnostics.EventLog/src/System/Diagnostics/EventLog.cs
src/libraries/System.Diagnostics.EventLog/tests/EventLogTests/EventLogTests.cs