15 references to Read
illink (2)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
175using (var mmf = MemoryMappedFile.CreateFromFile(fileStream, "xmlMap", 0, MemoryMappedFileAccess.Read, HandleInheritability.None, leaveOpen: true))
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
CommandLineTests.vb (1)
267Using mmf = MemoryMappedFile.CreateFromFile(fileStream, "xmlMap", 0, MemoryMappedFileAccess.Read, HandleInheritability.None, leaveOpen:=True)
Microsoft.CodeAnalysis.Workspaces (1)
TemporaryStorage\TemporaryStorageService.MemoryMappedInfo.cs (1)
82static info => info.MemoryMappedFile.CreateViewAccessor(info.Offset, info.Size, MemoryMappedFileAccess.Read),
System.IO.MemoryMappedFiles (4)
System\IO\MemoryMappedFiles\MemoryMappedFile.cs (2)
196/// <para><paramref name="access"/> is set to <see cref="MemoryMappedFileAccess.Read"/> and <paramref name="capacity"/> is larger than the length of the file.</para> 490case MemoryMappedFileAccess.Read:
System\IO\MemoryMappedFiles\MemoryMappedFile.Unix.cs (1)
20if (access == MemoryMappedFileAccess.Read && capacity > fileSize)
System\IO\MemoryMappedFiles\MemoryMappedView.Unix.cs (1)
181case MemoryMappedFileAccess.Read:
System.Reflection.Metadata (4)
System\Reflection\Internal\MemoryBlocks\StreamMemoryBlockProvider.cs (2)
142access: MemoryMappedFileAccess.Read, 168accessor = _lazyMemoryMap.CreateViewAccessor(start, size, MemoryMappedFileAccess.Read);
System\Reflection\Metadata\MetadataReader.netstandard.cs (2)
81fileStream, null, fileStream.Length, MemoryMappedFileAccess.Read, HandleInheritability.None, true); 82accessor = mappedFile.CreateViewAccessor(0, 0, MemoryMappedFileAccess.Read);
System.Security.Cryptography (1)
src\libraries\Common\src\System\IO\MemoryMappedFiles\MemoryMappedFileMemoryManager.cs (1)
38MemoryMappedFileAccess access = MemoryMappedFileAccess.Read,
System.ServiceModel.NetNamedPipe (1)
System\ServiceModel\Channels\PipeConnectionInitiator.cs (1)
330return _fileMapping.CreateViewStream(0, sizeof(SharedMemoryContents), writable ? MemoryMappedFileAccess.Write : MemoryMappedFileAccess.Read);