193 references to None
mscorlib (89)
system\appdomain.cs (1)
2862
IPermission ip = System.Security.Util.XMLUtil.CreatePermission( root, PermissionState.
None
, false );
system\diagnostics\stackframe.cs (2)
217
FileIOPermission perm = new FileIOPermission( PermissionState.
None
);
295
FileIOPermission perm = new FileIOPermission(PermissionState.
None
);
system\environment.cs (1)
1499
FileIOPermission createPermission = new FileIOPermission(PermissionState.
None
);
system\globalization\japanesecalendar.cs (1)
171
PermissionSet permSet = new PermissionSet(PermissionState.
None
);
system\resources\resourcewriter.cs (1)
354
PermissionSet permSet = new PermissionSet(PermissionState.
None
);
system\rttype.cs (1)
5389
PermissionSet ps = new PermissionSet(PermissionState.
None
);
system\security\namedpermissionset.cs (1)
86
: base(PermissionState.
None
)
system\security\permissions\environmentpermission.cs (4)
86
else if (state == PermissionState.
None
)
276
EnvironmentPermission intersectPermission = new EnvironmentPermission(PermissionState.
None
);
315
EnvironmentPermission unionPermission = new EnvironmentPermission(PermissionState.
None
);
325
EnvironmentPermission copy = new EnvironmentPermission(PermissionState.
None
);
system\security\permissions\filedialogpermission.cs (1)
46
else if (state == PermissionState.
None
) {
system\security\permissions\fileiopermission.cs (4)
60
else if (state == PermissionState.
None
)
698
FileIOPermission intersectPermission = new FileIOPermission(PermissionState.
None
);
746
FileIOPermission unionPermission = new FileIOPermission(PermissionState.
None
);
760
FileIOPermission copy = new FileIOPermission(PermissionState.
None
);
system\security\permissions\gacidentitypermission.cs (1)
52
if (state != PermissionState.Unrestricted && state != PermissionState.
None
)
system\security\permissions\hostprotectionpermission.cs (1)
173
else if (state == PermissionState.
None
)
system\security\permissions\isolatedstoragefilepermission.cs (2)
57
union = new IsolatedStorageFilePermission( PermissionState.
None
);
121
intersection = new IsolatedStorageFilePermission( PermissionState.
None
);
system\security\permissions\isolatedstoragepermission.cs (1)
78
else if (state == PermissionState.
None
)
system\security\permissions\keycontainerpermission.cs (1)
379
else if (state == PermissionState.
None
)
system\security\permissions\permissionattributes.cs (10)
178
EnvironmentPermission perm = new EnvironmentPermission(PermissionState.
None
);
313
FileIOPermission perm = new FileIOPermission(PermissionState.
None
);
581
RegistryPermission perm = new RegistryPermission(PermissionState.
None
);
824
return new StrongNameIdentityPermission( PermissionState.
None
);
870
return new SiteIdentityPermission( PermissionState.
None
);
906
return new UrlIdentityPermission( PermissionState.
None
);
974
return new PublisherIdentityPermission( PermissionState.
None
);
1069
p = new IsolatedStorageFilePermission(PermissionState.
None
);
1170
PermissionSet permSet = new PermissionSet( PermissionState.
None
);
1201
return new PermissionSet( PermissionState.
None
);
system\security\permissions\principalpermission.cs (1)
136
else if (state == PermissionState.
None
)
system\security\permissions\publisheridentitypermission.cs (6)
47
else if (state == PermissionState.
None
)
122
PublisherIdentityPermission perm = new PublisherIdentityPermission(PermissionState.
None
);
185
PublisherIdentityPermission res = new PublisherIdentityPermission(PermissionState.
None
);
206
PublisherIdentityPermission result = new PublisherIdentityPermission(PermissionState.
None
);
224
PublisherIdentityPermission res = new PublisherIdentityPermission(PermissionState.
None
);
253
PublisherIdentityPermission result = new PublisherIdentityPermission(PermissionState.
None
);
system\security\permissions\reflectionpermission.cs (1)
65
else if (state == PermissionState.
None
)
system\security\permissions\registrypermission.cs (4)
55
else if (state == PermissionState.
None
)
309
RegistryPermission intersectPermission = new RegistryPermission(PermissionState.
None
);
357
RegistryPermission unionPermission = new RegistryPermission(PermissionState.
None
);
371
RegistryPermission copy = new RegistryPermission(PermissionState.
None
);
system\security\permissions\securitypermission.cs (1)
74
else if (state == PermissionState.
None
)
system\security\permissions\siteidentitypermission.cs (6)
100
else if (state == PermissionState.
None
)
161
SiteIdentityPermission perm = new SiteIdentityPermission( PermissionState.
None
);
224
SiteIdentityPermission res = new SiteIdentityPermission(PermissionState.
None
);
246
SiteIdentityPermission result = new SiteIdentityPermission(PermissionState.
None
);
264
SiteIdentityPermission res = new SiteIdentityPermission(PermissionState.
None
);
293
SiteIdentityPermission result = new SiteIdentityPermission(PermissionState.
None
);
system\security\permissions\strongnameidentitypermission.cs (6)
132
else if (state == PermissionState.
None
)
260
StrongNameIdentityPermission perm = new StrongNameIdentityPermission(PermissionState.
None
);
325
StrongNameIdentityPermission res = new StrongNameIdentityPermission(PermissionState.
None
);
347
StrongNameIdentityPermission result = new StrongNameIdentityPermission(PermissionState.
None
);
365
StrongNameIdentityPermission res = new StrongNameIdentityPermission(PermissionState.
None
);
394
StrongNameIdentityPermission result = new StrongNameIdentityPermission(PermissionState.
None
);
system\security\permissions\uipermission.cs (1)
83
else if (state == PermissionState.
None
)
system\security\permissions\urlidentitypermission.cs (6)
103
else if (state == PermissionState.
None
)
192
UrlIdentityPermission perm = new UrlIdentityPermission( PermissionState.
None
);
255
UrlIdentityPermission res = new UrlIdentityPermission(PermissionState.
None
);
277
UrlIdentityPermission result = new UrlIdentityPermission(PermissionState.
None
);
295
UrlIdentityPermission res = new UrlIdentityPermission(PermissionState.
None
);
324
UrlIdentityPermission result = new UrlIdentityPermission(PermissionState.
None
);
system\security\permissions\zoneidentitypermission.cs (1)
109
else if (state == PermissionState.
None
)
system\security\permissionset.cs (1)
206
else if (state == 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 (8)
391
m_permSet = new PermissionSet( PermissionState.
None
);
410
m_permSet = new NamedPermissionSet( "DefaultName", PermissionState.
None
);
412
m_permSet = new PermissionSet( PermissionState.
None
);
433
m_permSet = new PermissionSet( PermissionState.
None
);
468
m_permSet = new PermissionSet( PermissionState.
None
);
496
m_permSet = new NamedPermissionSet( "DefaultName", 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 (2)
837
IPermission ip = XMLUtil.CreatePermission( this, PermissionState.
None
, ignoreTypeLoadFailures );
856
PermissionSet pset = new PermissionSet(PermissionState.
None
);
system\security\securitymanager.cs (3)
101
return new PermissionSet(PermissionState.
None
);
148
return new PermissionSet(PermissionState.
None
);
182
FileIOPermission perm = new FileIOPermission( PermissionState.
None
);
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 (7)
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 (4)
370
PermissionSet psToCheck = new PermissionSet(PermissionState.
None
);
401
PermissionSet psToCheck = new PermissionSet(PermissionState.
None
);
546
FileIOPermission permobj = new FileIOPermission(PermissionState.
None
);
826
PermissionSet permissionSet = new PermissionSet(PermissionState.
None
);
PresentationFramework (4)
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
780
FileIOPermission filePermission = new FileIOPermission(PermissionState.
None
);
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\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (1)
62
FileIOPermission fiop = new FileIOPermission(PermissionState.
None
);
System (23)
compmod\microsoft\win32\SystemEvents.cs (1)
1207
FileIOPermission fiop = new FileIOPermission(PermissionState.
None
);
compmod\system\componentmodel\IntSecurity.cs (1)
20
FileIOPermission fiop = new FileIOPermission(PermissionState.
None
);
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\AspNetHostingPermission.cs (1)
94
case PermissionState.
None
:
compmod\system\security\permissions\ResourcePermissionBase.cs (1)
49
else if (state == PermissionState.
None
)
net\System\Net\_AutoWebProxyScriptWrapper.cs (2)
597
NamedPermissionSet perms = new NamedPermissionSet("__WebProxySandbox", PermissionState.
None
);
617
PermissionSet permissionSet = new PermissionSet(PermissionState.
None
);
net\System\Net\DnsPermission.cs (1)
33
return new DnsPermission( PermissionState.
None
);
net\System\Net\mail\smtppermission.cs (1)
55
perm = new SmtpPermission(PermissionState.
None
);
net\System\Net\NetworkInformation\NetworkInformationPermission.cs (1)
52
perm = new NetworkInformationPermission(PermissionState.
None
);
net\System\Net\SocketPermission.cs (1)
107
perm = new SocketPermission(PermissionState.
None
);
security\system\security\cryptography\x509\x509chain.cs (1)
198
PermissionSet ps = new PermissionSet(PermissionState.
None
);
security\system\security\permissions\storepermission.cs (1)
21
else if (state == PermissionState.
None
)
security\system\security\permissions\typedescriptorpermission.cs (1)
43
else if (state == 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
);
sys\system\configuration\ClientSettingsStore.cs (1)
493
IsolatedStoragePermission storagePerm = new IsolatedStorageFilePermission(PermissionState.
None
);
sys\system\Media\SoundPlayer.cs (1)
123
FileIOPermission fiop = new FileIOPermission(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 (12)
System\Addin\Hosting\ActivationWorker.cs (3)
84
PermissionSet permissionSet = new PermissionSet(PermissionState.
None
);
146
FileIOPermission permission = new FileIOPermission(PermissionState.
None
);
255
PermissionSet permissionSet = new PermissionSet(PermissionState.
None
);
System\Addin\Hosting\AddInActivator.cs (3)
321
PermissionSet permissionSet = new PermissionSet(PermissionState.
None
);
492
PermissionSet assertSet = new PermissionSet(PermissionState.
None
);
693
FileIOPermission permission = new FileIOPermission(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 (3)
1021
PermissionSet permissionSet = new PermissionSet(PermissionState.
None
);
1131
FileIOPermission permission = new FileIOPermission(PermissionState.
None
);
1502
FileIOPermission permission = new FileIOPermission(PermissionState.
None
);
System\Addin\MiniReflection\TypeInfo.cs (1)
162
FileIOPermission permission = new FileIOPermission(PermissionState.
None
);
System.Configuration (8)
System\Configuration\ConfigurationPermission.cs (8)
22
PermissionState.Unrestricted : PermissionState.
None
;
50
case PermissionState.
None
:
115
if (_permissionState == PermissionState.
None
) {
116
return new ConfigurationPermission(PermissionState.
None
);
129
return _permissionState == PermissionState.
None
;
137
return (_permissionState == PermissionState.
None
|| other._permissionState == PermissionState.Unrestricted);
165
_permissionState = PermissionState.
None
;
174
_permissionState = PermissionState.
None
;
System.Data (12)
fx\src\data\System\Data\Common\DBDataPermission.cs (2)
30
protected DBDataPermission() : this(PermissionState.
None
) { // V1.0.3300
37
else if (state == PermissionState.
None
) {
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\Odbc\OdbcPermission.cs (1)
23
public OdbcPermission() : this(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\OleDb\OleDbPermission.cs (1)
26
public OleDbPermission() : this(PermissionState.
None
) {
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (2)
193
DBDataPermission p = (DBDataPermission)CONNECTIONFACTORYOBJECTNAME.ProviderFactory.CreatePermission(System.Security.Permissions.PermissionState.
None
);
214
System.Security.PermissionSet permissionSet = new System.Security.PermissionSet(System.Security.Permissions.PermissionState.
None
);
fx\src\data\System\Data\SqlClient\SqlClientPermission.cs (1)
21
public SqlClientPermission() : this(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 (3)
commonui\System\Drawing\IntSecurity.cs (2)
48
FileIOPermission fiop = new FileIOPermission(PermissionState.
None
);
65
PermissionSet temp = new PermissionSet(PermissionState.
None
);
commonui\System\Drawing\Printing\PrintingPermission.cs (1)
34
else if (state == PermissionState.
None
) {
System.IdentityModel (1)
System\IdentityModel\Selectors\X509CertificateChain.cs (1)
94
PermissionSet ps = new PermissionSet(PermissionState.
None
);
System.Net (2)
net\PeerToPeer\Collaboration\PeerCollaborationPermission.cs (1)
39
return new PeerCollaborationPermission(PermissionState.
None
);
net\PeerToPeer\PnrpPermission.cs (1)
37
return new PnrpPermission(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\permissions\dataprotectionpermission.cs (1)
23
else if (state == PermissionState.
None
)
System.Transactions (2)
System\Transactions\DistributedTransactionPermission.cs (2)
37
DistributedTransactionPermission copy = new DistributedTransactionPermission(PermissionState.
None
);
188
return new DistributedTransactionPermission(PermissionState.
None
);
System.Web (6)
Configuration\HttpCapabilitiesSectionHandler.cs (1)
301
FileIOPermission fiop = new FileIOPermission(PermissionState.
None
);
Hosting\ApplicationManager.cs (1)
1623
private PermissionSet Nothing = new PermissionSet(PermissionState.
None
);
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.Windows.Forms (7)
winforms\Managed\System\WinForms\Application.cs (2)
1045
FileIOPermission fiop = new FileIOPermission(PermissionState.
None
);
1196
FileIOPermission fiop = new FileIOPermission( PermissionState.
None
);
winforms\Managed\System\WinForms\Control.cs (1)
20270
FileIOPermission fiop = new FileIOPermission( PermissionState.
None
);
winforms\Managed\System\WinForms\Form.cs (1)
4261
FileIOPermission fiop = new FileIOPermission( PermissionState.
None
);
winforms\Managed\System\WinForms\WinFormsSecurity.cs (3)
124
PermissionSet temp = new PermissionSet(PermissionState.
None
);
163
clipboardWrite = new PermissionSet(PermissionState.
None
);
489
FileIOPermission fiop = new FileIOPermission( 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\System\Security\Permissions\MediaPermission.cs (1)
150
else if (state == PermissionState.
None
)
Base\System\Security\Permissions\WebBrowserPermission.cs (1)
89
else if (state == PermissionState.
None
)
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\Permissions\InternalPermissions.cs (1)
74
case PermissionState.
None
:
Shared\MS\Internal\SecurityHelper.cs (1)
871
FileIOPermission permobj = new FileIOPermission(PermissionState.
None
);
Shared\MS\Internal\TextServicesLoader.cs (1)
212
PermissionSet ps = new PermissionSet(PermissionState.
None
);