39 references to PolicyStatementAttribute
mscorlib (38)
system\security\policy\codegroup.cs (2)
361
if (m_policy.Attributes !=
PolicyStatementAttribute
.Nothing)
362
e.AddAttribute( "Attributes", XMLUtil.BitFieldEnumToString( typeof(
PolicyStatementAttribute
), m_policy.Attributes ) );
system\security\policy\filecodegroup.cs (4)
67
if ((childPolicy.Attributes &
PolicyStatementAttribute
.Exclusive) ==
PolicyStatementAttribute
.Exclusive) {
128
return new PolicyStatement(permSet,
PolicyStatementAttribute
.Nothing);
142
thisPolicy = new PolicyStatement(new PermissionSet(false),
PolicyStatementAttribute
.Nothing);
system\security\policy\netcodegroup.cs (3)
393
if ((childPolicy.Attributes &
PolicyStatementAttribute
.Exclusive) ==
PolicyStatementAttribute
.Exclusive)
716
thisPolicy = new PolicyStatement( new PermissionSet( false ),
PolicyStatementAttribute
.Nothing );
system\security\policy\policylevel.cs (2)
752
policy = new PolicyStatement(new PermissionSet(true),
PolicyStatementAttribute
.Nothing);
1274
if ((frame.policy.Attributes &
PolicyStatementAttribute
.Exclusive) != 0) {
system\security\policy\policystatement.cs (22)
52
internal
PolicyStatementAttribute
m_attributes;
57
m_attributes =
PolicyStatementAttribute
.Nothing;
61
: this( permSet,
PolicyStatementAttribute
.Nothing )
65
public PolicyStatement( PermissionSet permSet,
PolicyStatementAttribute
attributes )
81
private PolicyStatement( PermissionSet permSet,
PolicyStatementAttribute
attributes, bool copy )
137
public
PolicyStatementAttribute
Attributes
174
if (GetFlag((int)
PolicyStatementAttribute
.Exclusive ))
179
if (GetFlag((int)
PolicyStatementAttribute
.LevelFinal ))
190
private static bool ValidProperties(
PolicyStatementAttribute
attributes )
192
if ((attributes & ~(
PolicyStatementAttribute
.All)) == 0)
252
if (((Attributes & childPolicy.Attributes) &
PolicyStatementAttribute
.Exclusive) ==
PolicyStatementAttribute
.Exclusive)
283
if ((childPolicy.Attributes &
PolicyStatementAttribute
.Exclusive) ==
PolicyStatementAttribute
.Exclusive)
316
if (m_attributes !=
PolicyStatementAttribute
.Nothing)
317
e.AddAttribute( "Attributes", XMLUtil.BitFieldEnumToString( typeof(
PolicyStatementAttribute
), m_attributes ) );
371
m_attributes = (
PolicyStatementAttribute
) 0;
376
m_attributes = (
PolicyStatementAttribute
)Enum.Parse( typeof(
PolicyStatementAttribute
), strAttributes );
448
m_attributes = (
PolicyStatementAttribute
) 0;
453
m_attributes = (
PolicyStatementAttribute
)Enum.Parse( typeof(
PolicyStatementAttribute
), strAttributes );
system\security\policy\unioncodegroup.cs (2)
74
if ((childPolicy.Attributes &
PolicyStatementAttribute
.Exclusive) ==
PolicyStatementAttribute
.Exclusive)
system\security\policymanager.cs (3)
134
else if ((policy.Attributes &
PolicyStatementAttribute
.LevelFinal) ==
PolicyStatementAttribute
.LevelFinal)
409
return (policy.Attributes &
PolicyStatementAttribute
.Exclusive) == 0;
System.Windows.Forms (1)
winforms\Managed\System\WinForms\TrustManager.cs (1)
540
appTrust.DefaultGrantSet = new PolicyStatement(info.DefaultRequestSet, (
PolicyStatementAttribute
) 0);