10 references to DefaultSize
System.IO.MemoryMappedFiles (10)
System\IO\MemoryMappedFiles\MemoryMappedFile.cs (8)
89return CreateFromFile(path, FileMode.Open, null, DefaultSize, MemoryMappedFileAccess.ReadWrite); 93return CreateFromFile(path, mode, null, DefaultSize, MemoryMappedFileAccess.ReadWrite); 98return CreateFromFile(path, mode, mapName, DefaultSize, MemoryMappedFileAccess.ReadWrite); 148if (capacity == DefaultSize) 226if (capacity == DefaultSize) 258if (capacity == DefaultSize) 389return CreateViewStream(0, DefaultSize, MemoryMappedFileAccess.ReadWrite); 423return CreateViewAccessor(0, DefaultSize, MemoryMappedFileAccess.ReadWrite);
System\IO\MemoryMappedFiles\MemoryMappedView.cs (1)
84newSize = (size != MemoryMappedFile.DefaultSize) ? (ulong)size + (ulong)extraMemNeeded : 0;
System\IO\MemoryMappedFiles\MemoryMappedView.Unix.cs (1)
26if (requestedSize == MemoryMappedFile.DefaultSize)