25 references to Path
System.Private.CoreLib (25)
src\runtime\src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs (3)
65
throw Interop.GetExceptionForIoErrno(Interop.Sys.GetLastErrorInfo(),
Path
);
553
throw Interop.GetExceptionForIoErrno(error,
Path
);
575
FileStreamHelpers.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)
23
FileStreamHelpers.CheckFileCall(Interop.Sys.FTruncate(handle, length), handle.
Path
);
53
FileStreamHelpers.CheckFileCall(result, handle.
Path
);
101
return FileStreamHelpers.CheckFileCall(result, handle.
Path
);
143
FileStreamHelpers.CheckFileCall(bytesWritten, handle.
Path
);
224
FileStreamHelpers.CheckFileCall(bytesWritten, handle.
Path
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\FileStreamHelpers.Unix.cs (5)
34
CheckFileCall(Interop.Sys.LSeek(handle, offset, (Interop.Sys.SeekWhence)(int)origin), handle.
Path
); // SeekOrigin values are the same as Interop.libc.SeekWhence values
37
throw Interop.GetExceptionForIoErrno(new Interop.ErrorInfo(Interop.Error.EINVAL), handle.
Path
);
54
throw Interop.GetExceptionForIoErrno(errorInfo, handle.
Path
);
66
CheckFileCall(Interop.Sys.LockFileRegion(handle, position, length, canWrite ? Interop.Sys.LockType.F_WRLCK : Interop.Sys.LockType.F_RDLCK), handle.
Path
);
76
CheckFileCall(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)
91
internal sealed override string Name => _fileHandle.
Path
?? SR.IO_UnknownFileName;
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\UnixFileStreamStrategy.cs (1)
36
throw Interop.GetExceptionForIoErrno(errorInfo, _fileHandle.
Path
);