136 references to PathDiscovery
mscorlib (47)
system\appdomain.cs (2)
1081
permission = new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
, dataDirectory);
2728
FileIOPermission.QuickDemand(FileIOPermissionAccess.
PathDiscovery
, dyndir);
system\AppDomainSetup.cs (1)
826
access: FileIOPermissionAccess.
PathDiscovery
,
system\diagnostics\stackframe.cs (2)
218
perm.AllFiles = FileIOPermissionAccess.
PathDiscovery
;
296
perm.AllFiles = FileIOPermissionAccess.
PathDiscovery
;
system\environment.cs (2)
419
FileIOPermission.QuickDemand(FileIOPermissionAccess.
PathDiscovery
, path);
1551
new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
, s).Demand();
system\io\__error.cs (1)
96
FileIOPermission.QuickDemand(FileIOPermissionAccess.
PathDiscovery
, path, false, false);
system\io\directoryinfo.cs (1)
630
FileIOPermission.QuickDemand(FileIOPermissionAccess.
PathDiscovery
, demandPath, false, false);
system\io\driveinfo.cs (2)
87
new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
, demandPath).Demand();
98
new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
, demandPath).Demand();
system\io\fileinfo.cs (1)
194
FileIOPermission.QuickDemand(FileIOPermissionAccess.
PathDiscovery
, directoryName, false, false);
system\io\filestream.cs (2)
872
FileIOPermission.QuickDemand(FileIOPermissionAccess.
PathDiscovery
, _fileName, false, false);
1207
FileIOPermission.QuickDemand(FileIOPermissionAccess.
PathDiscovery
, _fileName, false, false);
system\io\filesystemenumerable.cs (3)
238
new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
, demandPaths, false, false).Demand();
348
new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
, demandPaths, false, false).Demand();
591
FileIOPermission.QuickDemand(FileIOPermissionAccess.
PathDiscovery
, demandDir, false, false);
system\io\filesysteminfo.cs (3)
103
FileIOPermission.QuickDemand(FileIOPermissionAccess.
PathDiscovery
, FullPath);
115
FileIOPermission.QuickDemand(FileIOPermissionAccess.
PathDiscovery
, FullPath);
337
FileIOPermission.QuickDemand(FileIOPermissionAccess.
PathDiscovery
, FullPath);
system\io\longpath.cs (1)
588
FileIOPermission.QuickDemand(FileIOPermissionAccess.
PathDiscovery
, GetDemandDir(name, true), false, false);
system\io\path.cs (2)
335
FileIOPermission.QuickDemand(FileIOPermissionAccess.
PathDiscovery
, fullPath, false, false);
347
FileIOPermission.QuickDemand(FileIOPermissionAccess.
PathDiscovery
, fullPath, false, false);
system\reflection\assembly.cs (7)
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();
2778
FileIOPermissionAccess access = FileIOPermissionAccess.
PathDiscovery
;
2787
access = FileIOPermissionAccess.
PathDiscovery
| FileIOPermissionAccess.Read;
system\reflection\assemblyname.cs (1)
212
new FileIOPermission( FileIOPermissionAccess.
PathDiscovery
, fullPath ).Demand();
system\reflection\emit\modulebuilder.cs (1)
1005
new FileIOPermission( FileIOPermissionAccess.
PathDiscovery
, fullyQualifiedName ).Demand();
system\reflection\module.cs (1)
1107
new FileIOPermission( FileIOPermissionAccess.
PathDiscovery
, fullyQualifiedName ).Demand();
system\runtime\interopservices\runtimeenvironment.cs (2)
101
new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
, dir).Demand();
122
new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
, path).Demand();
system\security\permissions\fileiopermission.cs (7)
157
if ((access & FileIOPermissionAccess.
PathDiscovery
) != 0)
268
if ((access & FileIOPermissionAccess.
PathDiscovery
) != 0)
331
if (AccessIsSet(access, FileIOPermissionAccess.
PathDiscovery
))
372
access |= FileIOPermissionAccess.
PathDiscovery
;
419
if ((value & FileIOPermissionAccess.
PathDiscovery
) != 0)
461
access |= FileIOPermissionAccess.
PathDiscovery
;
514
if ((value & FileIOPermissionAccess.
PathDiscovery
) != 0)
system\security\permissions\permissionattributes.cs (1)
321
perm.SetPathList( FileIOPermissionAccess.
PathDiscovery
, m_pathDiscovery );
system\security\policy\applicationsecurityinfo.cs (1)
133
FileCodeGroup fileCodeGroup = new FileCodeGroup(new AllMembershipCondition(), FileIOPermissionAccess.Read | FileIOPermissionAccess.
PathDiscovery
);
system\security\policy\policylevel.cs (1)
1020
CodeGroup intranetFileCode = new FileCodeGroup(new AllMembershipCondition(), FileIOPermissionAccess.Read | FileIOPermissionAccess.
PathDiscovery
);
system\security\securitymanager.cs (1)
116
new 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)
176
FileIOPermissionAccess.Read | FileIOPermissionAccess.
PathDiscovery
,
Shared\MS\Internal\SecurityHelper.cs (3)
547
permobj.AllFiles = FileIOPermissionAccess.Write|FileIOPermissionAccess.Read |FileIOPermissionAccess.
PathDiscovery
;
670
new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
, path).Demand();
733
return 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)
63
fiop.AllLocalFiles = FileIOPermissionAccess.
PathDiscovery
;
System (10)
compmod\microsoft\win32\SystemEvents.cs (2)
1208
fiop.AllFiles = FileIOPermissionAccess.
PathDiscovery
| FileIOPermissionAccess.Read;
1272
new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
, executablePath).Demand();
compmod\system\componentmodel\IntSecurity.cs (1)
21
fiop.AllFiles = FileIOPermissionAccess.
PathDiscovery
;
net\System\Net\WebSockets\WebSocketProtocolComponent.cs (1)
146
[FileIOPermission(SecurityAction.Assert, AllFiles = FileIOPermissionAccess.
PathDiscovery
)]
services\monitoring\system\diagnosticts\FileVersionInfo.cs (2)
118
new 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)
283
FileIOPermission(SecurityAction.Assert, AllFiles=FileIOPermissionAccess.
PathDiscovery
| FileIOPermissionAccess.Read),
507
[FileIOPermission(SecurityAction.Assert, AllFiles=FileIOPermissionAccess.
PathDiscovery
| FileIOPermissionAccess.Read)]
sys\system\Media\SoundPlayer.cs (1)
124
fiop.AllFiles = FileIOPermissionAccess.
PathDiscovery
;
System.AddIn (24)
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
,
147
permission.AllLocalFiles = FileIOPermissionAccess.
PathDiscovery
;
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));
694
permission.AllLocalFiles = FileIOPermissionAccess.
PathDiscovery
;
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 (10)
94
FileIOPermission permission = new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
|
242
FileIOPermission permission = new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
|
523
FileIOPermission permission = new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
, pipelineRootFolderPath);
820
FileIOPermission permission = new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
|
899
FileIOPermission permission = new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
|
993
FileIOPermission permission = new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
, path);
1072
new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.
PathDiscovery
, storeFileName).Assert();
1132
permission.AllFiles = FileIOPermissionAccess.
PathDiscovery
;
1259
FileIOPermission permission = new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.
PathDiscovery
, directory);
1503
permission.AllFiles = FileIOPermissionAccess.
PathDiscovery
;
System\Addin\Hosting\InspectionWorker.cs (1)
212
FileIOPermission permission = new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
|
System\Addin\MiniReflection\TypeInfo.cs (1)
163
permission.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)
49
new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
, filename).Demand();
System\Configuration\Internal\InternalConfigHost.cs (2)
69
[FileIOPermission(SecurityAction.Assert, AllFiles = FileIOPermissionAccess.
PathDiscovery
)]
164
new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.
PathDiscovery
, streamName).Assert();
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 (2)
System\IO\__Error.cs (1)
109
new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
, new String[] { path }).Demand();
System\IO\LogStream.cs (1)
146
new 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)
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 (1)
49
fiop.AllFiles = FileIOPermissionAccess.
PathDiscovery
;
System.Runtime.Caching (1)
System\Caching\HostFileChangeMonitor.cs (1)
159
new 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)
302
fiop.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
)]
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();
HttpRuntime.cs (2)
351
new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
, dataDirectory));
2647
IPermission askedPermission = new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
, path);
IntSecurity.cs (2)
66
_appPathDiscovery = new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
, HttpRuntime.AppDomainAppPathInternal);
128
return 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)
438
IntSecurity.DemandFileIO(FileIOPermissionAccess.
PathDiscovery
, fileName);
winforms\Managed\System\WinForms\Application.cs (4)
387
new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
, executablePath).Demand();
649
new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
, startupPath).Demand();
1046
fiop.AllFiles = FileIOPermissionAccess.
PathDiscovery
;
1197
fiop.AllFiles = FileIOPermissionAccess.
PathDiscovery
| FileIOPermissionAccess.Read;
winforms\Managed\System\WinForms\ComboBox.cs (1)
259
fiop.AllFiles = FileIOPermissionAccess.
PathDiscovery
;
winforms\Managed\System\WinForms\Control.cs (2)
19846
IntSecurity.DemandFileIO(FileIOPermissionAccess.
PathDiscovery
, fileName);
20271
fiop.AllFiles = FileIOPermissionAccess.
PathDiscovery
;
winforms\Managed\System\WinForms\DataObject.cs (1)
1857
new FileIOPermission(FileIOPermissionAccess.
PathDiscovery
, fullPath).Demand();
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)
4262
fiop.AllFiles = FileIOPermissionAccess.
PathDiscovery
;
winforms\Managed\System\WinForms\TextBox.cs (1)
202
fiop.AllFiles = FileIOPermissionAccess.
PathDiscovery
;
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
4311
IntSecurity.DemandFileIO(FileIOPermissionAccess.
PathDiscovery
, fileName);
winforms\Managed\System\WinForms\WinFormsSecurity.cs (1)
490
fiop.AllFiles = FileIOPermissionAccess.
PathDiscovery
;
WindowsBase (1)
Shared\MS\Internal\SecurityHelper.cs (1)
872
permobj.AddPathList(FileIOPermissionAccess.
PathDiscovery
, path);