136 references to PathDiscovery
mscorlib (47)
system\appdomain.cs (2)
1081permission = new FileIOPermission(FileIOPermissionAccess.PathDiscovery, dataDirectory); 2728FileIOPermission.QuickDemand(FileIOPermissionAccess.PathDiscovery, dyndir);
system\AppDomainSetup.cs (1)
826access: FileIOPermissionAccess.PathDiscovery,
system\diagnostics\stackframe.cs (2)
218perm.AllFiles = FileIOPermissionAccess.PathDiscovery; 296perm.AllFiles = FileIOPermissionAccess.PathDiscovery;
system\environment.cs (2)
419FileIOPermission.QuickDemand(FileIOPermissionAccess.PathDiscovery, path); 1551new FileIOPermission(FileIOPermissionAccess.PathDiscovery, s).Demand();
system\io\__error.cs (1)
96FileIOPermission.QuickDemand(FileIOPermissionAccess.PathDiscovery, path, false, false);
system\io\directoryinfo.cs (1)
630FileIOPermission.QuickDemand(FileIOPermissionAccess.PathDiscovery, demandPath, false, false);
system\io\driveinfo.cs (2)
87new FileIOPermission(FileIOPermissionAccess.PathDiscovery, demandPath).Demand(); 98new FileIOPermission(FileIOPermissionAccess.PathDiscovery, demandPath).Demand();
system\io\fileinfo.cs (1)
194FileIOPermission.QuickDemand(FileIOPermissionAccess.PathDiscovery, directoryName, false, false);
system\io\filestream.cs (2)
872FileIOPermission.QuickDemand(FileIOPermissionAccess.PathDiscovery, _fileName, false, false); 1207FileIOPermission.QuickDemand(FileIOPermissionAccess.PathDiscovery, _fileName, false, false);
system\io\filesystemenumerable.cs (3)
238new FileIOPermission(FileIOPermissionAccess.PathDiscovery, demandPaths, false, false).Demand(); 348new FileIOPermission(FileIOPermissionAccess.PathDiscovery, demandPaths, false, false).Demand(); 591FileIOPermission.QuickDemand(FileIOPermissionAccess.PathDiscovery, demandDir, false, false);
system\io\filesysteminfo.cs (3)
103FileIOPermission.QuickDemand(FileIOPermissionAccess.PathDiscovery, FullPath); 115FileIOPermission.QuickDemand(FileIOPermissionAccess.PathDiscovery, FullPath); 337FileIOPermission.QuickDemand(FileIOPermissionAccess.PathDiscovery, FullPath);
system\io\longpath.cs (1)
588FileIOPermission.QuickDemand(FileIOPermissionAccess.PathDiscovery, GetDemandDir(name, true), false, false);
system\io\path.cs (2)
335FileIOPermission.QuickDemand(FileIOPermissionAccess.PathDiscovery, fullPath, false, false); 347FileIOPermission.QuickDemand(FileIOPermissionAccess.PathDiscovery, fullPath, false, false);
system\reflection\assembly.cs (7)
587new FileIOPermission(FileIOPermissionAccess.PathDiscovery | FileIOPermissionAccess.Read, path).Demand(); 609new FileIOPermission(FileIOPermissionAccess.PathDiscovery | FileIOPermissionAccess.Read, path).Demand(); 1859new FileIOPermission( FileIOPermissionAccess.PathDiscovery | FileIOPermissionAccess.Read , urlString.GetFileName() ).Demand(); 2385new FileIOPermission( FileIOPermissionAccess.PathDiscovery, location ).Demand(); 2606new FileIOPermission( FileIOPermissionAccess.PathDiscovery, urlString.GetFileName() ).Demand(); 2778FileIOPermissionAccess access = FileIOPermissionAccess.PathDiscovery; 2787access = FileIOPermissionAccess.PathDiscovery | FileIOPermissionAccess.Read;
system\reflection\assemblyname.cs (1)
212new FileIOPermission( FileIOPermissionAccess.PathDiscovery, fullPath ).Demand();
system\reflection\emit\modulebuilder.cs (1)
1005new FileIOPermission( FileIOPermissionAccess.PathDiscovery, fullyQualifiedName ).Demand();
system\reflection\module.cs (1)
1107new FileIOPermission( FileIOPermissionAccess.PathDiscovery, fullyQualifiedName ).Demand();
system\runtime\interopservices\runtimeenvironment.cs (2)
101new FileIOPermission(FileIOPermissionAccess.PathDiscovery, dir).Demand(); 122new FileIOPermission(FileIOPermissionAccess.PathDiscovery, path).Demand();
system\security\permissions\fileiopermission.cs (7)
157if ((access & FileIOPermissionAccess.PathDiscovery) != 0) 268if ((access & FileIOPermissionAccess.PathDiscovery) != 0) 331if (AccessIsSet(access, FileIOPermissionAccess.PathDiscovery)) 372access |= FileIOPermissionAccess.PathDiscovery; 419if ((value & FileIOPermissionAccess.PathDiscovery) != 0) 461access |= FileIOPermissionAccess.PathDiscovery; 514if ((value & FileIOPermissionAccess.PathDiscovery) != 0)
system\security\permissions\permissionattributes.cs (1)
321perm.SetPathList( FileIOPermissionAccess.PathDiscovery, m_pathDiscovery );
system\security\policy\applicationsecurityinfo.cs (1)
133FileCodeGroup fileCodeGroup = new FileCodeGroup(new AllMembershipCondition(), FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery);
system\security\policy\policylevel.cs (1)
1020CodeGroup intranetFileCode = new FileCodeGroup(new AllMembershipCondition(), FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery);
system\security\securitymanager.cs (1)
116new FileCodeGroup(new AllMembershipCondition(), FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery).Resolve(evidence);
system\timezoneinfo.cs (1)
2570[FileIOPermissionAttribute(SecurityAction.Assert, AllLocalFiles = FileIOPermissionAccess.PathDiscovery)]
PresentationCore (4)
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (1)
176FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery,
Shared\MS\Internal\SecurityHelper.cs (3)
547permobj.AllFiles = FileIOPermissionAccess.Write|FileIOPermissionAccess.Read |FileIOPermissionAccess.PathDiscovery; 670new FileIOPermission(FileIOPermissionAccess.PathDiscovery, path).Demand(); 733return new FileIOPermission(FileIOPermissionAccess.PathDiscovery, uri.LocalPath);
PresentationFramework (3)
src\Framework\Microsoft\Win32\FileDialog.cs (1)
1236(new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, fileName)).Assert();
src\Framework\MS\Internal\AppModel\PresentationAppDomainManager.cs (1)
185(CodeGroup)new FileCodeGroup(membership, FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery)
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (1)
63fiop.AllLocalFiles = FileIOPermissionAccess.PathDiscovery;
System (10)
compmod\microsoft\win32\SystemEvents.cs (2)
1208fiop.AllFiles = FileIOPermissionAccess.PathDiscovery | FileIOPermissionAccess.Read; 1272new FileIOPermission(FileIOPermissionAccess.PathDiscovery, executablePath).Demand();
compmod\system\componentmodel\IntSecurity.cs (1)
21fiop.AllFiles = FileIOPermissionAccess.PathDiscovery;
net\System\Net\WebSockets\WebSocketProtocolComponent.cs (1)
146[FileIOPermission(SecurityAction.Assert, AllFiles = FileIOPermissionAccess.PathDiscovery)]
services\monitoring\system\diagnosticts\FileVersionInfo.cs (2)
118new FileIOPermission(FileIOPermissionAccess.PathDiscovery, fileName).Demand(); 419[FileIOPermission(SecurityAction.Assert, AllFiles=FileIOPermissionAccess.PathDiscovery)]
sys\system\configuration\ConfigurationException.cs (1)
148[FileIOPermission(SecurityAction.Assert, AllFiles=FileIOPermissionAccess.PathDiscovery)]
sys\system\configuration\LocalFileSettingsProvider.cs (2)
283FileIOPermission(SecurityAction.Assert, AllFiles=FileIOPermissionAccess.PathDiscovery | FileIOPermissionAccess.Read), 507[FileIOPermission(SecurityAction.Assert, AllFiles=FileIOPermissionAccess.PathDiscovery | FileIOPermissionAccess.Read)]
sys\system\Media\SoundPlayer.cs (1)
124fiop.AllFiles = FileIOPermissionAccess.PathDiscovery;
System.AddIn (24)
System\Addin\Hosting\ActivationWorker.cs (6)
85permissionSet.AddPermission(new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, 87permissionSet.AddPermission(new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, 89permissionSet.AddPermission(new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, 91permissionSet.AddPermission(new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, 147permission.AllLocalFiles = FileIOPermissionAccess.PathDiscovery; 258permissionSet.AddPermission(new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, dir));
System\Addin\Hosting\AddInActivator.cs (4)
322permissionSet.AddPermission(new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, 493assertSet.AddPermission(new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, hostAdapter.Location)); 494assertSet.AddPermission(new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, contract.Location)); 694permission.AllLocalFiles = FileIOPermissionAccess.PathDiscovery;
System\Addin\Hosting\AddInControllerImpl.cs (2)
206permissionSet.AddPermission(new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, 208permissionSet.AddPermission(new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery,
System\Addin\Hosting\AddInStore.cs (10)
94FileIOPermission permission = new FileIOPermission(FileIOPermissionAccess.PathDiscovery | 242FileIOPermission permission = new FileIOPermission(FileIOPermissionAccess.PathDiscovery | 523FileIOPermission permission = new FileIOPermission(FileIOPermissionAccess.PathDiscovery, pipelineRootFolderPath); 820FileIOPermission permission = new FileIOPermission(FileIOPermissionAccess.PathDiscovery | 899FileIOPermission permission = new FileIOPermission(FileIOPermissionAccess.PathDiscovery | 993FileIOPermission permission = new FileIOPermission(FileIOPermissionAccess.PathDiscovery, path); 1072new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, storeFileName).Assert(); 1132permission.AllFiles = FileIOPermissionAccess.PathDiscovery; 1259FileIOPermission permission = new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, directory); 1503permission.AllFiles = FileIOPermissionAccess.PathDiscovery;
System\Addin\Hosting\InspectionWorker.cs (1)
212FileIOPermission permission = new FileIOPermission(FileIOPermissionAccess.PathDiscovery |
System\Addin\MiniReflection\TypeInfo.cs (1)
163permission.AllLocalFiles = FileIOPermissionAccess.PathDiscovery;
System.Configuration (9)
System\Configuration\ClientConfigPaths.cs (1)
65[FileIOPermission(SecurityAction.Assert, AllFiles=FileIOPermissionAccess.PathDiscovery | FileIOPermissionAccess.Read)]
System\Configuration\ClientConfigurationHost.cs (1)
66[FileIOPermissionAttribute(SecurityAction.Assert, AllFiles = FileIOPermissionAccess.PathDiscovery)]
System\Configuration\ConfigurationErrorsException.cs (2)
142[FileIOPermission(SecurityAction.Assert, AllFiles=FileIOPermissionAccess.PathDiscovery)] 351[FileIOPermission(SecurityAction.Assert, AllFiles = FileIOPermissionAccess.PathDiscovery)]
System\Configuration\ConfigurationFileMap.cs (1)
49new FileIOPermission(FileIOPermissionAccess.PathDiscovery, filename).Demand();
System\Configuration\Internal\InternalConfigHost.cs (2)
69[FileIOPermission(SecurityAction.Assert, AllFiles = FileIOPermissionAccess.PathDiscovery)] 164new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, streamName).Assert();
System\Configuration\MgmtConfigurationRecord.cs (1)
1127new FileIOPermission(FileIOPermissionAccess.PathDiscovery, filepath).Demand();
System\Configuration\PropertySourceInfo.cs (1)
39new FileIOPermission(FileIOPermissionAccess.PathDiscovery, filename).Demand();
System.Core (2)
System\IO\__Error.cs (1)
109new FileIOPermission(FileIOPermissionAccess.PathDiscovery, new String[] { path }).Demand();
System\IO\LogStream.cs (1)
146new FileIOPermission(FileIOPermissionAccess.PathDiscovery, new String[] { _fileName }).Demand();
System.Data (1)
fx\src\data\System\Data\Common\AdapterUtil.cs (1)
2066[FileIOPermission(SecurityAction.Assert, AllFiles=FileIOPermissionAccess.PathDiscovery)]
System.Data.Entity (1)
System\Data\Common\EntityUtil.cs (1)
2042[FileIOPermission(SecurityAction.Assert, AllFiles = FileIOPermissionAccess.PathDiscovery)]
System.Drawing (3)
commonui\System\Drawing\Advanced\ImageCodecInfo.cs (2)
71new System.Security.Permissions.FileIOPermission(System.Security.Permissions.FileIOPermissionAccess.PathDiscovery, dllName).Demand(); 80new System.Security.Permissions.FileIOPermission(System.Security.Permissions.FileIOPermissionAccess.PathDiscovery, value).Demand();
commonui\System\Drawing\IntSecurity.cs (1)
49fiop.AllFiles = FileIOPermissionAccess.PathDiscovery;
System.Runtime.Caching (1)
System\Caching\HostFileChangeMonitor.cs (1)
159new FileIOPermission(FileIOPermissionAccess.PathDiscovery, path).Demand();
System.Web (15)
Configuration\HandlerFactoryCache.cs (1)
70[FileIOPermission(SecurityAction.Assert, AllFiles = FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery)]
Configuration\HttpCapabilitiesSectionHandler.cs (1)
302fiop.AllFiles = FileIOPermissionAccess.PathDiscovery;
Configuration\HttpConfigurationSystem.cs (1)
273[FileIOPermissionAttribute(SecurityAction.Assert, AllFiles=FileIOPermissionAccess.PathDiscovery)]
Configuration\HttpHandlerAction.cs (1)
139[FileIOPermission(SecurityAction.Assert, AllFiles = FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery)]
Configuration\WebConfigurationHost.cs (2)
489[FileIOPermissionAttribute(SecurityAction.Assert, AllFiles=FileIOPermissionAccess.PathDiscovery)] 904new FileIOPermission(FileIOPermissionAccess.PathDiscovery, machineConfig).Demand();
DataAccess\SqlConnectionHelper.cs (1)
119AppDomain.CurrentDomain.SetData(s_strDataDir, dataDir, new FileIOPermission(FileIOPermissionAccess.PathDiscovery, dataDir));
FileChangesMonitor.cs (1)
1491new FileIOPermission(FileIOPermissionAccess.PathDiscovery, alias).Assert();
HttpRuntime.cs (2)
351new FileIOPermission(FileIOPermissionAccess.PathDiscovery, dataDirectory)); 2647IPermission askedPermission = new FileIOPermission(FileIOPermissionAccess.PathDiscovery, path);
IntSecurity.cs (2)
66_appPathDiscovery = new FileIOPermission(FileIOPermissionAccess.PathDiscovery, HttpRuntime.AppDomainAppPathInternal); 128return new FileIOPermission(FileIOPermissionAccess.PathDiscovery, path);
UI\Util.cs (2)
1234[FileIOPermission(SecurityAction.Assert, AllFiles = FileIOPermissionAccess.PathDiscovery)] 1265[FileIOPermission(SecurityAction.Assert, AllFiles = FileIOPermissionAccess.PathDiscovery)]
Util\FileUtil.cs (1)
228[FileIOPermissionAttribute(SecurityAction.Assert, AllFiles=FileIOPermissionAccess.PathDiscovery)]
System.Windows.Forms (15)
winforms\Managed\System\WinForms\AccessibleObject.cs (1)
438IntSecurity.DemandFileIO(FileIOPermissionAccess.PathDiscovery, fileName);
winforms\Managed\System\WinForms\Application.cs (4)
387new FileIOPermission(FileIOPermissionAccess.PathDiscovery, executablePath).Demand(); 649new FileIOPermission(FileIOPermissionAccess.PathDiscovery, startupPath).Demand(); 1046fiop.AllFiles = FileIOPermissionAccess.PathDiscovery; 1197fiop.AllFiles = FileIOPermissionAccess.PathDiscovery | FileIOPermissionAccess.Read;
winforms\Managed\System\WinForms\ComboBox.cs (1)
259fiop.AllFiles = FileIOPermissionAccess.PathDiscovery;
winforms\Managed\System\WinForms\Control.cs (2)
19846IntSecurity.DemandFileIO(FileIOPermissionAccess.PathDiscovery, fileName); 20271fiop.AllFiles = FileIOPermissionAccess.PathDiscovery;
winforms\Managed\System\WinForms\DataObject.cs (1)
1857new FileIOPermission(FileIOPermissionAccess.PathDiscovery, fullPath).Demand();
winforms\Managed\System\WinForms\FileDialogCustomPlacesCollection.cs (1)
25FileIOPermission permission = new FileIOPermission(FileIOPermissionAccess.PathDiscovery, customPlace.Path);
winforms\Managed\System\WinForms\FolderBrowserDialog.cs (1)
135new FileIOPermission(FileIOPermissionAccess.PathDiscovery, selectedPath).Demand();
winforms\Managed\System\WinForms\Form.cs (1)
4262fiop.AllFiles = FileIOPermissionAccess.PathDiscovery;
winforms\Managed\System\WinForms\TextBox.cs (1)
202fiop.AllFiles = FileIOPermissionAccess.PathDiscovery;
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
4311IntSecurity.DemandFileIO(FileIOPermissionAccess.PathDiscovery, fileName);
winforms\Managed\System\WinForms\WinFormsSecurity.cs (1)
490fiop.AllFiles = FileIOPermissionAccess.PathDiscovery;
WindowsBase (1)
Shared\MS\Internal\SecurityHelper.cs (1)
872permobj.AddPathList(FileIOPermissionAccess.PathDiscovery, path);