Move native search paths forward (dotnet/coreclr#8531)
authorJeremy Kuhne <jeremy.kuhne@microsoft.com>
Thu, 8 Dec 2016 21:10:38 +0000 (13:10 -0800)
committerGitHub <noreply@github.com>
Thu, 8 Dec 2016 21:10:38 +0000 (13:10 -0800)
commit0894efbedee1f9a19be50ac3caa42a99150d6677
tree300597b62e1daed351beb640bb15f2932e9fdc5c
parent5565f84bcfc2ff31606c5890f68678a38a63d435
Move native search paths forward (dotnet/coreclr#8531)

Set native search paths in AppDomain.Setup before doing the rest
of the setup steps to get ahead of potential P/Invoke calls.

Commit migrated from https://github.com/dotnet/coreclr/commit/96740b835f1faa1e2d6abfeec27f719abf20a234
src/coreclr/src/mscorlib/src/System/AppDomain.cs