23 references to Append
mscorlib (14)
system\io\file.cs (1)
468
return Open(path, mode, (mode == FileMode.
Append
? FileAccess.Write : FileAccess.ReadWrite), FileShare.None);
system\io\filestream.cs (8)
512
: this(path, mode, (mode == FileMode.
Append
? FileAccess.Write : FileAccess.ReadWrite), FileShare.Read, DefaultBufferSize, FileOptions.None, Path.GetFileName(path), false) {
644
if (mode < FileMode.CreateNew || mode > FileMode.
Append
)
673
if (mode==FileMode.Truncate || mode==FileMode.CreateNew || mode==FileMode.Create || mode==FileMode.
Append
) {
739
if (mode == FileMode.
Append
)
762
Contract.Assert(mode != FileMode.
Append
);
788
if (mode==FileMode.
Append
)
818
bool seekToEnd = (mode==FileMode.
Append
);
820
if (mode == FileMode.
Append
)
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)
152
case FileMode.
Append
: // Check for new file
196
case FileMode.
Append
: // Check for new file
system\io\streamwriter.cs (1)
225
FileMode mode = append? FileMode.
Append
: FileMode.Create;
System.Core (1)
System\IO\MemoryMappedFiles\MemoryMappedFile.cs (1)
140
if (mode == FileMode.
Append
) {
WindowsBase (8)
Base\MS\Internal\IO\Zip\ZipArchive.cs (2)
598
if (mode == FileMode.
Append
|| mode == FileMode.Truncate)
614
if ((mode != FileMode.
Append
) && (mode != FileMode.Create) && (mode != FileMode.CreateNew) && (mode != FileMode.Open)
Base\MS\Internal\IO\Zip\ZipIOLocalFileBlock.cs (1)
466
case FileMode.
Append
:
Base\System\IO\Packaging\CompoundFile\StorageRoot.cs (1)
272
case FileMode.
Append
:
Base\System\IO\Packaging\CompoundFile\StreamInfo.cs (2)
290
case FileMode.
Append
:
534
case FileMode.
Append
: // None of these are valid in a Create
Base\System\IO\Packaging\Package.cs (1)
936
if (mode < FileMode.CreateNew || mode > FileMode.
Append
)
Base\System\IO\Packaging\PackagePart.cs (1)
810
(mode == FileMode.Create || mode == FileMode.CreateNew || mode == FileMode.Truncate || mode == FileMode.
Append
))