12 references to Self
System.Diagnostics.Process (12)
src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcFsStat.cs (7)
76pid == ProcPid.Self ? $"{RootPath}{Self}{ExeFileName}" : 80pid == ProcPid.Self ? $"{RootPath}{Self}{CmdLineFileName}" : 84pid == ProcPid.Self ? $"{RootPath}{Self}{StatFileName}" : 88pid == ProcPid.Self ? $"{RootPath}{Self}{TaskDirectoryName}" : 92pid == ProcPid.Self ? $"{RootPath}{Self}{FileDescriptorDirectoryName}" : 96pid == ProcPid.Self ? string.Create(null, stackalloc char[256], $"{RootPath}{Self}{TaskDirectoryName}{(uint)tid}{StatFileName}") : 102Debug.Assert(!b || pid == ProcPid.Self|| (ProcPid)result.pid == pid, "Expected process ID from stat file to match supplied pid");
src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcFsStat.ParseMapModules.cs (1)
19pid == ProcPid.Self ? $"{RootPath}{Self}{MapsFileName}" :
src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcFsStat.TryReadStatusFile.cs (2)
54pid == ProcPid.Self ? $"{RootPath}{Self}{StatusFileName}" : 61Debug.Assert(!b || (ProcPid)result.Pid == pid || pid == ProcPid.Self, "Expected process ID from status file to match supplied pid");
System\Diagnostics\Process.Linux.cs (1)
261return procPid == Interop.procfs.ProcPid.Self ? Environment.ProcessPath :
System\Diagnostics\ProcessManager.Linux.cs (1)
250procPid = Interop.procfs.ProcPid.Self;