39 references to EnvironmentPermission
mscorlib (20)
system\bcldebug.cs (1)
358
perms.AddPermission(new
EnvironmentPermission
(PermissionState.Unrestricted));
system\environment.cs (8)
570
(new
EnvironmentPermission
(PermissionState.Unrestricted)).Demand();
667
(new
EnvironmentPermission
(PermissionState.Unrestricted)).Demand();
865
(new
EnvironmentPermission
(PermissionState.Unrestricted)).Demand();
895
new
EnvironmentPermission
(PermissionState.Unrestricted).Demand();
975
new
EnvironmentPermission
(PermissionState.Unrestricted).Demand();
1035
new
EnvironmentPermission
(PermissionState.Unrestricted).Demand();
1107
new
EnvironmentPermission
(PermissionState.Unrestricted).Demand();
1235
new
EnvironmentPermission
(PermissionState.Unrestricted).Demand();
system\io\path.cs (1)
1063
new
EnvironmentPermission
(PermissionState.Unrestricted).Demand();
system\reflection\emit\modulebuilder.cs (1)
1444
new
EnvironmentPermission
(PermissionState.Unrestricted).Assert();
system\resources\resourcewriter.cs (1)
355
permSet.AddPermission(new
EnvironmentPermission
(PermissionState.Unrestricted));
system\security\permissions\environmentpermission.cs (4)
276
EnvironmentPermission intersectPermission = new
EnvironmentPermission
(PermissionState.None);
303
return new
EnvironmentPermission
( PermissionState.Unrestricted );
315
EnvironmentPermission unionPermission = new
EnvironmentPermission
(PermissionState.None);
325
EnvironmentPermission copy = new
EnvironmentPermission
(PermissionState.None);
system\security\permissions\permissionattributes.cs (2)
174
return new
EnvironmentPermission
(PermissionState.Unrestricted);
178
EnvironmentPermission perm = new
EnvironmentPermission
(PermissionState.None);
system\security\securitymanager.cs (1)
560
new
EnvironmentPermission
(PermissionState.Unrestricted),
system\security\util\xmlutil.cs (1)
324
return new
EnvironmentPermission
( permState );
PresentationCore (2)
Core\CSharp\MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
385
permissionSet.AddPermission(new
EnvironmentPermission
(PermissionState.Unrestricted));
Shared\MS\Internal\SecurityHelper.cs (1)
700
_unrestrictedEnvironmentPermission = new
EnvironmentPermission
(PermissionState.Unrestricted);
PresentationFramework (3)
src\Framework\System\Windows\Application.cs (1)
2614
permissions.AddPermission(new
EnvironmentPermission
(PermissionState.Unrestricted));
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
784
permissions.AddPermission(new
EnvironmentPermission
(PermissionState.Unrestricted));
src\Framework\System\Windows\Documents\Speller.cs (1)
1669
new
EnvironmentPermission
(PermissionState.Unrestricted).Assert();
System (6)
compmod\system\diagnostics\TraceEventCache.cs (1)
34
new
EnvironmentPermission
(PermissionState.Unrestricted).Demand();
services\io\system\io\FileSystemWatcher.cs (1)
947
new
EnvironmentPermission
(PermissionState.Unrestricted).Assert();
services\monitoring\system\diagnosticts\EventLog.cs (1)
81
EnvironmentPermission environmentPermission = new
EnvironmentPermission
(PermissionState.Unrestricted);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (3)
190
EnvironmentPermission environmentPermission = new
EnvironmentPermission
(PermissionState.Unrestricted);
229
EnvironmentPermission environmentPermission = new
EnvironmentPermission
(PermissionState.Unrestricted);
236
ps.AddPermission(new
EnvironmentPermission
(PermissionState.Unrestricted));
System.Messaging (1)
System\Messaging\AccessControlList.cs (1)
42
EnvironmentPermission environmentPermission = new
EnvironmentPermission
(PermissionState.Unrestricted);
System.Web (2)
Hosting\HostingEnvironment.cs (1)
621
new
EnvironmentPermission
(PermissionState.Unrestricted).Assert();
HttpRuntime.cs (1)
2282
new
EnvironmentPermission
(PermissionState.Unrestricted).Assert();
System.Windows.Forms (3)
winforms\Managed\System\WinForms\FileDialog_Vista.cs (1)
43
new
EnvironmentPermission
(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\Form.cs (1)
4315
new
EnvironmentPermission
(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\WinFormsSecurity.cs (1)
378
sensitiveSystemInformation = new
EnvironmentPermission
(PermissionState.Unrestricted);
System.Xml (2)
System\Xml\Serialization\Compiler.cs (2)
123
perms.AddPermission(new
EnvironmentPermission
(PermissionState.Unrestricted));
173
perms.AddPermission(new
EnvironmentPermission
(PermissionState.Unrestricted));