17 instantiations of PolicyStatement
mscorlib (13)
system\security\policy\applicationtrust.cs (3)
116
DefaultGrantSet = new
PolicyStatement
(defaultGrantSet);
135
return new
PolicyStatement
(new PermissionSet(PermissionState.None));
259
PolicyStatement ps = new
PolicyStatement
(null);
system\security\policy\codegroup.cs (2)
49
m_policy = new
PolicyStatement
();
635
PolicyStatement policy = new
PolicyStatement
();
system\security\policy\filecodegroup.cs (2)
128
return new
PolicyStatement
(permSet, PolicyStatementAttribute.Nothing);
142
thisPolicy = new
PolicyStatement
(new PermissionSet(false), PolicyStatementAttribute.Nothing);
system\security\policy\netcodegroup.cs (2)
690
PolicyStatement policy = new
PolicyStatement
();
716
thisPolicy = new
PolicyStatement
( new PermissionSet( false ), PolicyStatementAttribute.Nothing );
system\security\policy\policylevel.cs (3)
752
policy = new
PolicyStatement
(new PermissionSet(true), PolicyStatementAttribute.Nothing);
757
policy = new
PolicyStatement
();
936
PolicyStatement cachedSet = new
PolicyStatement
();
system\security\policy\policystatement.cs (1)
155
PolicyStatement copy = new
PolicyStatement
(m_permSet, Attributes, true); // The PolicyStatement .ctor will copy the permission set
System (1)
net\System\Net\_AutoWebProxyScriptWrapper.cs (1)
600
trust.DefaultGrantSet = new
PolicyStatement
(perms);
System.Web (2)
Hosting\ApplicationManager.cs (1)
1507
new
PolicyStatement
(fullTrust));
HttpRuntime.cs (1)
3194
new
PolicyStatement
(fullTrust));
System.Windows.Forms (1)
winforms\Managed\System\WinForms\TrustManager.cs (1)
540
appTrust.DefaultGrantSet = new
PolicyStatement
(info.DefaultRequestSet, (PolicyStatementAttribute) 0);
57 references to PolicyStatement
mscorlib (56)
system\security\policy\applicationsecurityinfo.cs (1)
134
PolicyStatement
ps = fileCodeGroup.CalculatePolicy(url);
system\security\policy\applicationtrust.cs (3)
54
private
PolicyStatement
m_psDefaultGrant;
132
public
PolicyStatement
DefaultGrantSet {
259
PolicyStatement
ps = new PolicyStatement(null);
system\security\policy\codegroup.cs (6)
24
PolicyStatement
InternalResolve( Evidence evidence );
33
private
PolicyStatement
m_policy;
56
protected CodeGroup( IMembershipCondition membershipCondition,
PolicyStatement
policy )
202
public
PolicyStatement
PolicyStatement
250
public abstract
PolicyStatement
Resolve( Evidence evidence );
635
PolicyStatement
policy = new PolicyStatement();
system\security\policy\filecodegroup.cs (8)
33
: base(membershipCondition, (
PolicyStatement
)null) {
40
public override
PolicyStatement
Resolve(Evidence evidence) {
48
PolicyStatement
thisPolicy = CalculateAssemblyPolicy(evidence);
61
PolicyStatement
childPolicy = PolicyManager.ResolveCodeGroup(enumerator.Current as CodeGroup,
83
PolicyStatement
IUnionSemanticCodeGroup.InternalResolve(Evidence evidence) {
119
internal
PolicyStatement
CalculatePolicy(Url url) {
133
private
PolicyStatement
CalculateAssemblyPolicy(Evidence evidence) {
134
PolicyStatement
thisPolicy = null;
system\security\policy\firstmatchcodegroup.cs (5)
31
public FirstMatchCodeGroup( IMembershipCondition membershipCondition,
PolicyStatement
policy )
38
public override
PolicyStatement
Resolve( Evidence evidence )
49
PolicyStatement
childPolicy = null;
70
PolicyStatement
thisPolicy = this.PolicyStatement; // PolicyStatement getter makes a copy for us
88
PolicyStatement
combined = thisPolicy.Copy();
system\security\policy\netcodegroup.cs (9)
275
: base( membershipCondition, (
PolicyStatement
)null )
361
public override
PolicyStatement
Resolve( Evidence evidence )
372
PolicyStatement
thisPolicy = CalculateAssemblyPolicy( evidence );
387
PolicyStatement
childPolicy = PolicyManager.ResolveCodeGroup(enumerator.Current as CodeGroup,
409
PolicyStatement
IUnionSemanticCodeGroup.InternalResolve( Evidence evidence )
676
internal
PolicyStatement
CalculatePolicy( String host, String scheme, String port )
690
PolicyStatement
policy = new PolicyStatement();
695
private
PolicyStatement
CalculateAssemblyPolicy( Evidence evidence )
698
PolicyStatement
thisPolicy = null;
system\security\policy\policylevel.cs (8)
505
public
PolicyStatement
Resolve(Evidence evidence) {
737
internal
PolicyStatement
Resolve (Evidence evidence, int count, byte[] serializedEvidence) {
742
PolicyStatement
policy = null;
763
PolicyStatement
ps = ((CodeGroupStackFrame)enumerator.Current).policy;
915
private void Cache (int count, byte[] serializedEvidence,
PolicyStatement
policy) {
926
private
PolicyStatement
CheckCache (int count, byte[] serializedEvidence) {
936
PolicyStatement
cachedSet = new PolicyStatement();
1400
internal
PolicyStatement
policy;
system\security\policy\policystatement.cs (5)
153
public
PolicyStatement
Copy()
155
PolicyStatement
copy = new PolicyStatement(m_permSet, Attributes, true); // The PolicyStatement .ctor will copy the permission set
248
internal void InplaceUnion(
PolicyStatement
childPolicy)
518
PolicyStatement
other = obj as
PolicyStatement
;
system\security\policy\unioncodegroup.cs (5)
36
public UnionCodeGroup( IMembershipCondition membershipCondition,
PolicyStatement
policy )
43
public override
PolicyStatement
Resolve( Evidence evidence )
52
PolicyStatement
thisPolicy = PolicyStatement; // PolicyStatement getter makes a copy for us
67
PolicyStatement
childPolicy = PolicyManager.ResolveCodeGroup(enumerator.Current as CodeGroup,
90
PolicyStatement
IUnionSemanticCodeGroup.InternalResolve( Evidence evidence )
system\security\policymanager.cs (3)
94
PolicyStatement
policy;
213
internal static
PolicyStatement
ResolveCodeGroup(CodeGroup codeGroup, Evidence evidence)
406
private static bool TestPolicyStatement (
PolicyStatement
policy) {
system\security\securitymanager.cs (3)
113
PolicyStatement
webPolicy =
115
PolicyStatement
filePolicy =
135
PolicyStatement
webPolicy =
PresentationFramework (1)
src\Framework\MS\Internal\AppModel\PresentationAppDomainManager.cs (1)
187
PolicyStatement
policy = group.Resolve(evidence);