System.Diagnostics.ProcessThread.GetStat C# (CSharp) Method

GetStat() private method

private GetStat ( ) : Interop.procfs.ParsedStat
return Interop.procfs.ParsedStat
        private Interop.procfs.ParsedStat GetStat()
        {
            Interop.procfs.ParsedStat stat;
            if (!Interop.procfs.TryReadStatFile(pid: _processId, tid: Id, result: out stat, reusableReader: new ReusableTextReader(Encoding.UTF8)))
            {
                throw new InvalidOperationException(SR.Format(SR.ThreadExited, Id));
            }
            return stat;
        }
    }