313 references to Unrestricted
mscorlib (96)
system\appdomain.cs (6)
540new PermissionSet(PermissionState.Unrestricted).Assert(); 2388new PermissionSet(PermissionState.Unrestricted).Demand(); 2656_applicationTrust = new ApplicationTrust(new PermissionSet(PermissionState.Unrestricted)); 4431return new PermissionSet(PermissionState.Unrestricted); 4477return new PermissionSet(PermissionState.Unrestricted); 4498return new PermissionSet(PermissionState.Unrestricted);
system\bcldebug.cs (1)
358perms.AddPermission(new EnvironmentPermission(PermissionState.Unrestricted));
system\environment.cs (8)
570(new EnvironmentPermission(PermissionState.Unrestricted)).Demand(); 667(new EnvironmentPermission(PermissionState.Unrestricted)).Demand(); 865(new EnvironmentPermission(PermissionState.Unrestricted)).Demand(); 895new EnvironmentPermission(PermissionState.Unrestricted).Demand(); 975new EnvironmentPermission(PermissionState.Unrestricted).Demand(); 1035new EnvironmentPermission(PermissionState.Unrestricted).Demand(); 1107new EnvironmentPermission(PermissionState.Unrestricted).Demand(); 1235new EnvironmentPermission(PermissionState.Unrestricted).Demand();
system\io\isolatedstorage\isolatedstorage.cs (1)
347PermissionState.Unrestricted);
system\io\isolatedstorage\isolatedstoragefile.cs (1)
1898PermissionState.Unrestricted);
system\io\path.cs (1)
1063new EnvironmentPermission(PermissionState.Unrestricted).Demand();
system\reflection\assembly.cs (1)
1606return new PermissionSet(PermissionState.Unrestricted);
system\reflection\emit\assemblybuilder.cs (3)
360new PermissionSet(PermissionState.Unrestricted).Demand(); 721(new PermissionSet(PermissionState.Unrestricted)).Assert(); 922(new PermissionSet(PermissionState.Unrestricted)).Assert();
system\reflection\emit\modulebuilder.cs (1)
1444new EnvironmentPermission(PermissionState.Unrestricted).Assert();
system\resources\filebasedresourcegroveler.cs (1)
54new System.Security.Permissions.FileIOPermission(System.Security.Permissions.PermissionState.Unrestricted).Assert();
system\resources\resourcewriter.cs (2)
355permSet.AddPermission(new EnvironmentPermission(PermissionState.Unrestricted)); 356permSet.AddPermission(new FileIOPermission(PermissionState.Unrestricted));
system\runtime\remoting\configuration.cs (2)
922private static PermissionSet s_fullTrust = new PermissionSet(PermissionState.Unrestricted); 1700new FileIOPermission(PermissionState.Unrestricted).Assert();
system\runtime\remoting\crossappdomainchannel.cs (1)
43private static PermissionSet s_fullTrust = new PermissionSet(PermissionState.Unrestricted);
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (1)
75private static FileIOPermission sfileIOPermission = new FileIOPermission(PermissionState.Unrestricted);
system\security\accesscontrol\filesecurity.cs (2)
463FileIOPermission.QuickDemand(PermissionState.Unrestricted); 661FileIOPermission.QuickDemand(PermissionState.Unrestricted);
system\security\codeaccesssecurityengine.cs (3)
506demandSet = new PermissionSet(PermissionState.Unrestricted); 740grantSet = new PermissionSet(PermissionState.Unrestricted); 771grantSet = new PermissionSet(PermissionState.Unrestricted);
system\security\hostsecuritymanager.cs (2)
173return new PermissionSet(PermissionState.Unrestricted); 181return new PermissionSet(PermissionState.Unrestricted);
system\security\permissions\environmentpermission.cs (2)
84if (state == PermissionState.Unrestricted) 303return new EnvironmentPermission( PermissionState.Unrestricted );
system\security\permissions\filedialogpermission.cs (1)
43if (state == PermissionState.Unrestricted) {
system\security\permissions\fileiopermission.cs (2)
56if (state == PermissionState.Unrestricted) 726return new FileIOPermission(PermissionState.Unrestricted);
system\security\permissions\gacidentitypermission.cs (1)
52if (state != PermissionState.Unrestricted && state != PermissionState.None)
system\security\permissions\hostprotectionpermission.cs (2)
135return new HostProtectionPermission( PermissionState.Unrestricted ); 171if (state == PermissionState.Unrestricted)
system\security\permissions\isolatedstoragefilepermission.cs (2)
52return new IsolatedStorageFilePermission( PermissionState.Unrestricted ); 141copy = new IsolatedStorageFilePermission(PermissionState.Unrestricted);
system\security\permissions\isolatedstoragepermission.cs (1)
70if (state == PermissionState.Unrestricted)
system\security\permissions\keycontainerpermission.cs (2)
377if (state == PermissionState.Unrestricted) 510return new KeyContainerPermission(PermissionState.Unrestricted);
system\security\permissions\permissionattributes.cs (16)
174return new EnvironmentPermission(PermissionState.Unrestricted); 220return new FileDialogPermission( PermissionState.Unrestricted ); 309return new FileIOPermission(PermissionState.Unrestricted); 386return new KeyContainerPermission(PermissionState.Unrestricted); 444return new PrincipalPermission( PermissionState.Unrestricted ); 506return new ReflectionPermission( PermissionState.Unrestricted ); 577return new RegistryPermission( PermissionState.Unrestricted ); 696return new SecurityPermission( PermissionState.Unrestricted ); 736return new UIPermission( PermissionState.Unrestricted ); 770return new ZoneIdentityPermission(PermissionState.Unrestricted); 819return new StrongNameIdentityPermission( PermissionState.Unrestricted ); 865return new SiteIdentityPermission( PermissionState.Unrestricted ); 901return new UrlIdentityPermission( PermissionState.Unrestricted ); 956return new PublisherIdentityPermission( PermissionState.Unrestricted ); 1067(PermissionState.Unrestricted); 1185return new PermissionSet( PermissionState.Unrestricted );
system\security\permissions\principalpermission.cs (2)
128if (state == PermissionState.Unrestricted) 387return new PrincipalPermission( PermissionState.Unrestricted );
system\security\permissions\publisheridentitypermission.cs (1)
43if (state == PermissionState.Unrestricted)
system\security\permissions\reflectionpermission.cs (3)
61if (state == PermissionState.Unrestricted) 185return new ReflectionPermission( PermissionState.Unrestricted ); 249return new ReflectionPermission(PermissionState.Unrestricted);
system\security\permissions\registrypermission.cs (2)
51if (state == PermissionState.Unrestricted) 339return new RegistryPermission( PermissionState.Unrestricted );
system\security\permissions\securitypermission.cs (4)
70if (state == PermissionState.Unrestricted) 181return(new SecurityPermission(PermissionState.Unrestricted)); 209return new SecurityPermission(PermissionState.Unrestricted); 237return new SecurityPermission(PermissionState.Unrestricted);
system\security\permissions\siteidentitypermission.cs (1)
96if (state == PermissionState.Unrestricted)
system\security\permissions\strongnameidentitypermission.cs (1)
128if (state == PermissionState.Unrestricted)
system\security\permissions\uipermission.cs (1)
79if (state == PermissionState.Unrestricted)
system\security\permissions\urlidentitypermission.cs (1)
99if (state == PermissionState.Unrestricted)
system\security\permissions\zoneidentitypermission.cs (1)
105if (state == PermissionState.Unrestricted)
system\security\permissionset.cs (3)
202if (state == PermissionState.Unrestricted) 471objs[0] = PermissionState.Unrestricted; 2044finalPerm = XMLUtil.CreatePermission( GetPermissionElement((SecurityElement)enumerator.Current), PermissionState.Unrestricted, ignoreTypeLoadFailures );
system\security\permissiontoken.cs (2)
160s_reflectPerm = new ReflectionPermission(PermissionState.Unrestricted); 248s_reflectPerm = new ReflectionPermission(PermissionState.Unrestricted);
system\security\securitymanager.cs (8)
106return new PermissionSet(PermissionState.Unrestricted); 361return new PermissionSet(PermissionState.Unrestricted); 560new EnvironmentPermission(PermissionState.Unrestricted), 561new FileDialogPermission(PermissionState.Unrestricted), 562new FileIOPermission(PermissionState.Unrestricted), 563new ReflectionPermission(PermissionState.Unrestricted), 564new SecurityPermission(PermissionState.Unrestricted), 565new UIPermission(PermissionState.Unrestricted)
PresentationCore (18)
Core\CSharp\MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
385permissionSet.AddPermission(new EnvironmentPermission(PermissionState.Unrestricted));
Core\CSharp\MS\Internal\IO\Packaging\ByteRangeDownloader.cs (1)
526new WebPermission(PermissionState.Unrestricted).Assert(); // Blessed
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (1)
649new WebPermission(PermissionState.Unrestricted).Assert(); // Blessed
Core\CSharp\System\Windows\Interop\HwndAppCommandInputProvider.cs (1)
23(new UIPermission(PermissionState.Unrestricted)).Assert();
Core\CSharp\System\Windows\Interop\HwndKeyboardInputProvider.cs (1)
28(new UIPermission(PermissionState.Unrestricted)).Assert();
Core\CSharp\System\Windows\Interop\HwndMouseInputProvider.cs (1)
27(new UIPermission(PermissionState.Unrestricted)).Assert();
Core\CSharp\System\Windows\Interop\HwndStylusInputProvider.cs (1)
45(new UIPermission(PermissionState.Unrestricted)).Assert();
Core\CSharp\System\Windows\Interop\HwndTarget.cs (2)
1600unpackPermissionSet.AddPermission(new System.Net.DnsPermission(PermissionState.Unrestricted)); 1601unpackPermissionSet.AddPermission(new System.Net.SocketPermission(PermissionState.Unrestricted));
Shared\MS\Internal\SecurityHelper.cs (9)
339_fullTrustPermissionSet = new PermissionSet(PermissionState.Unrestricted); 413new FileIOPermission(PermissionState.Unrestricted).Assert();// BlessedAssert 572siteOfOriginReadPermission = new FileIOPermission(PermissionState.Unrestricted); 576siteOfOriginReadPermission = new WebPermission(PermissionState.Unrestricted); 700_unrestrictedEnvironmentPermission = new EnvironmentPermission(PermissionState.Unrestricted); 981_unrestrictedRegistryPermission = new RegistryPermission(PermissionState.Unrestricted); 1078_unrestrictedUIPermission = new UIPermission(PermissionState.Unrestricted); 1093_appDomainGrantedUnrestrictedUIPermission = AppDomainHasPermission(new UIPermission(PermissionState.Unrestricted)); 1364_plugInSerializerPermissions = new PermissionSet(PermissionState.Unrestricted);
PresentationFramework (23)
src\Framework\Microsoft\Win32\OpenFileDialog.cs (1)
471new SecurityPermission(PermissionState.Unrestricted).Assert();
src\Framework\Microsoft\Win32\SaveFileDialog.cs (2)
276(new FileIOPermission(PermissionState.Unrestricted)).Assert();//BlessedAssert 413new SecurityPermission(PermissionState.Unrestricted).Assert();
src\Framework\MS\Internal\AppModel\AssemblyFilter.cs (1)
106(new FileIOPermission(PermissionState.Unrestricted)).Assert();//BlessedAssert
src\Framework\MS\Internal\AppModel\ContentFilePart.cs (1)
135permissionSet.AddPermission(new FileIOPermission(PermissionState.Unrestricted));
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
674new UIPermission(PermissionState.Unrestricted).Assert(); //BlessedAssert
src\Framework\MS\Internal\Permissions\UserInitiatedNavigationPermission.cs (1)
40public UserInitiatedNavigationPermission() : this(PermissionState.Unrestricted)
src\Framework\System\Windows\Application.cs (1)
2614permissions.AddPermission(new EnvironmentPermission(PermissionState.Unrestricted));
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
784permissions.AddPermission(new EnvironmentPermission(PermissionState.Unrestricted));
src\Framework\System\Windows\Controls\WebBrowser.cs (1)
1222(new System.Net.WebPermission(PermissionState.Unrestricted)).Demand();
src\Framework\System\Windows\Documents\Hyperlink.cs (1)
883(new System.Net.WebPermission(PermissionState.Unrestricted)).Demand();
src\Framework\System\Windows\Documents\ImmComposition.cs (1)
327new UIPermission(PermissionState.Unrestricted).Assert(); // BlessedAssert
src\Framework\System\Windows\Documents\Speller.cs (2)
1669new EnvironmentPermission(PermissionState.Unrestricted).Assert(); 1705new FileIOPermission(PermissionState.Unrestricted).Assert();
src\Framework\System\Windows\Interop\BrowserInteropHelper.cs (1)
365(new UIPermission(PermissionState.Unrestricted)).Assert(); // Blessed assert
src\Framework\System\Windows\Interop\DocobjHost.cs (2)
122(new SecurityPermission(PermissionState.Unrestricted)).Assert(); //BlessedAssert 959IsolatedStorageFilePermission storagePermission = new IsolatedStorageFilePermission(PermissionState.Unrestricted);
src\Framework\System\Windows\Interop\HwndHost.cs (2)
1035new UIPermission(PermissionState.Unrestricted).Assert(); //BlessedAssert: 1060new UIPermission(PermissionState.Unrestricted).Assert(); //BlessedAssert:
src\Shared\MS\Internal\SecurityHelper.cs (4)
199_webBrowserPermission = new WebBrowserPermission(PermissionState.Unrestricted); 1078_unrestrictedUIPermission = new UIPermission(PermissionState.Unrestricted); 1141_unrestrictedFileIOPermission = new FileIOPermission(PermissionState.Unrestricted); 1364_plugInSerializerPermissions = new PermissionSet(PermissionState.Unrestricted);
System (65)
compmod\microsoft\win32\SystemEvents.cs (1)
1042new RegistryPermission(PermissionState.Unrestricted).Assert();
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (4)
98FileIOPermission perm = new FileIOPermission(PermissionState.Unrestricted); 133FileIOPermission perm = new FileIOPermission(PermissionState.Unrestricted); 161FileIOPermission perm = new FileIOPermission(PermissionState.Unrestricted); 250PermissionSet perms = new PermissionSet(PermissionState.Unrestricted);
compmod\system\componentmodel\IntSecurity.cs (1)
15public static readonly CodeAccessPermission FullReflection = new ReflectionPermission(PermissionState.Unrestricted);
compmod\system\diagnostics\TraceEventCache.cs (1)
34new EnvironmentPermission(PermissionState.Unrestricted).Demand();
compmod\system\security\permissions\AspNetHostingPermission.cs (2)
50return new AspNetHostingPermission(PermissionState.Unrestricted); 90case PermissionState.Unrestricted:
compmod\system\security\permissions\ResourcePermissionBase.cs (2)
47if (state == PermissionState.Unrestricted) 193new PermissionSet(PermissionState.Unrestricted).Assert();
net\System\Net\_FtpControlStream.cs (2)
690new SocketPermission(PermissionState.Unrestricted).Assert(); 1108new SocketPermission(PermissionState.Unrestricted).Assert();
net\System\Net\_NetworkingPerfCounters.cs (1)
185PerformanceCounterPermission perfCounterPermission = new PerformanceCounterPermission(PermissionState.Unrestricted);
net\System\Net\Configuration\UriSection.cs (2)
159new FileIOPermission(PermissionState.Unrestricted).Assert(); 207new FileIOPermission(PermissionState.Unrestricted).Assert();
net\System\Net\DNS.cs (1)
32private static DnsPermission s_DnsPermission = new DnsPermission(PermissionState.Unrestricted);
net\System\Net\DnsPermission.cs (2)
30return new DnsPermission( PermissionState.Unrestricted); 55m_noRestriction = (state==PermissionState.Unrestricted);
net\System\Net\HttpWebRequest.cs (1)
5453new ReflectionPermission(PermissionState.Unrestricted).Assert();
net\System\Net\Internal.cs (1)
950internal static readonly SocketPermission UnrestrictedSocketPermission = new SocketPermission(PermissionState.Unrestricted);
net\System\Net\mail\smtppermission.cs (2)
52perm = new SmtpPermission(PermissionState.Unrestricted); 87if (state == PermissionState.Unrestricted){
net\System\Net\NetworkInformation\NetworkInformationPermission.cs (2)
49perm = new NetworkInformationPermission(PermissionState.Unrestricted); 82if (state == PermissionState.Unrestricted){
net\System\Net\SocketPermission.cs (2)
104perm = new SocketPermission( PermissionState.Unrestricted); 221m_noRestriction = (state == PermissionState.Unrestricted);
net\System\Net\WebPermission.cs (2)
148perm = new WebPermission( PermissionState.Unrestricted); 313m_noRestriction = (state == PermissionState.Unrestricted);
parent\parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (1)
429new FileIOPermission(PermissionState.Unrestricted).Assert();
regex\system\text\regularexpressions\compiledregexrunnerfactory.cs (1)
31new ReflectionPermission(PermissionState.Unrestricted).Assert();
regex\system\text\regularexpressions\RegexCompiler.cs (4)
137new ReflectionPermission(PermissionState.Unrestricted).Assert(); 199new ReflectionPermission(PermissionState.Unrestricted).Assert(); 237new ReflectionPermission(PermissionState.Unrestricted).Assert(); 3082new ReflectionPermission(PermissionState.Unrestricted).Assert();
security\system\security\cryptography\cryptoapi.cs (4)
3322new PermissionSet(PermissionState.Unrestricted).Demand(); 3348new PermissionSet(PermissionState.Unrestricted).Demand(); 3376new PermissionSet(PermissionState.Unrestricted).Demand(); 3799new PermissionSet(PermissionState.Unrestricted).Demand();
security\system\security\cryptography\x509\x509chain.cs (1)
199ps.AddPermission(new WebPermission(PermissionState.Unrestricted));
security\system\security\permissions\storepermission.cs (1)
19if (state == PermissionState.Unrestricted)
security\system\security\permissions\storepermissionattribute.cs (1)
64return new StorePermission(PermissionState.Unrestricted);
security\system\security\permissions\typedescriptorpermission.cs (1)
39if (state == PermissionState.Unrestricted)
security\system\security\permissions\typedescriptorpermissionattribute.cs (1)
34return new TypeDescriptorPermission(PermissionState.Unrestricted);
services\io\system\io\FileSystemWatcher.cs (2)
947new EnvironmentPermission(PermissionState.Unrestricted).Assert(); 1002SecurityPermission secPermission = new SecurityPermission(PermissionState.Unrestricted);
services\monitoring\system\diagnosticts\CounterSampleCalculator.cs (1)
232new FileIOPermission(PermissionState.Unrestricted).Assert();
services\monitoring\system\diagnosticts\EventLog.cs (2)
76RegistryPermission registryPermission = new RegistryPermission(PermissionState.Unrestricted); 81EnvironmentPermission environmentPermission = new EnvironmentPermission(PermissionState.Unrestricted);
services\monitoring\system\diagnosticts\EventLogPermissionAttribute.cs (1)
51return new EventLogPermission(PermissionState.Unrestricted);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (11)
190EnvironmentPermission environmentPermission = new EnvironmentPermission(PermissionState.Unrestricted); 229EnvironmentPermission environmentPermission = new EnvironmentPermission(PermissionState.Unrestricted); 236ps.AddPermission(new EnvironmentPermission(PermissionState.Unrestricted)); 357FileIOPermission permission = new FileIOPermission(PermissionState.Unrestricted); 458RegistryPermission registryPermission = new RegistryPermission(PermissionState.Unrestricted); 514FileIOPermission permission = new FileIOPermission(PermissionState.Unrestricted); 553RegistryPermission registryPermission = new RegistryPermission(PermissionState.Unrestricted); 622ps.AddPermission(new RegistryPermission(PermissionState.Unrestricted)); 898new RegistryPermission(PermissionState.Unrestricted).Assert(); 959ps.AddPermission(new RegistryPermission(PermissionState.Unrestricted)); 1231new RegistryPermission(PermissionState.Unrestricted).Assert();
services\monitoring\system\diagnosticts\PerformanceCounterPermissionAttribute.cs (1)
66return new PerformanceCounterPermission(PermissionState.Unrestricted);
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (1)
612RegistryPermission registryPermission = new RegistryPermission(PermissionState.Unrestricted);
services\monitoring\system\diagnosticts\SharedUtils.cs (2)
52SecurityPermission securityPermission = new SecurityPermission(PermissionState.Unrestricted); 231RegistryPermission registryPermission = new RegistryPermission(PermissionState.Unrestricted);
System.AddIn (3)
System\Addin\Hosting\AddInActivator.cs (1)
147new PermissionSet(PermissionState.Unrestricted).Demand();
System\Addin\Hosting\AddInServer.cs (1)
123permissionSet.AddPermission(new ReflectionPermission(PermissionState.Unrestricted));
System\Addin\Hosting\Utils.cs (1)
261new PermissionSet(PermissionState.Unrestricted).Demand();
System.Configuration (10)
System\Configuration\BaseConfigurationRecord.cs (1)
1754s_unrestrictedConfigPermission = new ConfigurationPermission(PermissionState.Unrestricted);
System\Configuration\ConfigurationPermission.cs (7)
22PermissionState.Unrestricted : PermissionState.None; 49case PermissionState.Unrestricted: 67return _permissionState == PermissionState.Unrestricted; 92if (_permissionState == PermissionState.Unrestricted) { 93return new ConfigurationPermission(PermissionState.Unrestricted); 137return (_permissionState == PermissionState.None || other._permissionState == PermissionState.Unrestricted); 170_permissionState = PermissionState.Unrestricted;
System\Configuration\Internal\InternalConfigHost.cs (1)
207new FileIOPermission(PermissionState.Unrestricted).Assert();
System\Configuration\TypeUtil.cs (1)
261s_fullTrustPermissionSet = new PermissionSet(PermissionState.Unrestricted);
System.Data (5)
fx\src\data\System\Data\Common\DBDataPermission.cs (1)
34if (state == PermissionState.Unrestricted) {
fx\src\data\System\Data\Odbc\OdbcConnection.cs (1)
528(new OdbcPermission(PermissionState.Unrestricted)).Demand();
fx\src\data\System\Data\OleDb\OleDbConnection.cs (1)
630(new OleDbPermission(PermissionState.Unrestricted)).Demand();
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1035(new SqlClientPermission(PermissionState.Unrestricted)).Demand();
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
563filePerm = new FileIOPermission(PermissionState.Unrestricted);
System.Drawing (3)
commonui\System\Drawing\Printing\PrintDocument.cs (1)
137new ReflectionPermission(PermissionState.Unrestricted).Assert();
commonui\System\Drawing\Printing\PrintingPermission.cs (1)
31if (state == PermissionState.Unrestricted) {
commonui\System\Drawing\Printing\PrintingPermissionAttribute.cs (1)
44return new PrintingPermission(PermissionState.Unrestricted);
System.IdentityModel (1)
System\IdentityModel\Selectors\X509CertificateChain.cs (1)
95ps.AddPermission(new WebPermission(PermissionState.Unrestricted));
System.Messaging (6)
System\Messaging\AccessControlList.cs (1)
42EnvironmentPermission environmentPermission = new EnvironmentPermission(PermissionState.Unrestricted);
System\Messaging\MessageQueue.cs (2)
2133DirectoryServicesPermission dsPermission = new DirectoryServicesPermission(PermissionState.Unrestricted); 4476SecurityPermission permission = new SecurityPermission(PermissionState.Unrestricted);
System\Messaging\MessageQueueCriteria.cs (1)
156MessageQueuePermission permission = new MessageQueuePermission(PermissionState.Unrestricted);
System\Messaging\MessageQueuePermission.cs (1)
44if (state == PermissionState.Unrestricted)
System\Messaging\MessageQueuePermissionAttribute.cs (1)
139return new MessageQueuePermission(PermissionState.Unrestricted);
System.Net (6)
net\PeerToPeer\Collaboration\PeerCollaborationPermission.cs (3)
36return new PeerCollaborationPermission(PermissionState.Unrestricted); 53new PeerCollaborationPermission(PermissionState.Unrestricted); 63m_noRestriction = (state == PermissionState.Unrestricted);
net\PeerToPeer\PnrpPermission.cs (3)
34return new PnrpPermission(PermissionState.Unrestricted); 50internal static readonly PnrpPermission UnrestrictedPnrpPermission = new PnrpPermission(PermissionState.Unrestricted); 60m_noRestriction = (state == PermissionState.Unrestricted);
System.Security (3)
system\security\cryptography\cryptoapi.cs (1)
2785new PermissionSet(PermissionState.Unrestricted).Demand();
system\security\permissions\dataprotectionpermission.cs (1)
21if (state == PermissionState.Unrestricted)
system\security\permissions\dataprotectionpermissionattribute.cs (1)
52return new DataProtectionPermission(PermissionState.Unrestricted);
System.ServiceModel (2)
System\ServiceModel\Description\ConfigLoader.cs (1)
1515configurationPermission = new ConfigurationPermission(System.Security.Permissions.PermissionState.Unrestricted);
System\ServiceModel\Dispatcher\PartialTrustValidationBehavior.cs (1)
164static readonly PermissionSet fullTrust = new PermissionSet(PermissionState.Unrestricted);
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\HostedTransportConfigurationManager.cs (1)
80new PermissionSet(PermissionState.Unrestricted).Assert();
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (1)
811PermissionSet ps = new PermissionSet(PermissionState.Unrestricted);
System.ServiceModel.Internals (1)
System\Runtime\PartialTrustHelpers.cs (1)
122PermissionSet permissions = new PermissionSet(PermissionState.Unrestricted);
System.Transactions (3)
System\Transactions\DistributedTransactionPermission.cs (2)
16if (state == PermissionState.Unrestricted) 184return new DistributedTransactionPermission(PermissionState.Unrestricted);
System\Transactions\Oletx\OletxTransactionManager.cs (1)
606new DistributedTransactionPermission( PermissionState.Unrestricted );
System.Web (13)
Cache\SqlCacheDependency.cs (1)
155new SqlClientPermission(PermissionState.Unrestricted).Demand();
Hosting\ApplicationManager.cs (6)
968permissionSet = new PermissionSet(PermissionState.Unrestricted); 1121permissionSet = new PermissionSet(PermissionState.Unrestricted); 1127permissionSet = new PermissionSet(PermissionState.Unrestricted); 1184permissionSet = new PermissionSet(PermissionState.Unrestricted); 1505PermissionSet fullTrust = new PermissionSet(PermissionState.Unrestricted); 1624private PermissionSet FullTrust = new PermissionSet(PermissionState.Unrestricted);
Hosting\HostingEnvironment.cs (1)
621new EnvironmentPermission(PermissionState.Unrestricted).Assert();
HttpRuntime.cs (3)
2282new EnvironmentPermission(PermissionState.Unrestricted).Assert(); 2616CodeAccessPermission askedPermission = factory.CreatePermission(PermissionState.Unrestricted); 3191PermissionSet fullTrust = new PermissionSet(PermissionState.Unrestricted);
IntSecurity.cs (1)
26_unrestricted = new PermissionSet(PermissionState.Unrestricted);
Util\Permission.cs (1)
35askedPermission = new SqlClientPermission(PermissionState.Unrestricted);
System.Web.Services (1)
System\Web\Services\Discovery\DiscoveryRequestHandler.cs (1)
43new PermissionSet(PermissionState.Unrestricted).Demand();
System.Windows.Forms (27)
winforms\Managed\System\WinForms\Application.cs (2)
205new RegistryPermission(PermissionState.Unrestricted).Assert(); 1413new FileIOPermission(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\ComboBox.cs (1)
258FileIOPermission fiop = new FileIOPermission(PermissionState.Unrestricted);
winforms\Managed\System\WinForms\Control.cs (2)
18145new PermissionSet(PermissionState.Unrestricted).Assert(); 18220new PermissionSet(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\FileDialog_Vista.cs (1)
43new EnvironmentPermission(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\Form.cs (1)
4315new EnvironmentPermission(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\InputLanguage.cs (1)
187new RegistryPermission(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\LinkUtilities.cs (2)
39new RegistryPermission(PermissionState.Unrestricted).Assert(); 131new RegistryPermission(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\ListView.cs (5)
2338FileIOPermission fiop = new FileIOPermission(PermissionState.Unrestricted); 2884FileIOPermission fiop = new FileIOPermission(PermissionState.Unrestricted); 2986FileIOPermission fiop = new FileIOPermission(PermissionState.Unrestricted); 4794FileIOPermission fiop = new FileIOPermission(PermissionState.Unrestricted); 4795System.Security.PermissionSet permSet = new System.Security.PermissionSet(PermissionState.Unrestricted);
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
205new RegistryPermission(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\NativeWindow.cs (1)
494new RegistryPermission(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\OpenFileDialog.cs (2)
260new FileIOPermission(PermissionState.Unrestricted).Assert(); 288new FileIOPermission(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\TextBox.cs (1)
201FileIOPermission fiop = new FileIOPermission(PermissionState.Unrestricted);
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (1)
189new FileIOPermission(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\TrustManager.cs (2)
253new RegistryPermission(PermissionState.Unrestricted).Assert(); 784new RegistryPermission(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\WindowsFormsSynchronizationContext.cs (2)
145new PermissionSet(PermissionState.Unrestricted).Assert(); 168new PermissionSet(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\WinFormsSecurity.cs (2)
219fileDialogCustomization = new FileIOPermission(PermissionState.Unrestricted); 378sensitiveSystemInformation = new EnvironmentPermission(PermissionState.Unrestricted);
System.Workflow.Activities (3)
Rules\Design\LogicalExpressionTypeConverter.cs (3)
224SecurityPermission MyPermission = new SecurityPermission(PermissionState.Unrestricted); 329SecurityPermission MyPermission = new SecurityPermission(PermissionState.Unrestricted); 432SecurityPermission MyPermission = new SecurityPermission(PermissionState.Unrestricted);
System.Workflow.Runtime (1)
PerformanceCounterManager.cs (1)
233new System.Security.Permissions.SecurityPermission(System.Security.Permissions.PermissionState.Unrestricted).Assert();
System.Xml (7)
System\Xml\Serialization\Compilation.cs (3)
245new EventLogPermission(PermissionState.Unrestricted).Assert(); 252perms.AddPermission(new FileIOPermission(PermissionState.Unrestricted)); 571fileIOPermission = new FileIOPermission(PermissionState.Unrestricted);
System\Xml\Serialization\Compiler.cs (3)
122perms.AddPermission(new FileIOPermission(PermissionState.Unrestricted)); 123perms.AddPermission(new EnvironmentPermission(PermissionState.Unrestricted)); 173perms.AddPermission(new EnvironmentPermission(PermissionState.Unrestricted));
System\Xml\Serialization\XmlSerializationWriter.cs (1)
3242fileIOPermission = new FileIOPermission(PermissionState.Unrestricted);
WindowsBase (14)
Base\MS\Internal\AssemblyHelper.cs (1)
214PermissionSet 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
Base\MS\Internal\Permissions\CompoundFileIOPermission.cs (1)
41public CompoundFileIOPermission() : this(PermissionState.Unrestricted)
Base\MS\Internal\Permissions\RightsManagementPermission.cs (1)
40public RightsManagementPermission() : this(PermissionState.Unrestricted)
Base\MS\Internal\Permissions\UserInitiatedRoutedEventPermission.cs (1)
25public UserInitiatedRoutedEventPermission() : this(PermissionState.Unrestricted)
Base\System\Security\Permissions\MediaPermission.cs (2)
144if (state == PermissionState.Unrestricted) 614return new MediaPermission(PermissionState.Unrestricted);
Base\System\Security\Permissions\WebBrowserPermission.cs (2)
85if (state == PermissionState.Unrestricted) 389return new WebBrowserPermission(PermissionState.Unrestricted);
parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (1)
429new FileIOPermission(PermissionState.Unrestricted).Assert();
Shared\MS\Internal\Permissions\InternalPermissions.cs (1)
72case PermissionState.Unrestricted:
Shared\MS\Internal\SecurityHelper.cs (1)
1078_unrestrictedUIPermission = new UIPermission(PermissionState.Unrestricted);