Remove dead code null check from DirectoryEntry (dotnet/corefx#41843)
authorRoman Marusyk <Marusyk@users.noreply.github.com>
Mon, 21 Oct 2019 15:10:02 +0000 (17:10 +0200)
committerStephen Toub <stoub@microsoft.com>
Mon, 21 Oct 2019 15:10:02 +0000 (11:10 -0400)
commit9129fd9768ab02d382fbbae3f2862515d63396cb
treefb96266f5c4f2bc01f5daef371a1bd9f0c0c3abd
parent488a7ab251ac82839160072329711d85bdfb2678
Remove dead code null check from DirectoryEntry (dotnet/corefx#41843)

* Fix possible NRE in DirectoryEntry from System.DirectoryServices

* Update DirectoryEntry.cs

Commit migrated from https://github.com/dotnet/corefx/commit/c037aa0c71b4cd3d506aab843997ca06ce390c3a
src/libraries/System.DirectoryServices/src/System/DirectoryServices/DirectoryEntry.cs