34 references to ControlPolicy
mscorlib (30)
system\badimageformatexception.cs (1)
142
[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.
ControlPolicy
)]
system\exception.cs (1)
916
SecurityPermission sp= new SecurityPermission(SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.
ControlPolicy
);
system\io\fileloadexception.cs (1)
160
[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.
ControlPolicy
)]
system\io\filenotfoundexception.cs (1)
146
[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.
ControlPolicy
)]
system\io\isolatedstorage\isolatedstorage.cs (3)
437
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.
ControlPolicy
)]
453
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.
ControlPolicy
)]
468
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.
ControlPolicy
)]
system\security\permissions\permissionattributes.cs (3)
652
get { return (m_flag & SecurityPermissionFlag.
ControlPolicy
) != 0; }
653
set { m_flag = value ? m_flag | SecurityPermissionFlag.
ControlPolicy
: m_flag & ~SecurityPermissionFlag.
ControlPolicy
; }
system\security\policy\applicationsecuritymanager.cs (2)
67
[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.
ControlPolicy
)]
75
[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.
ControlPolicy
)]
system\security\policy\policylevel.cs (1)
212
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.
ControlPolicy
)]
system\security\policymanager.cs (1)
65
[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.
ControlPolicy
)]
system\security\securityexception.cs (11)
376
[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.
ControlPolicy
)]
391
[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.
ControlPolicy
)]
407
[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.
ControlPolicy
)]
422
[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.
ControlPolicy
)]
437
[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.
ControlPolicy
)]
453
[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.
ControlPolicy
)]
469
[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.
ControlPolicy
)]
485
[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.
ControlPolicy
)]
506
[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.
ControlPolicy
)]
539
[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.
ControlPolicy
)]
619
new SecurityPermission(SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.
ControlPolicy
).Demand();
system\security\securitymanager.cs (4)
161
[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.
ControlPolicy
)]
195
[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.
ControlPolicy
)]
241
[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.
ControlPolicy
)]
392
[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.
ControlPolicy
)]
system\threading\synchronizationcontext.cs (1)
59
[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags =SecurityPermissionFlag.
ControlPolicy
|SecurityPermissionFlag.ControlEvidence)]
PresentationCore (1)
Core\CSharp\MS\Internal\AppModel\CustomCredentialPolicy.cs (1)
85
new SecurityPermission(SecurityPermissionFlag.
ControlPolicy
).Assert(); // BlessedAssert:
System (1)
net\System\Net\Internal.cs (1)
952
internal static readonly SecurityPermission ControlPolicyPermission = new SecurityPermission(SecurityPermissionFlag.
ControlPolicy
);
WindowsBase (2)
Base\System\Windows\Threading\DispatcherSynchronizationContext.cs (1)
93
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
ControlPolicy
|SecurityPermissionFlag.ControlEvidence)]
Shared\MS\Internal\ReaderWriterLockWrapper.cs (1)
317
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
ControlPolicy
|SecurityPermissionFlag.ControlEvidence)]