25 references to Path
System.Private.CoreLib (25)
src\runtime\src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs (3)
65throw Interop.GetExceptionForIoErrno(Interop.Sys.GetLastErrorInfo(), Path); 553throw Interop.GetExceptionForIoErrno(error, Path); 575FileStreamHelpers.CheckFileCall(result, Path);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStatus.Unix.cs (10)
191=> GetAttributes(handle, handle.Path, Path.GetFileName(handle.Path), continueOnError); 222=> SetAttributes(handle, handle.Path, attributes, asDirectory); 295=> GetCreationTime(handle, handle.Path, continueOnError); 319=> GetLastAccessTime(handle, handle.Path, continueOnError); 335=> SetLastAccessTime(handle, handle.Path, time, asDirectory); 344=> GetLastWriteTime(handle, handle.Path, continueOnError); 360=> SetLastWriteTime(handle, handle.Path, time, asDirectory); 452=> GetUnixFileMode(handle, handle.Path, continueOnError); 468=> SetUnixFileMode(handle, handle.Path, mode);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\RandomAccess.Unix.cs (5)
23FileStreamHelpers.CheckFileCall(Interop.Sys.FTruncate(handle, length), handle.Path); 53FileStreamHelpers.CheckFileCall(result, handle.Path); 101return FileStreamHelpers.CheckFileCall(result, handle.Path); 143FileStreamHelpers.CheckFileCall(bytesWritten, handle.Path); 224FileStreamHelpers.CheckFileCall(bytesWritten, handle.Path);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\FileStreamHelpers.Unix.cs (5)
34CheckFileCall(Interop.Sys.LSeek(handle, offset, (Interop.Sys.SeekWhence)(int)origin), handle.Path); // SeekOrigin values are the same as Interop.libc.SeekWhence values 37throw Interop.GetExceptionForIoErrno(new Interop.ErrorInfo(Interop.Error.EINVAL), handle.Path); 54throw Interop.GetExceptionForIoErrno(errorInfo, handle.Path); 66CheckFileCall(Interop.Sys.LockFileRegion(handle, position, length, canWrite ? Interop.Sys.LockType.F_WRLCK : Interop.Sys.LockType.F_RDLCK), handle.Path); 76CheckFileCall(Interop.Sys.LockFileRegion(handle, position, length, Interop.Sys.LockType.F_UNLCK), handle.Path);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\OSFileStreamStrategy.cs (1)
91internal sealed override string Name => _fileHandle.Path ?? SR.IO_UnknownFileName;
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\UnixFileStreamStrategy.cs (1)
36throw Interop.GetExceptionForIoErrno(errorInfo, _fileHandle.Path);