18 references to RootPath
System.Diagnostics.Process (18)
src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcFsStat.cs (12)
76
pid == ProcPid.Self ? $"{
RootPath
}{Self}{ExeFileName}" :
77
string.Create(null, stackalloc char[256], $"{
RootPath
}{(uint)pid}{ExeFileName}");
80
pid == ProcPid.Self ? $"{
RootPath
}{Self}{CmdLineFileName}" :
81
string.Create(null, stackalloc char[256], $"{
RootPath
}{(uint)pid}{CmdLineFileName}");
84
pid == ProcPid.Self ? $"{
RootPath
}{Self}{StatFileName}" :
85
string.Create(null, stackalloc char[256], $"{
RootPath
}{(uint)pid}{StatFileName}");
88
pid == ProcPid.Self ? $"{
RootPath
}{Self}{TaskDirectoryName}" :
89
string.Create(null, stackalloc char[256], $"{
RootPath
}{(uint)pid}{TaskDirectoryName}");
92
pid == ProcPid.Self ? $"{
RootPath
}{Self}{FileDescriptorDirectoryName}" :
93
string.Create(null, stackalloc char[256], $"{
RootPath
}{(uint)pid}{FileDescriptorDirectoryName}");
96
pid == ProcPid.Self ? string.Create(null, stackalloc char[256], $"{
RootPath
}{Self}{TaskDirectoryName}{(uint)tid}{StatFileName}") :
97
string.Create(null, stackalloc char[256], $"{
RootPath
}{(uint)pid}{TaskDirectoryName}{(uint)tid}{StatFileName}");
src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcFsStat.ParseMapModules.cs (2)
19
pid == ProcPid.Self ? $"{
RootPath
}{Self}{MapsFileName}" :
20
string.Create(null, stackalloc char[256], $"{
RootPath
}{(uint)pid}{MapsFileName}");
src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcFsStat.TryReadStatusFile.cs (2)
54
pid == ProcPid.Self ? $"{
RootPath
}{Self}{StatusFileName}" :
55
string.Create(null, stackalloc char[256], $"{
RootPath
}{(uint)pid}{StatusFileName}");
System\Diagnostics\ProcessManager.Linux.cs (2)
160
foreach (string procDir in Directory.EnumerateDirectories(Interop.procfs.
RootPath
))
278
if (Interop.Sys.ReadLink($"{Interop.procfs.
RootPath
}{Interop.procfs.Self}") is string target &&