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