11 references to OpenFlags
System.IO.MemoryMappedFiles (11)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LibraryImports.g.cs (4)
415
internal static partial global::Microsoft.Win32.SafeHandles.SafeFileHandle Open(string filename, global::Interop.Sys.
OpenFlags
flags, int mode)
461
static extern unsafe nint __PInvoke(byte* __filename_native, global::Interop.Sys.
OpenFlags
__flags_native, int __mode_native);
564
internal static partial global::Microsoft.Win32.SafeHandles.SafeFileHandle ShmOpen(string name, global::Interop.Sys.
OpenFlags
flags, int mode)
610
static extern unsafe nint __PInvoke(byte* __name_native, global::Interop.Sys.
OpenFlags
__flags_native, int __mode_native);
src\runtime\src\libraries\Common\src\Interop\Unix\System.Native\Interop.Open.cs (1)
12
internal static partial SafeFileHandle Open(string filename,
OpenFlags
flags, int mode);
src\runtime\src\libraries\Common\src\Interop\Unix\System.Native\Interop.ShmOpen.cs (1)
12
internal static partial SafeFileHandle ShmOpen(string name,
OpenFlags
flags, int mode);
System\IO\MemoryMappedFiles\MemoryMappedFile.Unix.cs (5)
169
Interop.Sys.
OpenFlags
flags = (protections & Interop.Sys.MemoryMappedProtections.PROT_WRITE) != 0 ?
170
Interop.Sys.
OpenFlags
.O_RDWR :
171
Interop.Sys.
OpenFlags
.O_RDONLY;
172
flags |= Interop.Sys.
OpenFlags
.O_CREAT | Interop.Sys.
OpenFlags
.O_EXCL; // CreateNew