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