62 references to Write
mscorlib (50)
system\environment.cs (1)
1500
createPermission.AllFiles = FileIOPermissionAccess.
Write
;
system\io\directory.cs (5)
286
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
, control, securityList, false, false);
1251
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
| FileIOPermissionAccess.Read, sourcePath, false, false);
1252
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
, destPath, false, false);
1326
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
, demandPath, false, false);
1505
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
, GetDemandDir(fullPath, true), false, false);
system\io\directoryinfo.cs (1)
255
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
, demandDirForCreation, false, false);
system\io\driveinfo.cs (1)
263
new FileIOPermission(FileIOPermissionAccess.
Write
, demandPath).Demand();
system\io\file.cs (9)
165
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
, fullDestFileName, false, false);
300
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
, fullPath, false, false);
328
FileIOPermission.QuickDemand(FileIOPermissionAccess.Read | FileIOPermissionAccess.
Write
, fullPath, false, false);
359
FileIOPermission.QuickDemand(FileIOPermissionAccess.Read | FileIOPermissionAccess.
Write
, fullPath, false, false);
707
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
, fullPath, false, false);
1258
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
| FileIOPermissionAccess.Read, fullSourceFileName, false, false);
1259
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
, fullDestFileName, false, false);
1334
FileIOPermission perm = new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.
Write
, new String[] { fullSrcPath, fullDestPath });
1336
perm.AddPathList(FileIOPermissionAccess.
Write
, fullBackupPath);
system\io\fileinfo.cs (3)
344
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
, FullPath, false, false);
471
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
| FileIOPermissionAccess.Read, FullPath, false, false);
472
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
, fullDestFileName, false, false);
system\io\filestream.cs (1)
791
secAccess = secAccess | FileIOPermissionAccess.
Write
;
system\io\filesysteminfo.cs (1)
312
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
, FullPath);
system\io\isolatedstorage\isolatedstoragefile.cs (7)
867
Demand(new FileIOPermission(FileIOPermissionAccess.
Write
| FileIOPermissionAccess.Read, new String[] { sourceFileNameFullPath }, false, false));
868
Demand(new FileIOPermission(FileIOPermissionAccess.
Write
, new String[] { destinationFileNameFullPath }, false, false));
999
Demand(new FileIOPermission(FileIOPermissionAccess.
Write
| FileIOPermissionAccess.Read, new String[] { sourceFileNameFullPath }, false, false));
1000
Demand(new FileIOPermission(FileIOPermissionAccess.
Write
, new String[] { destinationFileNameFullPath }, false, false));
1065
Demand(new FileIOPermission(FileIOPermissionAccess.
Write
| FileIOPermissionAccess.Read, new String[] { sourceDirectoryNameFullPath }, false, false));
1066
Demand(new FileIOPermission(FileIOPermissionAccess.
Write
, new String[] { destinationDirectoryNameFullPath }, false, false));
1563
FileIOPermissionAccess.
Write
, rootDir).Assert();
system\io\longpath.cs (8)
200
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
, fullDestFileName, false, false);
261
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
, fullPath, false, false);
400
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
| FileIOPermissionAccess.Read, fullSourceFileName, false, false);
402
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
, fullDestFileName, false, false);
531
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
, control, securityList, false, false);
640
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
| FileIOPermissionAccess.Read, sourcePath, false, false);
641
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
, destPath, false, false);
692
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
, demandPath, false, false);
system\io\path.cs (1)
1149
FileIOPermission.QuickDemand(FileIOPermissionAccess.
Write
, path);
system\reflection\emit\assemblybuilder.cs (3)
1847
new FileIOPermission(FileIOPermissionAccess.
Write
| FileIOPermissionAccess.Append, assemblyFileName).Demand();
1951
new FileIOPermission(FileIOPermissionAccess.
Write
| FileIOPermissionAccess.Append, strModFileName).Demand();
2041
new FileIOPermission(FileIOPermissionAccess.
Write
| FileIOPermissionAccess.Append, tempRes.m_strFullFileName).Demand();
system\security\permissions\fileiopermission.cs (7)
151
if ((access & FileIOPermissionAccess.
Write
) != 0)
250
if ((access & FileIOPermissionAccess.
Write
) != 0)
313
if (AccessIsSet(access, FileIOPermissionAccess.
Write
))
362
access |= FileIOPermissionAccess.
Write
;
393
if ((value & FileIOPermissionAccess.
Write
) != 0)
451
access |= FileIOPermissionAccess.
Write
;
488
if ((value & FileIOPermissionAccess.
Write
) != 0)
system\security\permissions\permissionattributes.cs (1)
317
perm.SetPathList( FileIOPermissionAccess.
Write
, m_write );
system\security\securitymanager.cs (1)
184
perm.AddPathList( FileIOPermissionAccess.
Write
, fullPath );
PresentationCore (1)
Shared\MS\Internal\SecurityHelper.cs (1)
547
permobj.AllFiles = FileIOPermissionAccess.
Write
|FileIOPermissionAccess.Read |FileIOPermissionAccess.PathDiscovery;
PresentationFramework (2)
src\Framework\Microsoft\Win32\SaveFileDialog.cs (1)
108
(new FileIOPermission(FileIOPermissionAccess.Append | FileIOPermissionAccess.Read | FileIOPermissionAccess.
Write
,
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
781
filePermission.AllLocalFiles = FileIOPermissionAccess.
Write
;
System (1)
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (1)
237
ps.AddPermission(new FileIOPermission(FileIOPermissionAccess.
Write
, tempPath));
System.AddIn (3)
System\Addin\Hosting\AddInStore.cs (3)
162
new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.
Write
, addInsFolderPath).Demand();
197
new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.
Write
, addInsFolderPath).Demand();
387
new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.
Write
, pipelineRootFolderPath).Demand();
System.Core (1)
System\IO\LogStream.cs (1)
103
_secAccessSav = FileIOPermissionAccess.
Write
;
System.Data (2)
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (2)
524
demandPermissions = FileIOPermissionAccess.
Write
;
531
demandPermissions = FileIOPermissionAccess.Read | FileIOPermissionAccess.
Write
;
System.Drawing (1)
commonui\System\Drawing\IntSecurity.cs (1)
40
new FileIOPermission(FileIOPermissionAccess.
Write
, full).Demand();
System.Web (1)
IntSecurity.cs (1)
123
return new FileIOPermission(FileIOPermissionAccess.
Write
| FileIOPermissionAccess.Append, filename);