28 references to Error
System.IO.MemoryMappedFiles (28)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LibraryImports.g.cs (2)
7
internal static extern partial global::Interop.
Error
ConvertErrorPlatformToPal(int platformErrno);
15
internal static extern partial int ConvertErrorPalToPlatform(global::Interop.
Error
error);
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.Errors.cs (7)
119
private readonly
Error
_error;
128
internal ErrorInfo(
Error
error)
134
internal
Error
Error
157
internal static
Error
GetLastError()
198
internal static partial
Error
ConvertErrorPlatformToPal(int platformErrno);
202
internal static partial int ConvertErrorPalToPlatform(
Error
error);
220
public static Interop.ErrorInfo Info(this Interop.
Error
error)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (16)
13
Debug.Assert(errorInfo.Error !=
Error
.SUCCESS);
14
Debug.Assert(errorInfo.Error !=
Error
.EINTR, "EINTR errors should be handled by the native shim and never bubble up to managed code");
19
internal static void CheckIo(
Error
error, string? path = null, bool isDirError = false)
21
if (error != Interop.
Error
.SUCCESS)
123
if (errorInfo.Error ==
Error
.ENOENT && !isDirError && path is not null)
138
case
Error
.ENOENT:
145
goto case
Error
.ENOTDIR;
147
case
Error
.ENOTDIR:
156
case
Error
.EACCES:
157
case
Error
.EBADF:
158
case
Error
.EPERM:
164
case
Error
.ENAMETOOLONG:
169
case
Error
.EWOULDBLOCK:
174
case
Error
.ECANCELED:
177
case
Error
.EFBIG:
180
case
Error
.EEXIST:
System\IO\MemoryMappedFiles\MemoryMappedFile.Unix.cs (3)
196
if (errorInfo.Error == Interop.
Error
.ENOTSUP)
203
else if (errorInfo.Error == Interop.
Error
.ENAMETOOLONG)
209
else if (errorInfo.Error != Interop.
Error
.EEXIST) // map with same name already existed