Checking if the eventlog registry key is actually an eventlog (dotnet/corefx#38430)
authorAnirudh Agnihotry <anirudhagnihotry098@gmail.com>
Wed, 26 Jun 2019 01:48:20 +0000 (18:48 -0700)
committermsftbot[bot] <48340428+msftbot[bot]@users.noreply.github.com>
Wed, 26 Jun 2019 01:48:20 +0000 (01:48 +0000)
commit6002667f6e795e64e88a321c7bd81ef912035e09
tree6f5401a7b84fee8e938d98b15dbcff8c7702e728
parentf6a044dd53f61dc059cd5631413614290afae833
 Checking if the eventlog registry key is actually an eventlog (dotnet/corefx#38430)

*  checking if the eventlog registry key is actually an eventlog

* optimising the code a  little bit

* modified test

* skipping test on .net frameworj

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