10 references to CheckFileCall
System.Private.CoreLib (10)
src\runtime\src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs (2)
477
FileStreamHelpers.
CheckFileCall
(Interop.Sys.PosixFAdvise(this, 0, 0, fadv), path,
590
FileStreamHelpers.
CheckFileCall
(result, Path);
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);
140
FileStreamHelpers.
CheckFileCall
(bytesWritten, handle.Path);
217
FileStreamHelpers.
CheckFileCall
(bytesWritten, handle.Path);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\FileStreamHelpers.Unix.cs (3)
34
CheckFileCall
(Interop.Sys.LSeek(handle, offset, (Interop.Sys.SeekWhence)(int)origin), handle.Path); // SeekOrigin values are the same as Interop.libc.SeekWhence values
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);