249 instantiations of FileIOPermission
mscorlib (78)
system\appdomain.cs (1)
1081
permission = new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, dataDirectory);
system\AppDomainSetup.cs (1)
825
new
FileIOPermission
(
system\bcldebug.cs (1)
359
perms.AddPermission(new
FileIOPermission
(FileIOPermissionAccess.AllAccess, Path.GetFullPath(".")));
system\cfgparser.cs (1)
274
(new
FileIOPermission
( FileIOPermissionAccess.Read, System.IO.Path.GetFullPathInternal( fileName ) )).Demand();
system\diagnostics\stackframe.cs (2)
217
FileIOPermission perm = new
FileIOPermission
( PermissionState.None );
295
FileIOPermission perm = new
FileIOPermission
(PermissionState.None);
system\environment.cs (2)
1499
FileIOPermission createPermission = new
FileIOPermission
(PermissionState.None);
1551
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, s).Demand();
system\io\driveinfo.cs (3)
87
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, demandPath).Demand();
98
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, demandPath).Demand();
263
new
FileIOPermission
(FileIOPermissionAccess.Write, demandPath).Demand();
system\io\file.cs (1)
1334
FileIOPermission perm = new
FileIOPermission
(FileIOPermissionAccess.Read | FileIOPermissionAccess.Write, new String[] { fullSrcPath, fullDestPath });
system\io\filesystemenumerable.cs (4)
238
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, demandPaths, false, false).Demand();
348
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, demandPaths, false, false).Demand();
700
new
FileIOPermission
(FileIOPermissionAccess.Read, new string[] { fullPath }, false, false).Demand();
729
new
FileIOPermission
(FileIOPermissionAccess.Read, new string[] { fullPath + "\\." }, false, false).Demand();
system\io\isolatedstorage\isolatedstoragefile.cs (23)
573
Demand(new
FileIOPermission
(FileIOPermissionAccess.Read, new String[] { fullPath }, false, false));
617
Demand(new
FileIOPermission
(FileIOPermissionAccess.Read, new String[] { fullPath }, false, false));
648
Demand(new
FileIOPermission
(FileIOPermissionAccess.Read, new String[] { fullPath }, false, false));
717
Demand(new
FileIOPermission
(FileIOPermissionAccess.Read, new String[] { fullPath }, false, false));
758
Demand(new
FileIOPermission
(FileIOPermissionAccess.Read, new String[] { fullPath }, false, false));
799
Demand(new
FileIOPermission
(FileIOPermissionAccess.Read, new String[] { fullPath }, false, false));
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));
1323
new
FileIOPermission
(
1345
new
FileIOPermission
(
1562
new
FileIOPermission
(
1789
m_fiop = new
FileIOPermission
(
1873
fp = new
FileIOPermission
(
1994
new
FileIOPermission
(FileIOPermissionAccess.AllAccess, rootDir).Assert();
2052
new
FileIOPermission
(FileIOPermissionAccess.AllAccess, rootDir).Assert();
2310
s_PermRoaming = new
FileIOPermission
(
2322
s_PermMachine = new
FileIOPermission
(
2331
s_PermUser = new
FileIOPermission
(
2449
new
FileIOPermission
(FileIOPermissionAccess.Read, demandPath, false, false).Demand();
system\io\isolatedstorage\isolatedstoragefilestream.cs (1)
164
new
FileIOPermission
(FileIOPermissionAccess.AllAccess,
system\reflection\assembly.cs (6)
587
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery | FileIOPermissionAccess.Read, path).Demand();
609
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery | FileIOPermissionAccess.Read, path).Demand();
1859
new
FileIOPermission
( FileIOPermissionAccess.PathDiscovery | FileIOPermissionAccess.Read , urlString.GetFileName() ).Demand();
2385
new
FileIOPermission
( FileIOPermissionAccess.PathDiscovery, location ).Demand();
2606
new
FileIOPermission
( FileIOPermissionAccess.PathDiscovery, urlString.GetFileName() ).Demand();
2803
new
FileIOPermission
(access, codeBase).Demand();
system\reflection\assemblyname.cs (1)
212
new
FileIOPermission
( FileIOPermissionAccess.PathDiscovery, fullPath ).Demand();
system\reflection\emit\assemblybuilder.cs (4)
1541
new
FileIOPermission
(FileIOPermissionAccess.Read, strFullFileName).Demand();
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\reflection\emit\modulebuilder.cs (2)
1005
new
FileIOPermission
( FileIOPermissionAccess.PathDiscovery, fullyQualifiedName ).Demand();
1442
new
FileIOPermission
(FileIOPermissionAccess.Read, strFullFileName).Demand();
system\reflection\module.cs (1)
1107
new
FileIOPermission
( FileIOPermissionAccess.PathDiscovery, fullyQualifiedName ).Demand();
system\resources\filebasedresourcegroveler.cs (1)
54
new System.Security.Permissions.
FileIOPermission
(System.Security.Permissions.PermissionState.Unrestricted).Assert();
system\resources\resourcewriter.cs (1)
356
permSet.AddPermission(new
FileIOPermission
(PermissionState.Unrestricted));
system\runtime\interopservices\runtimeenvironment.cs (2)
101
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, dir).Demand();
122
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, path).Demand();
system\runtime\remoting\configuration.cs (2)
321
new
FileIOPermission
(FileIOPermissionAccess.Read, longFileName).Assert();
1700
new
FileIOPermission
(PermissionState.Unrestricted).Assert();
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (1)
75
private static FileIOPermission sfileIOPermission = new
FileIOPermission
(PermissionState.Unrestricted);
system\security\cryptography\cryptoconfig.cs (1)
917
new
FileIOPermission
(FileIOPermissionAccess.Read, machineConfigFile).Assert();
system\security\cryptography\x509certificates\x509certificate.cs (1)
828
new
FileIOPermission
(FileIOPermissionAccess.Read, fullPath).Demand();
system\security\permissions\fileiopermission.cs (9)
698
FileIOPermission intersectPermission = new
FileIOPermission
(PermissionState.None);
726
return new
FileIOPermission
(PermissionState.Unrestricted);
746
FileIOPermission unionPermission = new
FileIOPermission
(PermissionState.None);
760
FileIOPermission copy = new
FileIOPermission
(PermissionState.None);
1009
new
FileIOPermission
(access, new string[] { fullPath }, checkForDuplicates, needFullPath).Demand();
1032
new
FileIOPermission
(access, fullPathList, checkForDuplicates, needFullPath).Demand();
1048
new
FileIOPermission
(state).Demand();
1058
new
FileIOPermission
(access, control, new string[] { fullPath }, checkForDuplicates, needFullPath).Demand();
1071
new
FileIOPermission
(access, control, fullPathList, checkForDuplicates, needFullPath).Demand();
system\security\permissions\permissionattributes.cs (2)
309
return new
FileIOPermission
(PermissionState.Unrestricted);
313
FileIOPermission perm = new
FileIOPermission
(PermissionState.None);
system\security\policy\filecodegroup.cs (1)
126
permSet.SetPermission(new
FileIOPermission
(m_access, System.IO.Path.GetFullPath(directory)));
system\security\securitymanager.cs (2)
182
FileIOPermission perm = new
FileIOPermission
( PermissionState.None );
562
new
FileIOPermission
(PermissionState.Unrestricted),
system\security\util\xmlutil.cs (1)
262
return new
FileIOPermission
( permState );
PresentationCore (16)
Core\CSharp\MS\Internal\FontCache\FontSource.cs (1)
192
new
FileIOPermission
(FileIOPermissionAccess.Read, _fontUri.LocalPath).Assert(); //Blessed Assert
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (1)
175
permissionSet.AddPermission(new
FileIOPermission
(
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (1)
1467
(new
FileIOPermission
(FileIOPermissionAccess.Read, uri.LocalPath)).Assert(); // BlessedAssert
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (3)
997
new
FileIOPermission
(FileIOPermissionAccess.Read, appBase.LocalPath).Assert();// BlessedAssert
1082
(new
FileIOPermission
(FileIOPermissionAccess.Read, toOpen)).Demand();
1100
(new
FileIOPermission
(FileIOPermissionAccess.Read, toOpen)).Demand();
Shared\MS\Internal\SecurityHelper.cs (10)
413
new
FileIOPermission
(PermissionState.Unrestricted).Assert();// BlessedAssert
452
(new
FileIOPermission
(FileIOPermissionAccess.Read, uri.LocalPath)).Demand();
493
(new
FileIOPermission
(FileIOPermissionAccess.Read, contentUri.LocalPath)).Demand();
546
FileIOPermission permobj = new
FileIOPermission
(PermissionState.None);
572
siteOfOriginReadPermission = new
FileIOPermission
(PermissionState.Unrestricted);
670
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, path).Demand();
733
return new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, uri.LocalPath);
755
return new
FileIOPermission
(FileIOPermissionAccess.Read, uri.LocalPath);
1111
new
FileIOPermission
(FileIOPermissionAccess.Read, fileName).Demand();
1341
(new
FileIOPermission
(FileIOPermissionAccess.Read, toOpen)).Demand();
PresentationFramework (19)
src\Framework\Microsoft\Win32\FileDialog.cs (1)
1236
(new
FileIOPermission
(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, fileName)).Assert();
src\Framework\Microsoft\Win32\OpenFileDialog.cs (2)
111
(new
FileIOPermission
(FileIOPermissionAccess.Read, filename)).Assert();
168
(new
FileIOPermission
(FileIOPermissionAccess.Read, filename)).Assert();
src\Framework\Microsoft\Win32\SaveFileDialog.cs (2)
108
(new
FileIOPermission
(FileIOPermissionAccess.Append | FileIOPermissionAccess.Read | FileIOPermissionAccess.Write,
276
(new
FileIOPermission
(PermissionState.Unrestricted)).Assert();//BlessedAssert
src\Framework\MS\Internal\AppModel\AssemblyFilter.cs (1)
106
(new
FileIOPermission
(PermissionState.Unrestricted)).Assert();//BlessedAssert
src\Framework\MS\Internal\AppModel\ContentFilePart.cs (2)
135
permissionSet.AddPermission(new
FileIOPermission
(PermissionState.Unrestricted));
167
FileIOPermission filePermission = new
FileIOPermission
(FileIOPermissionAccess.Read, filename);
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
780
FileIOPermission filePermission = new
FileIOPermission
(PermissionState.None);
src\Framework\System\Windows\Documents\NLGSpellerInterop.cs (2)
368
new
FileIOPermission
(FileIOPermissionAccess.Read, trustedFolder).Assert();
1107
FileIOPermission fileIOPermission = new
FileIOPermission
(FileIOPermissionAccess.Read, lexiconFilePath);
src\Framework\System\Windows\Documents\Speller.cs (1)
1705
new
FileIOPermission
(PermissionState.Unrestricted).Assert();
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (6)
62
FileIOPermission fiop = new
FileIOPermission
(PermissionState.None);
248
new
FileIOPermission
(FileIOPermissionAccess.AllAccess, filePath).Demand();
295
new
FileIOPermission
(FileIOPermissionAccess.Read, trustedFolder).Assert();
500
new
FileIOPermission
(FileIOPermissionAccess.Read, lexiconFilePath).Demand();
609
new
FileIOPermission
(FileIOPermissionAccess.AllAccess, filePath).Demand();
702
new
FileIOPermission
(FileIOPermissionAccess.Read, sourcePath).Demand();
src\Shared\MS\Internal\SecurityHelper.cs (1)
1141
_unrestrictedFileIOPermission = new
FileIOPermission
(PermissionState.Unrestricted);
System (24)
compmod\microsoft\win32\SystemEvents.cs (2)
1207
FileIOPermission fiop = new
FileIOPermission
(PermissionState.None);
1272
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, executablePath).Demand();
compmod\system\codedom\compiler\TempFiles.cs (1)
217
new
FileIOPermission
(FileIOPermissionAccess.AllAccess, full).Demand();
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (3)
98
FileIOPermission perm = new
FileIOPermission
(PermissionState.Unrestricted);
133
FileIOPermission perm = new
FileIOPermission
(PermissionState.Unrestricted);
161
FileIOPermission perm = new
FileIOPermission
(PermissionState.Unrestricted);
compmod\system\componentmodel\IntSecurity.cs (1)
20
FileIOPermission fiop = new
FileIOPermission
(PermissionState.None);
net\System\Net\Configuration\UriSection.cs (2)
159
new
FileIOPermission
(PermissionState.Unrestricted).Assert();
207
new
FileIOPermission
(PermissionState.Unrestricted).Assert();
net\System\Net\Configuration\UriSectionReader.cs (1)
60
new
FileIOPermission
(FileIOPermissionAccess.Read, configFilePath).Assert();
parent\parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (1)
429
new
FileIOPermission
(PermissionState.Unrestricted).Assert();
security\system\security\cryptography\cryptoapi.cs (2)
3503
new
FileIOPermission
(FileIOPermissionAccess.Read, fullPath).Demand();
3568
new
FileIOPermission
(FileIOPermissionAccess.Read, fullPath).Demand();
security\system\security\cryptography\x509\x509certificate2.cs (1)
1171
new
FileIOPermission
(FileIOPermissionAccess.Read, fullPath).Demand();
services\io\system\io\FileSystemWatcher.cs (1)
967
FileIOPermission permission = new
FileIOPermission
(FileIOPermissionAccess.Read, fullPath);
services\io\system\io\RenamedEventArgs.cs (1)
51
new
FileIOPermission
(FileIOPermissionAccess.Read, Path.GetPathRoot(oldFullPath)).Demand();
services\monitoring\system\diagnosticts\CounterSampleCalculator.cs (1)
232
new
FileIOPermission
(PermissionState.Unrestricted).Assert();
services\monitoring\system\diagnosticts\FileVersionInfo.cs (2)
118
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, fileName).Demand();
455
new
FileIOPermission
(FileIOPermissionAccess.Read, fullPath).Demand();
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (3)
237
ps.AddPermission(new
FileIOPermission
(FileIOPermissionAccess.Write, tempPath));
357
FileIOPermission permission = new
FileIOPermission
(PermissionState.Unrestricted);
514
FileIOPermission permission = new
FileIOPermission
(PermissionState.Unrestricted);
sys\system\Media\SoundPlayer.cs (2)
123
FileIOPermission fiop = new
FileIOPermission
(PermissionState.None);
266
FileIOPermission perm = new
FileIOPermission
(FileIOPermissionAccess.Read, localPath);
System.Activities (1)
System\Activities\Debugger\SourceLocationProvider.cs (1)
138
FileIOPermission permission = new
FileIOPermission
(FileIOPermissionAccess.Read, sourcePath);
System.AddIn (35)
System\Addin\Hosting\ActivationWorker.cs (6)
85
permissionSet.AddPermission(new
FileIOPermission
(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery,
87
permissionSet.AddPermission(new
FileIOPermission
(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery,
89
permissionSet.AddPermission(new
FileIOPermission
(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery,
91
permissionSet.AddPermission(new
FileIOPermission
(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery,
146
FileIOPermission permission = new
FileIOPermission
(PermissionState.None);
258
permissionSet.AddPermission(new
FileIOPermission
(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, dir));
System\Addin\Hosting\AddInActivator.cs (4)
322
permissionSet.AddPermission(new
FileIOPermission
(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery,
493
assertSet.AddPermission(new
FileIOPermission
(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, hostAdapter.Location));
494
assertSet.AddPermission(new
FileIOPermission
(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, contract.Location));
693
FileIOPermission permission = new
FileIOPermission
(PermissionState.None);
System\Addin\Hosting\AddInControllerImpl.cs (2)
206
permissionSet.AddPermission(new
FileIOPermission
(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery,
208
permissionSet.AddPermission(new
FileIOPermission
(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery,
System\Addin\Hosting\AddInStore.cs (20)
86
new
FileIOPermission
(FileIOPermissionAccess.Read, pipelineRootFolderPath).Demand();
94
FileIOPermission permission = new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery |
162
new
FileIOPermission
(FileIOPermissionAccess.Read | FileIOPermissionAccess.Write, addInsFolderPath).Demand();
197
new
FileIOPermission
(FileIOPermissionAccess.Read | FileIOPermissionAccess.Write, addInsFolderPath).Demand();
242
FileIOPermission permission = new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery |
387
new
FileIOPermission
(FileIOPermissionAccess.Read | FileIOPermissionAccess.Write, pipelineRootFolderPath).Demand();
491
new
FileIOPermission
(FileIOPermissionAccess.Read, pipelineRootFolderPath).Demand();
523
FileIOPermission permission = new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, pipelineRootFolderPath);
596
new
FileIOPermission
(FileIOPermissionAccess.Read, pipelineRootFolderPath).Demand();
669
new
FileIOPermission
(FileIOPermissionAccess.Read, fullPath).Demand();
691
FileIOPermission permission = new
FileIOPermission
(FileIOPermissionAccess.Read, fullPath);
767
FileIOPermission permission = new
FileIOPermission
(FileIOPermissionAccess.Read, fileName);
820
FileIOPermission permission = new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery |
899
FileIOPermission permission = new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery |
993
FileIOPermission permission = new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, path);
1023
permissionSet.AddPermission(new
FileIOPermission
(FileIOPermissionAccess.AllAccess, cacheFileName));
1072
new
FileIOPermission
(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, storeFileName).Assert();
1131
FileIOPermission permission = new
FileIOPermission
(PermissionState.None);
1259
FileIOPermission permission = new
FileIOPermission
(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, directory);
1502
FileIOPermission permission = new
FileIOPermission
(PermissionState.None);
System\Addin\Hosting\InspectionWorker.cs (1)
212
FileIOPermission permission = new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery |
System\Addin\MiniReflection\TypeInfo.cs (1)
162
FileIOPermission permission = new
FileIOPermission
(PermissionState.None);
System\Addin\Pipeline\ContractAdapter.cs (1)
76
new
FileIOPermission
(FileIOPermissionAccess.Read, pipelineRoot).Demand();
System.Configuration (7)
System\Configuration\ConfigurationFileMap.cs (1)
49
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, filename).Demand();
System\Configuration\Internal\InternalConfigHost.cs (4)
164
new
FileIOPermission
(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, streamName).Assert();
207
new
FileIOPermission
(PermissionState.Unrestricted).Assert();
231
new
FileIOPermission
(FileIOPermissionAccess.AllAccess, dir).Assert();
294
FileIOPermission fileIOPerm = new
FileIOPermission
(FileIOPermissionAccess.AllAccess, AccessControlActions.View | AccessControlActions.Change, filePaths);
System\Configuration\MgmtConfigurationRecord.cs (1)
1127
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, filepath).Demand();
System\Configuration\PropertySourceInfo.cs (1)
39
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, filename).Demand();
System.Core (3)
System\IO\__Error.cs (1)
109
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, new String[] { path }).Demand();
System\IO\LogStream.cs (2)
123
new
FileIOPermission
(secAccess, new String[] { filePath }).Demand();
146
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, new String[] { _fileName }).Demand();
System.Data (4)
fx\src\data\System\Data\Common\AdapterUtil.cs (2)
2112
(new
FileIOPermission
(FileIOPermissionAccess.Read, filename)).Assert();
2124
(new
FileIOPermission
(FileIOPermissionAccess.Read, filename)).Assert(); // MDAC 62038
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (2)
541
filePerm = new
FileIOPermission
(demandPermissions, path);
563
filePerm = new
FileIOPermission
(PermissionState.Unrestricted);
System.Data.Entity (2)
System\Data\Metadata\MetadataCache.cs (2)
651
filePermissions = new
FileIOPermission
(FileIOPermissionAccess.Read, permissionPaths.ToArray());
746
filePermissions = new
FileIOPermission
(FileIOPermissionAccess.Read, permissionPaths.ToArray());
System.Drawing (5)
commonui\System\Drawing\Advanced\ImageCodecInfo.cs (2)
71
new System.Security.Permissions.
FileIOPermission
(System.Security.Permissions.FileIOPermissionAccess.PathDiscovery, dllName).Demand();
80
new System.Security.Permissions.
FileIOPermission
(System.Security.Permissions.FileIOPermissionAccess.PathDiscovery, value).Demand();
commonui\System\Drawing\IntSecurity.cs (3)
30
new
FileIOPermission
(FileIOPermissionAccess.Read, full).Demand();
40
new
FileIOPermission
(FileIOPermissionAccess.Write, full).Demand();
48
FileIOPermission fiop = new
FileIOPermission
(PermissionState.None);
System.Management (1)
Instrumentation\ManagementInstaller.cs (1)
83
FileIOPermission ioPermission = new
FileIOPermission
(FileIOPermissionAccess.Read, (string)Context.Parameters["assemblypath"]);
System.Runtime.Caching (1)
System\Caching\HostFileChangeMonitor.cs (1)
159
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, path).Demand();
System.Web (16)
Compilation\BuildManager.cs (2)
3383
new
FileIOPermission
(FileIOPermissionAccess.AllAccess, HttpRuntime.CodegenDirInternal).Assert();
3394
new
FileIOPermission
(FileIOPermissionAccess.AllAccess, HttpRuntime.CodegenDirInternal).Assert();
Configuration\HttpCapabilitiesSectionHandler.cs (1)
301
FileIOPermission fiop = new
FileIOPermission
(PermissionState.None);
Configuration\WebConfigurationHost.cs (1)
904
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, machineConfig).Demand();
DataAccess\SqlConnectionHelper.cs (1)
119
AppDomain.CurrentDomain.SetData(s_strDataDir, dataDir, new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, dataDir));
FileChangesMonitor.cs (1)
1491
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, alias).Assert();
HttpInputStream.cs (1)
223
new
FileIOPermission
(FileIOPermissionAccess.AllAccess, tempDir).Assert();
HttpRuntime.cs (4)
351
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, dataDirectory));
2563
askedPermission = new
FileIOPermission
(FileIOPermissionAccess.Read, path);
2565
askedPermission = new
FileIOPermission
(FileIOPermissionAccess.AllAccess, path);
2647
IPermission askedPermission = new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, path);
IntSecurity.cs (4)
66
_appPathDiscovery = new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, HttpRuntime.AppDomainAppPathInternal);
118
return new
FileIOPermission
(FileIOPermissionAccess.Read, filename);
123
return new
FileIOPermission
(FileIOPermissionAccess.Write | FileIOPermissionAccess.Append, filename);
128
return new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, path);
UI\Util.cs (1)
508
new
FileIOPermission
(FileIOPermissionAccess.Read, physicalDir).Assert();
System.Web.Services (1)
System\Web\Services\Configuration\WsdlHelpGeneratorElement.cs (1)
177
new
FileIOPermission
(FileIOPermissionAccess.Read, fullPath).Demand();
System.Windows.Forms (29)
winforms\Managed\System\WinForms\Application.cs (5)
387
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, executablePath).Demand();
649
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, startupPath).Demand();
1045
FileIOPermission fiop = new
FileIOPermission
(PermissionState.None);
1196
FileIOPermission fiop = new
FileIOPermission
( PermissionState.None );
1413
new
FileIOPermission
(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\ComboBox.cs (1)
258
FileIOPermission fiop = new
FileIOPermission
(PermissionState.Unrestricted);
winforms\Managed\System\WinForms\Control.cs (2)
20270
FileIOPermission fiop = new
FileIOPermission
( PermissionState.None );
20282
new
FileIOPermission
(FileIOPermissionAccess.Read, path).Assert();
winforms\Managed\System\WinForms\DataObject.cs (1)
1857
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, fullPath).Demand();
winforms\Managed\System\WinForms\FileDialog.cs (1)
689
new
FileIOPermission
(FileIOPermissionAccess.Read, IntSecurity.UnsafeGetFullPath(fileName)).Assert();
winforms\Managed\System\WinForms\FileDialogCustomPlacesCollection.cs (1)
25
FileIOPermission permission = new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, customPlace.Path);
winforms\Managed\System\WinForms\FolderBrowserDialog.cs (1)
135
new
FileIOPermission
(FileIOPermissionAccess.PathDiscovery, selectedPath).Demand();
winforms\Managed\System\WinForms\Form.cs (1)
4261
FileIOPermission fiop = new
FileIOPermission
( PermissionState.None );
winforms\Managed\System\WinForms\Help.cs (2)
352
new
FileIOPermission
(FileIOPermissionAccess.Read, localPath).Assert();
386
new
FileIOPermission
(FileIOPermissionAccess.Read, localPath).Assert();
winforms\Managed\System\WinForms\ListView.cs (4)
2338
FileIOPermission fiop = new
FileIOPermission
(PermissionState.Unrestricted);
2884
FileIOPermission fiop = new
FileIOPermission
(PermissionState.Unrestricted);
2986
FileIOPermission fiop = new
FileIOPermission
(PermissionState.Unrestricted);
4794
FileIOPermission fiop = new
FileIOPermission
(PermissionState.Unrestricted);
winforms\Managed\System\WinForms\OpenFileDialog.cs (3)
158
new
FileIOPermission
(FileIOPermissionAccess.Read, IntSecurity.UnsafeGetFullPath(filename)).Assert();
260
new
FileIOPermission
(PermissionState.Unrestricted).Assert();
288
new
FileIOPermission
(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\RichTextBox.cs (1)
379
new
FileIOPermission
(FileIOPermissionAccess.Read, path).Assert();
winforms\Managed\System\WinForms\SaveFileDialog.cs (1)
111
new
FileIOPermission
(FileIOPermissionAccess.AllAccess, IntSecurity.UnsafeGetFullPath(filename)).Assert();
winforms\Managed\System\WinForms\TextBox.cs (1)
201
FileIOPermission fiop = new
FileIOPermission
(PermissionState.Unrestricted);
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (1)
189
new
FileIOPermission
(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\WinFormsSecurity.cs (3)
219
fileDialogCustomization = new
FileIOPermission
(PermissionState.Unrestricted);
489
FileIOPermission fiop = new
FileIOPermission
( PermissionState.None );
506
new
FileIOPermission
(access, UnsafeGetFullPath(fileName)).Demand();
System.Xml (5)
System\Xml\Serialization\Compilation.cs (2)
252
perms.AddPermission(new
FileIOPermission
(PermissionState.Unrestricted));
571
fileIOPermission = new
FileIOPermission
(PermissionState.Unrestricted);
System\Xml\Serialization\Compiler.cs (1)
122
perms.AddPermission(new
FileIOPermission
(PermissionState.Unrestricted));
System\Xml\Serialization\XmlSerializationWriter.cs (1)
3242
fileIOPermission = new
FileIOPermission
(PermissionState.Unrestricted);
System\Xml\XmlSecureResolver.cs (1)
74
return new
FileIOPermission
(FileIOPermissionAccess.Read, uncDir);
WindowsBase (2)
parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (1)
429
new
FileIOPermission
(PermissionState.Unrestricted).Assert();
Shared\MS\Internal\SecurityHelper.cs (1)
871
FileIOPermission permobj = new
FileIOPermission
(PermissionState.None);
178 references to FileIOPermission
mscorlib (102)
system\appdomain.cs (1)
2728
FileIOPermission
.QuickDemand(FileIOPermissionAccess.PathDiscovery, dyndir);
system\diagnostics\stackframe.cs (2)
217
FileIOPermission
perm = new FileIOPermission( PermissionState.None );
295
FileIOPermission
perm = new FileIOPermission(PermissionState.None);
system\environment.cs (2)
419
FileIOPermission
.QuickDemand(FileIOPermissionAccess.PathDiscovery, path);
1499
FileIOPermission
createPermission = new FileIOPermission(PermissionState.None);
system\io\__error.cs (1)
96
FileIOPermission
.QuickDemand(FileIOPermissionAccess.PathDiscovery, path, false, false);
system\io\directory.cs (7)
145
FileIOPermission
.EmulateFileIOPermissionChecks(fullPath);
147
FileIOPermission
.QuickDemand(
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 (2)
255
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Write, demandDirForCreation, false, false);
630
FileIOPermission
.QuickDemand(FileIOPermissionAccess.PathDiscovery, demandPath, false, false);
system\io\file.cs (17)
164
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Read, fullSourceFileName, false, false);
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);
442
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Read, path, false, false);
536
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Read, fullPath, false, false);
600
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Read, fullPath, false, false);
664
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Read, fullPath, false, false);
685
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Read, 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);
1326
FileIOPermission
.EmulateFileIOPermissionChecks(fullSrcPath);
1327
FileIOPermission
.EmulateFileIOPermissionChecks(fullDestPath);
1329
FileIOPermission
.EmulateFileIOPermissionChecks(fullBackupPath);
1334
FileIOPermission
perm = new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.Write, new String[] { fullSrcPath, fullDestPath });
system\io\fileinfo.cs (6)
110
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Read, fullPath, false, false);
132
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Read, FullPath, false, false);
194
FileIOPermission
.QuickDemand(FileIOPermissionAccess.PathDiscovery, directoryName, false, false);
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 (4)
750
FileIOPermission
.EmulateFileIOPermissionChecks(filePath);
801
FileIOPermission
.QuickDemand(secAccess, control, new String[] { filePath }, false, false);
872
FileIOPermission
.QuickDemand(FileIOPermissionAccess.PathDiscovery, _fileName, false, false);
1207
FileIOPermission
.QuickDemand(FileIOPermissionAccess.PathDiscovery, _fileName, false, false);
system\io\filesystemenumerable.cs (5)
224
FileIOPermission
.EmulateFileIOPermissionChecks(fullPath);
225
FileIOPermission
.EmulateFileIOPermissionChecks(normalizedSearchPath);
333
FileIOPermission
.EmulateFileIOPermissionChecks(fullPath);
334
FileIOPermission
.EmulateFileIOPermissionChecks(normalizedSearchPath);
591
FileIOPermission
.QuickDemand(FileIOPermissionAccess.PathDiscovery, demandDir, false, false);
system\io\filesysteminfo.cs (4)
103
FileIOPermission
.QuickDemand(FileIOPermissionAccess.PathDiscovery, FullPath);
115
FileIOPermission
.QuickDemand(FileIOPermissionAccess.PathDiscovery, FullPath);
312
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Write, FullPath);
337
FileIOPermission
.QuickDemand(FileIOPermissionAccess.PathDiscovery, FullPath);
system\io\isolatedstorage\isolatedstoragefile.cs (7)
67
private static volatile
FileIOPermission
s_PermUser;
69
private static volatile
FileIOPermission
s_PermMachine;
70
private static volatile
FileIOPermission
s_PermRoaming;
73
private
FileIOPermission
m_fiop;
1829
FileIOPermission
fp;
2302
internal static
FileIOPermission
GetGlobalFileIOPerm(
2582
private
FileIOPermission
m_fiop;
system\io\isolatedstorage\isolatedstoragefilestream.cs (1)
163
FileIOPermission
fiop =
system\io\longpath.cs (17)
198
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Read, fullSourceFileName, false, false);
200
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Write, fullDestFileName, false, false);
261
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Write, fullPath, false, false);
301
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Read, path, false, false );
329
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Read, fullPath, false, false);
350
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Read, fullPath, false, false);
370
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Read, fullPath, false, false);
400
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Write | FileIOPermissionAccess.Read, fullSourceFileName, false, false);
402
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Write, fullDestFileName, false, false);
423
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Read, fullPath, false, false);
459
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Read, demandDir, false, false);
531
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Write, control, securityList, false, false);
588
FileIOPermission
.QuickDemand(FileIOPermissionAccess.PathDiscovery, GetDemandDir(name, true), 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);
914
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Read, demandPath, false, false);
system\io\path.cs (3)
335
FileIOPermission
.QuickDemand(FileIOPermissionAccess.PathDiscovery, fullPath, false, false);
347
FileIOPermission
.QuickDemand(FileIOPermissionAccess.PathDiscovery, fullPath, false, false);
1149
FileIOPermission
.QuickDemand(FileIOPermissionAccess.Write, path);
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (1)
75
private static
FileIOPermission
sfileIOPermission = new FileIOPermission(PermissionState.Unrestricted);
system\security\accesscontrol\filesecurity.cs (7)
440
FileIOPermission
.QuickDemand(FileIOPermissionAccess.NoAccess, AccessControlActions.Change, fullPath);
461
FileIOPermission
.QuickDemand(FileIOPermissionAccess.NoAccess, AccessControlActions.Change, fullPath);
463
FileIOPermission
.QuickDemand(PermissionState.Unrestricted);
644
FileIOPermission
.QuickDemand(FileIOPermissionAccess.NoAccess, AccessControlActions.View, fullPath, checkForDuplicates: false, needFullPath: false);
659
FileIOPermission
.QuickDemand(FileIOPermissionAccess.NoAccess, AccessControlActions.View, fullPath);
661
FileIOPermission
.QuickDemand(PermissionState.Unrestricted);
681
FileIOPermission
.QuickDemand(FileIOPermissionAccess.NoAccess, AccessControlActions.View, fullPath, checkForDuplicates: false, needFullPath: false);
system\security\permissions\fileiopermission.cs (12)
641
FileIOPermission
operand = target as
FileIOPermission
;
665
FileIOPermission
operand = target as
FileIOPermission
;
698
FileIOPermission
intersectPermission = new FileIOPermission(PermissionState.None);
717
FileIOPermission
operand = other as
FileIOPermission
;
746
FileIOPermission
unionPermission = new FileIOPermission(PermissionState.None);
760
FileIOPermission
copy = new FileIOPermission(PermissionState.None);
916
return
FileIOPermission
.GetTokenIndex();
927
FileIOPermission
perm = obj as
FileIOPermission
;
system\security\permissions\permissionattributes.cs (1)
313
FileIOPermission
perm = new FileIOPermission(PermissionState.None);
system\security\policy\applicationsecurityinfo.cs (1)
138
seDefaultPS.AddChild(filePermissionSet.GetPermission(typeof(
FileIOPermission
)).ToXml());
system\security\securitymanager.cs (1)
182
FileIOPermission
perm = new FileIOPermission( PermissionState.None );
PresentationCore (3)
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (1)
1478
FileIOPermission
.RevertAssert();
Shared\MS\Internal\SecurityHelper.cs (2)
420
FileIOPermission
.RevertAssert();
546
FileIOPermission
permobj = new FileIOPermission(PermissionState.None);
PresentationFramework (11)
src\Framework\Microsoft\Win32\SaveFileDialog.cs (1)
283
FileIOPermission
.RevertAssert();
src\Framework\MS\Internal\AppModel\AssemblyFilter.cs (1)
113
FileIOPermission
.RevertAssert();
src\Framework\MS\Internal\AppModel\ContentFilePart.cs (1)
167
FileIOPermission
filePermission = new FileIOPermission(FileIOPermissionAccess.Read, filename);
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
780
FileIOPermission
filePermission = new FileIOPermission(PermissionState.None);
src\Framework\System\Windows\Documents\NLGSpellerInterop.cs (2)
375
FileIOPermission
.RevertAssert();
1107
FileIOPermission
fileIOPermission = new FileIOPermission(FileIOPermissionAccess.Read, lexiconFilePath);
src\Framework\System\Windows\Documents\Speller.cs (1)
1721
FileIOPermission
.RevertAssert();
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (2)
62
FileIOPermission
fiop = new FileIOPermission(PermissionState.None);
302
FileIOPermission
.RevertAssert();
src\Framework\System\Windows\Navigation\NavigationService.cs (1)
3089
if (_request.RequestUri.IsUnc && _request.RequestUri.IsFile && se != null && se.PermissionType == typeof(
FileIOPermission
))
src\Shared\MS\Internal\SecurityHelper.cs (1)
1145
static
FileIOPermission
_unrestrictedFileIOPermission = null;
System (15)
compmod\microsoft\win32\SystemEvents.cs (1)
1207
FileIOPermission
fiop = new FileIOPermission(PermissionState.None);
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (3)
98
FileIOPermission
perm = new FileIOPermission(PermissionState.Unrestricted);
133
FileIOPermission
perm = new FileIOPermission(PermissionState.Unrestricted);
161
FileIOPermission
perm = new FileIOPermission(PermissionState.Unrestricted);
compmod\system\componentmodel\IntSecurity.cs (1)
20
FileIOPermission
fiop = new FileIOPermission(PermissionState.None);
net\System\Net\Configuration\UriSection.cs (2)
164
FileIOPermission
.RevertAssert();
212
FileIOPermission
.RevertAssert();
net\System\Net\Configuration\UriSectionReader.cs (1)
88
FileIOPermission
.RevertAssert();
services\io\system\io\FileSystemWatcher.cs (1)
967
FileIOPermission
permission = new FileIOPermission(FileIOPermissionAccess.Read, fullPath);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (4)
357
FileIOPermission
permission = new FileIOPermission(PermissionState.Unrestricted);
444
FileIOPermission
.RevertAssert();
514
FileIOPermission
permission = new FileIOPermission(PermissionState.Unrestricted);
541
FileIOPermission
.RevertAssert();
sys\system\Media\SoundPlayer.cs (2)
123
FileIOPermission
fiop = new FileIOPermission(PermissionState.None);
266
FileIOPermission
perm = new FileIOPermission(FileIOPermissionAccess.Read, localPath);
System.Activities (1)
System\Activities\Debugger\SourceLocationProvider.cs (1)
138
FileIOPermission
permission = new FileIOPermission(FileIOPermissionAccess.Read, sourcePath);
System.AddIn (15)
System\Addin\Hosting\ActivationWorker.cs (1)
146
FileIOPermission
permission = new FileIOPermission(PermissionState.None);
System\Addin\Hosting\AddInActivator.cs (1)
693
FileIOPermission
permission = new FileIOPermission(PermissionState.None);
System\Addin\Hosting\AddInStore.cs (11)
94
FileIOPermission
permission = new FileIOPermission(FileIOPermissionAccess.PathDiscovery |
242
FileIOPermission
permission = new FileIOPermission(FileIOPermissionAccess.PathDiscovery |
523
FileIOPermission
permission = new FileIOPermission(FileIOPermissionAccess.PathDiscovery, pipelineRootFolderPath);
691
FileIOPermission
permission = new FileIOPermission(FileIOPermissionAccess.Read, fullPath);
767
FileIOPermission
permission = new FileIOPermission(FileIOPermissionAccess.Read, fileName);
820
FileIOPermission
permission = new FileIOPermission(FileIOPermissionAccess.PathDiscovery |
899
FileIOPermission
permission = new FileIOPermission(FileIOPermissionAccess.PathDiscovery |
993
FileIOPermission
permission = new FileIOPermission(FileIOPermissionAccess.PathDiscovery, path);
1131
FileIOPermission
permission = new FileIOPermission(PermissionState.None);
1259
FileIOPermission
permission = new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, directory);
1502
FileIOPermission
permission = new FileIOPermission(PermissionState.None);
System\Addin\Hosting\InspectionWorker.cs (1)
212
FileIOPermission
permission = new FileIOPermission(FileIOPermissionAccess.PathDiscovery |
System\Addin\MiniReflection\TypeInfo.cs (1)
162
FileIOPermission
permission = new FileIOPermission(PermissionState.None);
System.Configuration (1)
System\Configuration\Internal\InternalConfigHost.cs (1)
294
FileIOPermission
fileIOPerm = new FileIOPermission(FileIOPermissionAccess.AllAccess, AccessControlActions.View | AccessControlActions.Change, filePaths);
System.Data (3)
fx\src\data\System\Data\Common\AdapterUtil.cs (2)
2117
FileIOPermission
.RevertAssert();
2129
FileIOPermission
.RevertAssert();
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
535
FileIOPermission
filePerm;
System.Data.Entity (4)
System\Data\Metadata\MetadataCache.cs (4)
425
private
FileIOPermission
_filePermissions;
446
protected void UpdateMetadataEntry(ItemCollection itemCollection,
FileIOPermission
filePermissions)
648
FileIOPermission
filePermissions = null;
743
FileIOPermission
filePermissions = null;
System.Drawing (1)
commonui\System\Drawing\IntSecurity.cs (1)
48
FileIOPermission
fiop = new FileIOPermission(PermissionState.None);
System.Management (1)
Instrumentation\ManagementInstaller.cs (1)
83
FileIOPermission
ioPermission = new FileIOPermission(FileIOPermissionAccess.Read, (string)Context.Parameters["assemblypath"]);
System.Web (3)
Configuration\HttpCapabilitiesSectionHandler.cs (1)
301
FileIOPermission
fiop = new FileIOPermission(PermissionState.None);
HttpRuntime.cs (2)
2558
IPermission allowedPermission = NamedPermissionSet.GetPermission(typeof(
FileIOPermission
));
2645
IPermission allowedPermission = NamedPermissionSet.GetPermission(typeof(
FileIOPermission
));
System.Windows.Forms (12)
winforms\Managed\System\WinForms\Application.cs (2)
1045
FileIOPermission
fiop = new FileIOPermission(PermissionState.None);
1196
FileIOPermission
fiop = new FileIOPermission( PermissionState.None );
winforms\Managed\System\WinForms\ComboBox.cs (1)
258
FileIOPermission
fiop = new FileIOPermission(PermissionState.Unrestricted);
winforms\Managed\System\WinForms\Control.cs (1)
20270
FileIOPermission
fiop = new FileIOPermission( PermissionState.None );
winforms\Managed\System\WinForms\FileDialogCustomPlacesCollection.cs (1)
25
FileIOPermission
permission = new FileIOPermission(FileIOPermissionAccess.PathDiscovery, customPlace.Path);
winforms\Managed\System\WinForms\Form.cs (1)
4261
FileIOPermission
fiop = new FileIOPermission( PermissionState.None );
winforms\Managed\System\WinForms\ListView.cs (4)
2338
FileIOPermission
fiop = new FileIOPermission(PermissionState.Unrestricted);
2884
FileIOPermission
fiop = new FileIOPermission(PermissionState.Unrestricted);
2986
FileIOPermission
fiop = new FileIOPermission(PermissionState.Unrestricted);
4794
FileIOPermission
fiop = new FileIOPermission(PermissionState.Unrestricted);
winforms\Managed\System\WinForms\TextBox.cs (1)
201
FileIOPermission
fiop = new FileIOPermission(PermissionState.Unrestricted);
winforms\Managed\System\WinForms\WinFormsSecurity.cs (1)
489
FileIOPermission
fiop = new FileIOPermission( PermissionState.None );
System.Xml (5)
System\Xml\Serialization\Compilation.cs (3)
39
static volatile
FileIOPermission
fileIOPermission;
456
FileIOPermission
.RevertAssert();
568
internal static
FileIOPermission
FileIOPermission {
System\Xml\Serialization\XmlSerializationWriter.cs (2)
3238
static volatile
FileIOPermission
fileIOPermission;
3239
static
FileIOPermission
UnrestrictedFileIOPermission {
WindowsBase (1)
Shared\MS\Internal\SecurityHelper.cs (1)
871
FileIOPermission
permobj = new FileIOPermission(PermissionState.None);