12 references to Self
System.Diagnostics.Process (12)
src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcFsStat.cs (7)
76
pid == ProcPid.
Self
? $"{RootPath}{Self}{ExeFileName}" :
80
pid == ProcPid.
Self
? $"{RootPath}{Self}{CmdLineFileName}" :
84
pid == ProcPid.
Self
? $"{RootPath}{Self}{StatFileName}" :
88
pid == ProcPid.
Self
? $"{RootPath}{Self}{TaskDirectoryName}" :
92
pid == ProcPid.
Self
? $"{RootPath}{Self}{FileDescriptorDirectoryName}" :
96
pid == ProcPid.
Self
? string.Create(null, stackalloc char[256], $"{RootPath}{Self}{TaskDirectoryName}{(uint)tid}{StatFileName}") :
102
Debug.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)
19
pid == ProcPid.
Self
? $"{RootPath}{Self}{MapsFileName}" :
src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcFsStat.TryReadStatusFile.cs (2)
54
pid == ProcPid.
Self
? $"{RootPath}{Self}{StatusFileName}" :
61
Debug.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)
261
return procPid == Interop.procfs.ProcPid.
Self
? Environment.ProcessPath :
System\Diagnostics\ProcessManager.Linux.cs (1)
250
procPid = Interop.procfs.ProcPid.
Self
;