File: System\IO\MemoryMappedFiles\MemoryMappedFileAccess.cs
Web Access
Project: src\src\libraries\System.IO.MemoryMappedFiles\src\System.IO.MemoryMappedFiles.csproj (System.IO.MemoryMappedFiles)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.IO.MemoryMappedFiles
{
    public enum MemoryMappedFileAccess
    {
        ReadWrite = 0,
        Read,
        Write,   // Write is valid only when creating views and not when creating MemoryMappedFiles
        CopyOnWrite,
        ReadExecute,
        ReadWriteExecute,
    }
}