9 references to Self
System.Diagnostics.Process (9)
src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcFsStat.cs (6)
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}") :
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 (1)
54
pid == ProcPid.Self ? $"{RootPath}{
Self
}{StatusFileName}" :
System\Diagnostics\ProcessManager.Linux.cs (1)
278
if (Interop.Sys.ReadLink($"{Interop.procfs.RootPath}{Interop.procfs.
Self
}") is string target &&