Ensure ProcessModule for main executable is first in modules list (dotnet/corefx...
authorStephen Toub <stoub@microsoft.com>
Mon, 18 Sep 2017 13:37:21 +0000 (06:37 -0700)
committerJan Vorlicek <janvorli@microsoft.com>
Mon, 18 Sep 2017 13:37:21 +0000 (15:37 +0200)
commit1c46fbea06ed7a2c69edb76ba67986dfe12cbe44
tree2c93839d7a517ed9034d38ae45c45427397093dc
parenta10c42c864edbc60602be8afe917287d64401995
Ensure ProcessModule for main executable is first in modules list (dotnet/corefx#24106)

Commit migrated from https://github.com/dotnet/corefx/commit/382c6835d56d72a3a63aaf8cd42784dd3ddb2dc3
src/libraries/Common/src/Interop/Linux/procfs/Interop.ProcFsStat.cs
src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.Linux.cs
src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessManager.Linux.cs
src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessModuleCollection.cs