133 references to PermissionSet
mscorlib (46)
system\appdomain.cs (6)
540
new
PermissionSet
(PermissionState.Unrestricted).Assert();
2388
new
PermissionSet
(PermissionState.Unrestricted).Demand();
2656
_applicationTrust = new ApplicationTrust(new
PermissionSet
(PermissionState.Unrestricted));
4431
return new
PermissionSet
(PermissionState.Unrestricted);
4477
return new
PermissionSet
(PermissionState.Unrestricted);
4498
return new
PermissionSet
(PermissionState.Unrestricted);
system\globalization\japanesecalendar.cs (1)
171
PermissionSet permSet = new
PermissionSet
(PermissionState.None);
system\io\isolatedstorage\isolatedstorage.cs (1)
346
s_PermUnrestricted = new
PermissionSet
(
system\reflection\assembly.cs (1)
1606
return new
PermissionSet
(PermissionState.Unrestricted);
system\reflection\emit\assemblybuilder.cs (3)
360
new
PermissionSet
(PermissionState.Unrestricted).Demand();
721
(new
PermissionSet
(PermissionState.Unrestricted)).Assert();
922
(new
PermissionSet
(PermissionState.Unrestricted)).Assert();
system\resources\resourcewriter.cs (1)
354
PermissionSet permSet = new
PermissionSet
(PermissionState.None);
system\rttype.cs (1)
5389
PermissionSet ps = new
PermissionSet
(PermissionState.None);
system\runtime\remoting\configuration.cs (1)
922
private static PermissionSet s_fullTrust = new
PermissionSet
(PermissionState.Unrestricted);
system\runtime\remoting\crossappdomainchannel.cs (1)
43
private static PermissionSet s_fullTrust = new
PermissionSet
(PermissionState.Unrestricted);
system\security\codeaccesssecurityengine.cs (3)
506
demandSet = new
PermissionSet
(PermissionState.Unrestricted);
740
grantSet = new
PermissionSet
(PermissionState.Unrestricted);
771
grantSet = new
PermissionSet
(PermissionState.Unrestricted);
system\security\hostsecuritymanager.cs (2)
173
return new
PermissionSet
(PermissionState.Unrestricted);
181
return new
PermissionSet
(PermissionState.Unrestricted);
system\security\namedpermissionset.cs (2)
64
:
base
( state )
86
:
base
(PermissionState.None)
system\security\permissions\permissionattributes.cs (3)
1170
PermissionSet permSet = new
PermissionSet
( PermissionState.None );
1185
return new
PermissionSet
( PermissionState.Unrestricted );
1201
return new
PermissionSet
( PermissionState.None );
system\security\policy\applicationsecurityinfo.cs (1)
94
PermissionSet defaultRequest = new
PermissionSet
(PermissionState.None);
system\security\policy\applicationtrust.cs (2)
76
public ApplicationTrust () : this (new
PermissionSet
(PermissionState.None))
135
return new PolicyStatement(new
PermissionSet
(PermissionState.None));
system\security\policy\filecodegroup.cs (1)
125
PermissionSet permSet = new
PermissionSet
(PermissionState.None);
system\security\policy\policystatement.cs (6)
391
m_permSet = new
PermissionSet
( PermissionState.None );
412
m_permSet = new
PermissionSet
( PermissionState.None );
433
m_permSet = new
PermissionSet
( PermissionState.None );
468
m_permSet = new
PermissionSet
( PermissionState.None );
498
m_permSet = new
PermissionSet
( PermissionState.None );
509
m_permSet = new
PermissionSet
( PermissionState.None );
system\security\policymanager.cs (1)
166
grant = new
PermissionSet
(PermissionState.None);
system\security\securityelement.cs (1)
856
PermissionSet pset = new
PermissionSet
(PermissionState.None);
system\security\securitymanager.cs (4)
101
return new
PermissionSet
(PermissionState.None);
106
return new
PermissionSet
(PermissionState.Unrestricted);
148
return new
PermissionSet
(PermissionState.None);
361
return new
PermissionSet
(PermissionState.Unrestricted);
system\timezoneinfo.cs (4)
929
PermissionSet permSet = new
PermissionSet
(PermissionState.None);
1428
PermissionSet permSet = new
PermissionSet
(PermissionState.None);
2483
PermissionSet permSet = new
PermissionSet
(PermissionState.None);
2768
PermissionSet permSet = new
PermissionSet
(PermissionState.None);
PresentationCore (8)
Core\CSharp\System\Windows\Clipboard.cs (1)
732
permissionSetSource = new System.Security.
PermissionSet
(PermissionState.None);
Core\CSharp\System\Windows\Input\Command\ApplicationCommands.cs (1)
264
permissions = new
PermissionSet
(PermissionState.None);
Core\CSharp\System\Windows\Interop\HwndTarget.cs (1)
1597
PermissionSet unpackPermissionSet = new
PermissionSet
(PermissionState.None);
Shared\MS\Internal\SecurityHelper.cs (5)
339
_fullTrustPermissionSet = new
PermissionSet
(PermissionState.Unrestricted);
370
PermissionSet psToCheck = new
PermissionSet
(PermissionState.None);
401
PermissionSet psToCheck = new
PermissionSet
(PermissionState.None);
826
PermissionSet permissionSet = new
PermissionSet
(PermissionState.None);
1364
_plugInSerializerPermissions = new
PermissionSet
(PermissionState.Unrestricted);
PresentationFramework (3)
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
2271
PermissionSet ps = new
PermissionSet
(PermissionState.None);
src\Framework\System\Windows\Documents\RubberbandSelector.cs (1)
261
PermissionSet ps = new
PermissionSet
(PermissionState.None);
src\Shared\MS\Internal\SecurityHelper.cs (1)
1364
_plugInSerializerPermissions = new
PermissionSet
(PermissionState.Unrestricted);
System (16)
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (1)
250
PermissionSet perms = new
PermissionSet
(PermissionState.Unrestricted);
compmod\system\componentmodel\TypeDescriptor.cs (4)
369
PermissionSet typeDescriptorPermission = new
PermissionSet
(PermissionState.None);
407
PermissionSet typeDescriptorPermission = new
PermissionSet
(PermissionState.None);
3244
PermissionSet typeDescriptorPermission = new
PermissionSet
(PermissionState.None);
3281
PermissionSet typeDescriptorPermission = new
PermissionSet
(PermissionState.None);
compmod\system\security\permissions\ResourcePermissionBase.cs (1)
193
new
PermissionSet
(PermissionState.Unrestricted).Assert();
net\System\Net\_AutoWebProxyScriptWrapper.cs (1)
617
PermissionSet permissionSet = new
PermissionSet
(PermissionState.None);
security\system\security\cryptography\cryptoapi.cs (4)
3322
new
PermissionSet
(PermissionState.Unrestricted).Demand();
3348
new
PermissionSet
(PermissionState.Unrestricted).Demand();
3376
new
PermissionSet
(PermissionState.Unrestricted).Demand();
3799
new
PermissionSet
(PermissionState.Unrestricted).Demand();
security\system\security\cryptography\x509\x509chain.cs (1)
198
PermissionSet ps = new
PermissionSet
(PermissionState.None);
services\monitoring\system\diagnosticts\EventLog.cs (1)
73
PermissionSet permissionSet = new
PermissionSet
(PermissionState.None);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (3)
235
PermissionSet ps = new
PermissionSet
(PermissionState.None);
621
PermissionSet ps = new
PermissionSet
(PermissionState.None);
958
PermissionSet ps = new
PermissionSet
(PermissionState.None);
System.Activities (2)
System\Activities\Debugger\StateManager.cs (1)
715
PermissionSet unmanagedCodePermissionSet = new
PermissionSet
(PermissionState.None);
System\Activities\Runtime\CallbackWrapper.cs (1)
286
PermissionSet myPermissionSet = new
PermissionSet
(PermissionState.None);
System.AddIn (9)
System\Addin\Hosting\ActivationWorker.cs (2)
84
PermissionSet permissionSet = new
PermissionSet
(PermissionState.None);
255
PermissionSet permissionSet = new
PermissionSet
(PermissionState.None);
System\Addin\Hosting\AddInActivator.cs (3)
147
new
PermissionSet
(PermissionState.Unrestricted).Demand();
321
PermissionSet permissionSet = new
PermissionSet
(PermissionState.None);
492
PermissionSet assertSet = new
PermissionSet
(PermissionState.None);
System\Addin\Hosting\AddInControllerImpl.cs (1)
205
PermissionSet permissionSet = new
PermissionSet
(PermissionState.None);
System\Addin\Hosting\AddInServer.cs (1)
120
PermissionSet permissionSet = new
PermissionSet
(PermissionState.None);
System\Addin\Hosting\AddInStore.cs (1)
1021
PermissionSet permissionSet = new
PermissionSet
(PermissionState.None);
System\Addin\Hosting\Utils.cs (1)
261
new
PermissionSet
(PermissionState.Unrestricted).Demand();
System.Configuration (1)
System\Configuration\TypeUtil.cs (1)
261
s_fullTrustPermissionSet = new
PermissionSet
(PermissionState.Unrestricted);
System.Data (6)
fx\src\data\System\Data\Odbc\OdbcConnectionString.cs (1)
50
permissionSet = new System.Security.
PermissionSet
(System.Security.Permissions.PermissionState.None);
fx\src\data\System\Data\OleDb\oledbconnectionstring.cs (1)
164
permissionSet = new System.Security.
PermissionSet
(System.Security.Permissions.PermissionState.None);
fx\src\data\System\Data\OleDb\OleDbDataAdapter.cs (2)
166
System.Security.PermissionSet permissionSet = new System.Security.
PermissionSet
(System.Security.Permissions.PermissionState.None);
190
System.Security.PermissionSet permissionSet = new System.Security.
PermissionSet
(System.Security.Permissions.PermissionState.None);
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (1)
214
System.Security.PermissionSet permissionSet = new System.Security.
PermissionSet
(System.Security.Permissions.PermissionState.None);
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (1)
597
System.Security.PermissionSet permissionSet = new System.Security.
PermissionSet
(System.Security.Permissions.PermissionState.None);
System.Data.SqlXml (1)
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
46
CreateModulePermissionSet = new
PermissionSet
(PermissionState.None);
System.Drawing (1)
commonui\System\Drawing\IntSecurity.cs (1)
65
PermissionSet temp = new
PermissionSet
(PermissionState.None);
System.IdentityModel (1)
System\IdentityModel\Selectors\X509CertificateChain.cs (1)
94
PermissionSet ps = new
PermissionSet
(PermissionState.None);
System.Runtime.Remoting (2)
channels\sinks\binaryformattersinks.cs (1)
573
currentPermissionSet = new
PermissionSet
(PermissionState.None);
channels\sinks\soapformattersinks.cs (1)
641
currentPermissionSet = new
PermissionSet
(PermissionState.None);
System.Security (1)
system\security\cryptography\cryptoapi.cs (1)
2785
new
PermissionSet
(PermissionState.Unrestricted).Demand();
System.ServiceModel (1)
System\ServiceModel\Dispatcher\PartialTrustValidationBehavior.cs (1)
164
static readonly PermissionSet fullTrust = new
PermissionSet
(PermissionState.Unrestricted);
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\HostedTransportConfigurationManager.cs (1)
80
new
PermissionSet
(PermissionState.Unrestricted).Assert();
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (1)
811
PermissionSet ps = new
PermissionSet
(PermissionState.Unrestricted);
System.ServiceModel.Internals (1)
System\Runtime\PartialTrustHelpers.cs (1)
122
PermissionSet permissions = new
PermissionSet
(PermissionState.Unrestricted);
System.Web (13)
Hosting\ApplicationManager.cs (7)
968
permissionSet = new
PermissionSet
(PermissionState.Unrestricted);
1121
permissionSet = new
PermissionSet
(PermissionState.Unrestricted);
1127
permissionSet = new
PermissionSet
(PermissionState.Unrestricted);
1184
permissionSet = new
PermissionSet
(PermissionState.Unrestricted);
1505
PermissionSet fullTrust = new
PermissionSet
(PermissionState.Unrestricted);
1623
private PermissionSet Nothing = new
PermissionSet
(PermissionState.None);
1624
private PermissionSet FullTrust = new
PermissionSet
(PermissionState.Unrestricted);
HttpRuntime.cs (1)
3191
PermissionSet fullTrust = new
PermissionSet
(PermissionState.Unrestricted);
IntSecurity.cs (1)
26
_unrestricted = new
PermissionSet
(PermissionState.Unrestricted);
UI\WebParts\ImportCatalogPart.cs (2)
173
PermissionSet pset = new
PermissionSet
(PermissionState.None);
218
PermissionSet mediumPset = new
PermissionSet
(PermissionState.None);
UI\WebParts\WebPartManager.cs (2)
464
_mediumPermissionSet = new
PermissionSet
(PermissionState.None);
477
_minimalPermissionSet = new
PermissionSet
(PermissionState.None);
System.Web.Services (1)
System\Web\Services\Discovery\DiscoveryRequestHandler.cs (1)
43
new
PermissionSet
(PermissionState.Unrestricted).Demand();
System.Windows.Forms (7)
winforms\Managed\System\WinForms\Control.cs (2)
18145
new
PermissionSet
(PermissionState.Unrestricted).Assert();
18220
new
PermissionSet
(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\ListView.cs (1)
4795
System.Security.PermissionSet permSet = new System.Security.
PermissionSet
(PermissionState.Unrestricted);
winforms\Managed\System\WinForms\WindowsFormsSynchronizationContext.cs (2)
145
new
PermissionSet
(PermissionState.Unrestricted).Assert();
168
new
PermissionSet
(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\WinFormsSecurity.cs (2)
124
PermissionSet temp = new
PermissionSet
(PermissionState.None);
163
clipboardWrite = new
PermissionSet
(PermissionState.None);
System.Xml (4)
System\Xml\Serialization\Compilation.cs (1)
251
PermissionSet perms = new
PermissionSet
(PermissionState.None);
System\Xml\Serialization\Compiler.cs (2)
121
PermissionSet perms = new
PermissionSet
(PermissionState.None);
169
PermissionSet perms = new
PermissionSet
(PermissionState.None);
System\Xml\Xslt\XslCompiledTransform.cs (1)
57
MemberAccessPermissionSet = new
PermissionSet
(PermissionState.None);
WindowsBase (7)
Base\MS\Internal\AssemblyHelper.cs (1)
214
PermissionSet ps = new
PermissionSet
(PermissionState.Unrestricted);
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (3)
132
(new
PermissionSet
(PermissionState.Unrestricted)).Assert();
853
(new
PermissionSet
(PermissionState.Unrestricted)).Assert();
1032
(new
PermissionSet
(PermissionState.Unrestricted)).Assert(); // Blessed
Shared\MS\Internal\Invariant.cs (1)
308
PermissionSet ps = new
PermissionSet
(PermissionState.None);
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (1)
553
PermissionSet permissionSet = new
PermissionSet
(PermissionState.None);
Shared\MS\Internal\TextServicesLoader.cs (1)
212
PermissionSet ps = new
PermissionSet
(PermissionState.None);