42 references to None
mscorlib (16)
system\io\file.cs (6)
221
return new FileStream(path, FileMode.Create, FileAccess.ReadWrite, FileShare.
None
, bufferSize);
228
FileShare.
None
, bufferSize, options);
234
FileShare.
None
, bufferSize, options, fileSecurity);
468
return Open(path, mode, (mode == FileMode.Append ? FileAccess.Write : FileAccess.ReadWrite), FileShare.
None
);
474
return Open(path,mode, access, FileShare.
None
);
777
FileAccess.Write, FileShare.
None
);
system\io\fileinfo.cs (3)
406
return Open(mode, FileAccess.ReadWrite, FileShare.
None
);
412
return Open(mode, access, FileShare.
None
);
438
FileAccess.Write, FileShare.
None
);
system\io\filestream.cs (1)
652
else if (tempshare < FileShare.
None
|| tempshare > (FileShare.ReadWrite | FileShare.Delete))
system\io\isolatedstorage\isolatedstoragefile.cs (1)
1276
return new IsolatedStorageFileStream(path, FileMode.Create, FileAccess.ReadWrite, FileShare.
None
, this);
system\io\isolatedstorage\isolatedstoragefilestream.cs (4)
56
: this(path, mode, (mode == FileMode.Append ? FileAccess.Write : FileAccess.ReadWrite), FileShare.
None
, null) {
63
: this(path, mode, (mode == FileMode.Append ? FileAccess.Write : FileAccess.ReadWrite), FileShare.
None
, isf)
73
FileShare.Read: FileShare.
None
, DefaultBufferSize, null) {
82
FileShare.Read: FileShare.
None
, DefaultBufferSize, isf) {
system\resources\resourcewriter.cs (1)
109
_output = new FileStream(fileName, FileMode.Create, FileAccess.Write, FileShare.
None
);
PresentationCore (1)
Core\CSharp\System\Windows\Input\Cursor.cs (1)
269
using (FileStream fileStream = new FileStream(filePath, FileMode.Open, FileAccess.Write, FileShare.
None
))
System (1)
net\System\Net\Cache\IERequestCache.cs (1)
815
base(entry.Filename, FileMode.Create, FileAccess.ReadWrite, FileShare.
None
, 4096, async) {
System.Core (1)
System\IO\MemoryMappedFiles\MemoryMappedFile.cs (1)
148
FileStream fileStream = new FileStream(path, mode, GetFileStreamFileSystemRights(access), FileShare.
None
, 0x1000, FileOptions.None);
System.Data (1)
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
622
System.IO.FileShare shareAccess = System.IO.FileShare.
None
;
System.Data.Entity.Design (1)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
121
System.IO.FileShare.
None
);
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
280
System.IO.FileShare.
None
);
System.IO.Log (2)
System\IO\Log\LogStore.cs (2)
53
: this(path, mode, access, FileShare.
None
)
547
if (share < FileShare.
None
|| share > (FileShare.ReadWrite | FileShare.Delete))
System.Web (1)
HttpInputStream.cs (1)
236
_filestream = new FileStream(_filename, FileMode.Create, FileAccess.ReadWrite, FileShare.
None
, 4096, FileOptions.DeleteOnClose);
WindowsBase (17)
Base\MS\Internal\IO\Zip\ZipArchive.cs (11)
130
ValidateModeAccessShareStreaming(stream, mode, access, FileShare.
None
, streaming);
602
else if (share != FileShare.Read && share != FileShare.
None
)
623
else if ((share != FileShare.Delete) && (share != FileShare.Inheritable) && (share != FileShare.
None
) &&
674
{(int)FileMode.Create, (int)FileAccess.Write, (int)FileShare.
None
, 1},
676
{(int)FileMode.Create, (int)FileAccess.ReadWrite, (int)FileShare.
None
, 0},
677
{(int)FileMode.CreateNew, (int)FileAccess.Write, (int)FileShare.
None
, 1},
679
{(int)FileMode.CreateNew, (int)FileAccess.ReadWrite, (int)FileShare.
None
, 0},
680
{(int)FileMode.Open, (int)FileAccess.Read, (int)FileShare.
None
, 1},
681
{(int)FileMode.Open, (int)FileAccess.Read, (int)FileShare.
None
, 0},
686
{(int)FileMode.Open, (int)FileAccess.ReadWrite, (int)FileShare.
None
, 0},
687
{(int)FileMode.OpenOrCreate, (int)FileAccess.ReadWrite, (int)FileShare.
None
, 0}
Base\System\IO\Packaging\CompoundFile\StorageRoot.cs (2)
43
const FileShare defaultFileShare = FileShare.
None
;
325
else if( share == FileShare.
None
) // FileShare.None is zero, using "&" to check causes unreachable code error
Base\System\IO\Packaging\EncryptedPackage.cs (1)
1229
private const FileShare _defaultFileShare = FileShare.
None
;
Base\System\IO\Packaging\Package.cs (2)
1212
&& packageShare != FileShare.Read && packageShare != FileShare.
None
)
1457
private static readonly FileShare _defaultFileShare = FileShare.
None
;
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (1)
739
fileName, FileMode.Create, FileAccess.ReadWrite, FileShare.
None
,