46 references to ControlPrincipal
mscorlib (20)
system\appdomain.cs (2)
2668
[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.
ControlPrincipal
)]
2689
[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.
ControlPrincipal
)]
system\security\permissions\permissionattributes.cs (3)
667
get { return (m_flag & SecurityPermissionFlag.
ControlPrincipal
) != 0; }
668
set { m_flag = value ? m_flag | SecurityPermissionFlag.
ControlPrincipal
: m_flag & ~SecurityPermissionFlag.
ControlPrincipal
; }
system\security\permissions\principalpermission.cs (1)
465
new SecurityPermission(SecurityPermissionFlag.
ControlPrincipal
).Assert();
system\security\principal\windowsidentity.cs (11)
133
[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.
ControlPrincipal
)]
138
[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.
ControlPrincipal
)]
143
[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.
ControlPrincipal
)]
148
[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.
ControlPrincipal
)]
192
[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.
ControlPrincipal
)]
196
[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.
ControlPrincipal
)]
217
[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.
ControlPrincipal
)]
264
[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.
ControlPrincipal
)]
270
[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.
ControlPrincipal
)]
276
[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.
ControlPrincipal
)]
665
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.
ControlPrincipal
| SecurityPermissionFlag.UnmanagedCode)]
system\security\securitymanager.cs (2)
653
if ((securityPermissionFlags & SecurityPermissionFlag.
ControlPrincipal
) == SecurityPermissionFlag.
ControlPrincipal
)
system\threading\thread.cs (1)
1412
[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.
ControlPrincipal
)]
System (18)
net\System\Net\_AutoWebProxyScriptEngine.cs (2)
50
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
ControlPrincipal
)]
523
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
ControlPrincipal
)]
net\System\Net\_ContextAwareResult.cs (1)
132
[SecurityPermissionAttribute(SecurityAction.Assert, Flags=SecurityPermissionFlag.
ControlPrincipal
)]
net\System\Net\_NTAuthentication.cs (2)
379
[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.
ControlPrincipal
)]
438
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
ControlPrincipal
)]
net\System\Net\_SecureChannel.cs (2)
382
[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.
ControlPrincipal
)]
872
[SecurityPermissionAttribute(SecurityAction.Assert, Flags=SecurityPermissionFlag.
ControlPrincipal
)]
net\System\Net\Configuration\DefaultProxySection.cs (3)
140
[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.
ControlPrincipal
)]
169
new SecurityPermission(SecurityPermissionFlag.
ControlPrincipal
| SecurityPermissionFlag.UnmanagedCode).Assert();
215
new SecurityPermission(SecurityPermissionFlag.
ControlPrincipal
| SecurityPermissionFlag.UnmanagedCode).Assert();
net\System\Net\HttpListener.cs (3)
403
new SecurityPermission(SecurityPermissionFlag.
ControlPrincipal
).Demand();
443
new SecurityPermission(SecurityPermissionFlag.
ControlPrincipal
).Demand();
1320
[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.
ControlPrincipal
)]
net\System\Net\HttpListenerContext.cs (1)
78
new SecurityPermission(SecurityPermissionFlag.
ControlPrincipal
).Demand();
net\System\Net\Internal.cs (1)
953
internal static readonly SecurityPermission ControlPrincipalPermission = new SecurityPermission(SecurityPermissionFlag.
ControlPrincipal
);
net\System\Net\mail\smtpconnection.cs (1)
475
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
ControlPrincipal
)]
net\System\Net\WebRequest.cs (1)
935
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
ControlPrincipal
)]
sys\System\EnvironmentHelpers.cs (1)
35
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.UnmanagedCode | SecurityPermissionFlag.
ControlPrincipal
)]
System.AddIn (1)
System\Addin\Hosting\AddInServer.cs (1)
121
permissionSet.AddPermission(new SecurityPermission(SecurityPermissionFlag.
ControlPrincipal
));
System.Configuration (1)
System\Configuration\ClientConfigurationHost.cs (1)
491
[SecurityPermissionAttribute(SecurityAction.Assert, Flags=SecurityPermissionFlag.
ControlPrincipal
| SecurityPermissionFlag.UnmanagedCode)]
System.Core (2)
System\IO\Pipes\Pipe.cs (2)
793
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.
ControlPrincipal
)]
865
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.
ControlPrincipal
)]
System.Data (1)
fx\src\data\System\Data\ProviderBase\DbConnectionPoolIdentity.cs (1)
80
[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.
ControlPrincipal
)]
System.ServiceModel (1)
System\ServiceModel\Security\SecurityUtils.cs (1)
491
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
ControlPrincipal
)]
System.Web (1)
IntSecurity.cs (1)
46
_controlPrincipal = new SecurityPermission(SecurityPermissionFlag.
ControlPrincipal
);
WindowsBase (1)
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (1)
554
permissionSet.AddPermission(new SecurityPermission(SecurityPermissionFlag.
ControlPrincipal
));