220 instantiations of SecurityPermission
mscorlib (53)
microsoft\win32\registrykey.cs (1)
2079
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
system\appdomain.cs (1)
3437
new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence).Demand();
system\appdomainmanager.cs (1)
68
new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence).Demand();
system\cfgparser.cs (1)
277
(new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode)).Assert();
system\console.cs (3)
1911
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
1932
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
1955
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
system\diagnostics\debugger.cs (3)
77
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
101
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
133
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
system\diagnostics\stacktrace.cs (1)
135
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
system\exception.cs (1)
916
SecurityPermission sp= new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy);
system\io\directory.cs (2)
1019
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
1186
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
system\io\filestream.cs (1)
911
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
system\io\isolatedstorage\isolatedstorage.cs (1)
336
s_PermControlEvidence = new
SecurityPermission
(
system\io\unmanagedmemorystream.cs (2)
168
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
247
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
system\reflection\assembly.cs (3)
1840
new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence).Demand();
2019
new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence).Demand();
2089
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
system\reflection\ConstructorInfo.cs (2)
626
new
SecurityPermission
(SecurityPermissionFlag.SkipVerification).Demand();
734
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
system\reflection\emit\assemblybuilder.cs (2)
353
new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence).Demand();
717
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
system\reflection\emit\dynamicmethod.cs (1)
794
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
system\rttype.cs (2)
5305
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
5392
ps.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode));
system\runtime\remoting\activationservices.cs (1)
306
SecurityPermission remotingInfrastructurePermission = new
SecurityPermission
(SecurityPermissionFlag.Infrastructure);
system\security\accesscontrol\win32.cs (2)
95
new
SecurityPermission
( SecurityPermissionFlag.UnmanagedCode ).Demand();
261
new
SecurityPermission
( SecurityPermissionFlag.UnmanagedCode ).Demand();
system\security\codeaccesssecurityengine.cs (2)
99
AssertPermission = new
SecurityPermission
(SecurityPermissionFlag.Assertion);
746
SecurityPermission executionPermission = new
SecurityPermission
(SecurityPermissionFlag.Execution);
system\security\permissions\permissionattributes.cs (2)
696
return new
SecurityPermission
( PermissionState.Unrestricted );
700
return new
SecurityPermission
( m_flag );
system\security\permissions\principalpermission.cs (1)
465
new
SecurityPermission
(SecurityPermissionFlag.ControlPrincipal).Assert();
system\security\permissions\securitypermission.cs (6)
181
return(new
SecurityPermission
(PermissionState.Unrestricted));
186
return(new
SecurityPermission
(flag_union));
209
return new
SecurityPermission
(PermissionState.Unrestricted);
231
return new
SecurityPermission
(isectFlags);
237
return new
SecurityPermission
(PermissionState.Unrestricted);
240
return new
SecurityPermission
((SecurityPermissionFlag)m_flags);
system\security\policy\evidence.cs (6)
365
new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence).Demand();
481
new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence).Demand();
597
new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence).Demand();
812
new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence).Demand();
1433
new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence).Demand();
1463
new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence).Demand();
system\security\policy\pefileevidencefactory.cs (1)
153
new
SecurityPermission
(SecurityPermissionFlag.SerializationFormatter).Assert();
system\security\securityexception.cs (1)
619
new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy).Demand();
system\security\securitymanager.cs (2)
440
executionSecurityPermission = new
SecurityPermission
(SecurityPermissionFlag.Execution);
564
new
SecurityPermission
(PermissionState.Unrestricted),
system\security\util\xmlutil.cs (1)
280
return new
SecurityPermission
( permState );
PresentationCore (21)
Core\CSharp\MS\Internal\AppModel\CustomCredentialPolicy.cs (1)
85
new
SecurityPermission
(SecurityPermissionFlag.ControlPolicy).Assert(); // BlessedAssert:
Core\CSharp\MS\Internal\AppModel\SiteOfOriginContainer.cs (2)
300
SecurityPermission p1 = new
SecurityPermission
(SecurityPermissionFlag.ControlDomainPolicy);
311
SecurityPermission p2 = new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode);
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (1)
1084
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert(); //Blessed Assert
Core\CSharp\MS\Internal\FontCache\FontSource.cs (1)
443
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert(); //Blessed Assert
Core\CSharp\System\Windows\Automation\Peers\AutomationPeer.cs (1)
231
(new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode)).Demand();
Core\CSharp\System\Windows\DataObject.cs (3)
3659
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert
3679
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert
3698
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert
Core\CSharp\System\Windows\Input\InputMethod.cs (1)
1922
SecurityPermission sp = new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode);
Core\CSharp\System\Windows\Input\MouseDevice.cs (1)
2199
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert:
Core\CSharp\System\Windows\Input\TextCompositionManager.cs (1)
491
SecurityPermission sp = new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode);
Core\CSharp\System\Windows\Interop\HwndSource.cs (3)
387
SecurityHelper.CallerHasPermissionWithAppDomainOptimization(new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode)))
2125
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
2897
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
Core\CSharp\System\Windows\Interop\HwndTarget.cs (1)
1599
unpackPermissionSet.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.SerializationFormatter | SecurityPermissionFlag.UnmanagedCode | SecurityPermissionFlag.RemotingConfiguration));
Core\CSharp\System\Windows\Media\Imaging\BitmapDownload.cs (1)
151
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert
Core\CSharp\System\Windows\Media\MediaContextNotificationWindow.cs (1)
264
(new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode)).Assert();
Shared\MS\Internal\SecurityHelper.cs (3)
113
_unmanagedCodePermission = new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode);
612
_serializationSecurityPermission = new
SecurityPermission
(SecurityPermissionFlag.SerializationFormatter);
1012
_infrastructurePermission = new
SecurityPermission
( SecurityPermissionFlag.Infrastructure );
PresentationFramework (30)
src\Framework\Microsoft\Win32\OpenFileDialog.cs (1)
471
new
SecurityPermission
(PermissionState.Unrestricted).Assert();
src\Framework\Microsoft\Win32\SaveFileDialog.cs (1)
413
new
SecurityPermission
(PermissionState.Unrestricted).Assert();
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (2)
634
new
SecurityPermission
(SecurityPermissionFlag.SerializationFormatter).Assert();
848
new
SecurityPermission
(SecurityPermissionFlag.SerializationFormatter).Demand();
src\Framework\MS\Internal\AppModel\AppSecurityManager.cs (3)
455
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert:
500
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert:
526
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert:
src\Framework\MS\Internal\AppModel\AssemblyFilter.cs (1)
79
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();//BlessedAssert
src\Framework\MS\Internal\AppModel\PresentationAppDomainManager.cs (1)
280
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert:
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
687
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert(); //BlessedAssert
src\Framework\MS\Internal\DataStreams.cs (2)
163
new
SecurityPermission
(SecurityPermissionFlag.SerializationFormatter).Assert();
295
new
SecurityPermission
(SecurityPermissionFlag.SerializationFormatter).Demand(); // prevent any journal metadata de-serialization in partial trust
src\Framework\System\Windows\Controls\DataGrid.cs (1)
8363
(new
SecurityPermission
(SecurityPermissionFlag.SerializationFormatter | SecurityPermissionFlag.UnmanagedCode)).Assert();
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
785
permissions.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode));
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
2272
ps.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.SerializationFormatter));
src\Framework\System\Windows\Controls\Primitives\Popup.cs (1)
2792
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert(); //Blessed Assert
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
92
if (!SecurityHelper.CallerHasPermissionWithAppDomainOptimization(new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode)))
src\Framework\System\Windows\Controls\WebBrowser.cs (1)
1463
(new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode)).Assert();
src\Framework\System\Windows\Documents\ImmComposition.cs (1)
1940
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();//Blessed Assert
src\Framework\System\Windows\Documents\RubberbandSelector.cs (3)
190
(new
SecurityPermission
(SecurityPermissionFlag.SerializationFormatter | SecurityPermissionFlag.UnmanagedCode)).Demand();
262
ps.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.SerializationFormatter));
264
ps.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode));
src\Framework\System\Windows\Documents\TextServicesHost.cs (1)
282
SecurityPermission secperm = new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode);
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
1174
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert
src\Framework\System\Windows\Interop\DocobjHost.cs (3)
122
(new
SecurityPermission
(PermissionState.Unrestricted)).Assert(); //BlessedAssert
952
permissionSet.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.Execution));
986
permissionSet.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.Execution));
src\Shared\MS\Internal\SecurityHelper.cs (3)
113
_unmanagedCodePermission = new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode);
1183
(new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode)).Assert();
1223
(new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode)).Assert();
System (49)
compmod\microsoft\csharp\csharpcodeprovider.cs (8)
3374
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
3380
SecurityPermission perm1 = new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence);
3490
SecurityPermission perm = new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence);
3652
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
3674
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
3696
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
3719
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
3795
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
compmod\microsoft\visualbasic\VBCodeProvider.cs (3)
2805
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
2811
SecurityPermission perm1 = new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence);
2914
SecurityPermission perm = new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence);
compmod\system\codedom\compiler\CodeCompiler.cs (8)
180
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
202
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
224
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
247
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
323
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
329
SecurityPermission perm1 = new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence);
407
SecurityPermission perm = new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence);
487
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
compmod\system\componentmodel\IntSecurity.cs (1)
14
public static readonly CodeAccessPermission UnmanagedCode = new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode);
compmod\system\diagnostics\ListenerElementsCollection.cs (1)
52
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
compmod\system\diagnostics\Trace.cs (2)
34
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
116
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
compmod\system\diagnostics\TraceEventCache.cs (1)
80
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
net\System\Net\_AutoWebProxyScriptWrapper.cs (2)
598
perms.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.Execution));
618
permissionSet.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.Execution));
net\System\Net\Configuration\DefaultProxySection.cs (2)
169
new
SecurityPermission
(SecurityPermissionFlag.ControlPrincipal | SecurityPermissionFlag.UnmanagedCode).Assert();
215
new
SecurityPermission
(SecurityPermissionFlag.ControlPrincipal | SecurityPermissionFlag.UnmanagedCode).Assert();
net\System\Net\HttpListener.cs (2)
403
new
SecurityPermission
(SecurityPermissionFlag.ControlPrincipal).Demand();
443
new
SecurityPermission
(SecurityPermissionFlag.ControlPrincipal).Demand();
net\System\Net\HttpListenerContext.cs (1)
78
new
SecurityPermission
(SecurityPermissionFlag.ControlPrincipal).Demand();
net\System\Net\Internal.cs (4)
949
internal static readonly SecurityPermission UnmanagedPermission = new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode);
951
internal static readonly SecurityPermission InfrastructurePermission = new
SecurityPermission
(SecurityPermissionFlag.Infrastructure);
952
internal static readonly SecurityPermission ControlPolicyPermission = new
SecurityPermission
(SecurityPermissionFlag.ControlPolicy);
953
internal static readonly SecurityPermission ControlPrincipalPermission = new
SecurityPermission
(SecurityPermissionFlag.ControlPrincipal);
net\System\Net\SecureProtocols\NegotiateStream.cs (1)
417
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
services\io\system\io\FileSystemWatcher.cs (1)
1002
SecurityPermission secPermission = new
SecurityPermission
(PermissionState.Unrestricted);
services\monitoring\system\diagnosticts\EventLog.cs (2)
85
SecurityPermission securityPermission = new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode);
1040
new System.Security.Permissions.
SecurityPermission
(System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode).Assert();
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (4)
623
ps.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode));
960
ps.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode));
1145
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
1192
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
services\monitoring\system\diagnosticts\ProcessManager.cs (1)
748
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (3)
49
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
938
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
1552
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
services\monitoring\system\diagnosticts\SharedUtils.cs (1)
52
SecurityPermission securityPermission = new
SecurityPermission
(PermissionState.Unrestricted);
sys\system\io\ports\SerialPort.cs (1)
832
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
System.Activities (1)
System\Activities\Debugger\StateManager.cs (1)
716
unmanagedCodePermissionSet.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode));
System.AddIn (12)
System\Addin\Hosting\AddInEnvironment.cs (1)
91
SecurityPermission permission = new
SecurityPermission
(SecurityPermissionFlag.ControlAppDomain);
System\Addin\Hosting\AddInIpcChannel.cs (2)
123
new System.Security.Permissions.
SecurityPermission
(SecurityPermissionFlag.SerializationFormatter | SecurityPermissionFlag.UnmanagedCode).Assert();
288
new System.Security.Permissions.
SecurityPermission
(SecurityPermissionFlag.SerializationFormatter | SecurityPermissionFlag.UnmanagedCode).Assert();
System\Addin\Hosting\AddInServer.cs (4)
121
permissionSet.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.ControlPrincipal));
122
permissionSet.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode));
140
new
SecurityPermission
(SecurityPermissionFlag.ControlAppDomain).Assert();
172
SecurityPermission permission = new
SecurityPermission
(SecurityPermissionFlag.ControlAppDomain);
System\Addin\Hosting\AddInStore.cs (2)
1022
permissionSet.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.SerializationFormatter));
1070
new
SecurityPermission
(SecurityPermissionFlag.SerializationFormatter).Demand();
System\Addin\Pipeline\ContractBase.cs (3)
174
SecurityPermission permission = new
SecurityPermission
(SecurityPermissionFlag.ControlThread);
201
SecurityPermission permission = new
SecurityPermission
(SecurityPermissionFlag.ControlAppDomain);
273
SecurityPermission permission = new
SecurityPermission
(SecurityPermissionFlag.RemotingConfiguration);
System.Configuration (2)
System\Configuration\ClientConfigPaths.cs (2)
307
s_controlEvidencePerm = new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence);
316
s_serializationPerm = new
SecurityPermission
(SecurityPermissionFlag.SerializationFormatter);
System.Core (6)
System\IO\Pipes\PipeStream.cs (1)
159
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
System\Security\Cryptography\ECDiffieHellmanCng.cs (2)
95
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
357
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
System\Security\Cryptography\ECDsaCng.cs (3)
76
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
319
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
415
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
System.Data (5)
fx\src\data\System\Data\OleDb\OleDbDataAdapter.cs (2)
168
permissionSet.AddPermission(new System.Security.Permissions.
SecurityPermission
(System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode));
192
permissionSet.AddPermission(new System.Security.Permissions.
SecurityPermission
(System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode));
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (1)
216
permissionSet.AddPermission(new System.Security.Permissions.
SecurityPermission
(System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode));
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1789
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand(); // MDAC 66682, 69017
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
783
SecurityPermission sp = new
SecurityPermission
( SecurityPermissionFlag.UnmanagedCode );
System.Data.Entity (1)
System\Data\Objects\Internal\EntityProxyFactory.cs (1)
1614
serializationFormatterPermissions.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.SerializationFormatter));
System.Data.SqlXml (2)
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
51
CreateModulePermissionSet.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.UnmanagedCode));
System\Xml\Xsl\XsltOld\Compiler.cs (1)
790
new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence).Assert();
System.Drawing (2)
commonui\System\Drawing\Advanced\Font.cs (1)
561
new System.Security.Permissions.
SecurityPermission
(System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode).Assert();
commonui\System\Drawing\IntSecurity.cs (1)
13
public static readonly CodeAccessPermission UnmanagedCode = new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode);
System.Management (1)
Instrumentation\Instrumentation.cs (1)
24
internal static readonly SecurityPermission UnmanagedCode = new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode);
System.Messaging (1)
System\Messaging\MessageQueue.cs (1)
4476
SecurityPermission permission = new
SecurityPermission
(PermissionState.Unrestricted);
System.Runtime.Remoting (2)
channels\sinks\binaryformattersinks.cs (1)
574
currentPermissionSet.SetPermission(new
SecurityPermission
(SecurityPermissionFlag.SerializationFormatter));
channels\sinks\soapformattersinks.cs (1)
642
currentPermissionSet.SetPermission(new
SecurityPermission
(SecurityPermissionFlag.SerializationFormatter));
System.Runtime.Serialization (1)
System\Runtime\Serialization\Globals.cs (1)
1119
serializationFormatterPermission = new
SecurityPermission
(SecurityPermissionFlag.SerializationFormatter);
System.ServiceModel (1)
System\ServiceModel\Configuration\ServiceHostingEnvironmentSection.cs (1)
33
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Demand();
System.Web (7)
IntSecurity.cs (3)
36
_unmanagedCode = new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode);
46
_controlPrincipal = new
SecurityPermission
(SecurityPermissionFlag.ControlPrincipal);
76
_controlThread = new
SecurityPermission
(SecurityPermissionFlag.ControlThread);
UI\WebParts\ImportCatalogPart.cs (2)
175
pset.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.Execution));
219
mediumPset.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.Execution));
UI\WebParts\WebPartManager.cs (2)
465
_mediumPermissionSet.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.Execution));
478
_minimalPermissionSet.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.Execution));
System.Web.DataVisualization (1)
Common\General\Chart.cs (1)
256
System.Security.Permissions.SecurityPermission securityPermission = new System.Security.Permissions.
SecurityPermission
(System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode);
System.Web.Services (1)
System\Web\Services\Protocols\ServerType.cs (1)
33
new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence).Assert();
System.Windows.Forms (6)
winforms\Managed\System\WinForms\Application.cs (1)
3276
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
winforms\Managed\System\WinForms\Cursor.cs (1)
626
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
winforms\Managed\System\WinForms\NativeWindow.cs (3)
639
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
867
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
1168
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
winforms\Managed\System\WinForms\WinFormsSecurity.cs (1)
427
unmanagedCode = new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode);
System.Windows.Forms.DataVisualization (1)
Common\General\Chart.cs (1)
256
System.Security.Permissions.SecurityPermission securityPermission = new System.Security.Permissions.
SecurityPermission
(System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode);
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 (3)
System\Xml\Serialization\Compiler.cs (2)
174
perms.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode));
175
perms.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence));
System\Xml\Xslt\XslTransform.cs (1)
123
new
SecurityPermission
(SecurityPermissionFlag.ControlEvidence).Demand();
WindowsBase (7)
Base\System\Diagnostics\PresentationTraceSources.cs (1)
141
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert
Base\System\IO\Packaging\PackUriHelper.cs (1)
692
SecurityPermission permobj = new
SecurityPermission
(SecurityPermissionFlag.Infrastructure);
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (1)
554
permissionSet.AddPermission(new
SecurityPermission
(SecurityPermissionFlag.ControlPrincipal));
Shared\MS\Internal\SecurityHelper.cs (1)
113
_unmanagedCodePermission = new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode);
Shared\MS\Win32\ManagedWndProcTracker.cs (1)
101
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert:
Shared\MS\Win32\UnsafeNativeMethodsOther.cs (2)
579
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
619
new
SecurityPermission
(SecurityPermissionFlag.UnmanagedCode).Assert();
217 references to SecurityPermission
mscorlib (19)
system\exception.cs (1)
916
SecurityPermission
sp= new SecurityPermission(SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy);
system\io\isolatedstorage\isolatedstorage.cs (2)
139
private static volatile
SecurityPermission
s_PermControlEvidence;
332
private static
SecurityPermission
GetControlEvidencePermission()
system\runtime\remoting\activationservices.cs (1)
306
SecurityPermission
remotingInfrastructurePermission = new SecurityPermission(SecurityPermissionFlag.Infrastructure);
system\runtime\remoting\configuration.cs (1)
1681
SecurityPermission
.RevertAssert();
system\security\codeaccesssecurityengine.cs (2)
54
internal static
SecurityPermission
AssertPermission;
746
SecurityPermission
executionPermission = new SecurityPermission(SecurityPermissionFlag.Execution);
system\security\permissions\securitypermission.cs (7)
156
SecurityPermission
operand = target as
SecurityPermission
;
179
SecurityPermission
sp_target = (
SecurityPermission
) target;
201
SecurityPermission
operand = (
SecurityPermission
)target;
360
return
SecurityPermission
.GetTokenIndex();
system\security\securitymanager.cs (4)
48
private static volatile
SecurityPermission
executionSecurityPermission = null;
573
SecurityPermission
securityPermission = null;
590
securityPermission = grantSet.GetPermission(BuiltInPermissionIndex.SecurityPermissionIndex) as
SecurityPermission
;
611
securityPermission = deniedSet.GetPermission(BuiltInPermissionIndex.SecurityPermissionIndex) as
SecurityPermission
;
system\threading\thread.cs (1)
846
SecurityPermission
.Demand(PermissionType.FullTrust);
PresentationCore (18)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginContainer.cs (2)
300
SecurityPermission
p1 = new SecurityPermission(SecurityPermissionFlag.ControlDomainPolicy);
311
SecurityPermission
p2 = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode);
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (1)
1092
SecurityPermission
.RevertAssert();
Core\CSharp\MS\Internal\FontCache\FontSource.cs (1)
456
SecurityPermission
.RevertAssert();
Core\CSharp\System\Windows\DataObject.cs (3)
3667
SecurityPermission
.RevertAssert();
3686
SecurityPermission
.RevertAssert();
3706
SecurityPermission
.RevertAssert();
Core\CSharp\System\Windows\Input\InputMethod.cs (2)
1922
SecurityPermission
sp = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode);
1939
SecurityPermission
.RevertAssert();
Core\CSharp\System\Windows\Input\TextCompositionManager.cs (2)
491
SecurityPermission
sp = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode);
500
SecurityPermission
.RevertAssert();
Core\CSharp\System\Windows\Interop\HwndSource.cs (2)
2137
SecurityPermission
.RevertAssert();
2912
SecurityPermission
.RevertAssert();
Core\CSharp\System\Windows\Media\Imaging\BitmapDownload.cs (1)
191
SecurityPermission
.RevertAssert();
Core\CSharp\System\Windows\Media\MediaContextNotificationWindow.cs (1)
271
SecurityPermission
.RevertAssert();
Shared\MS\Internal\SecurityHelper.cs (3)
117
static
SecurityPermission
_unmanagedCodePermission = null;
622
static
SecurityPermission
_serializationSecurityPermission = null;
1016
static
SecurityPermission
_infrastructurePermission = null;
PresentationFramework (15)
src\Framework\Microsoft\Win32\OpenFileDialog.cs (1)
347
SecurityPermission
.RevertAssert();
src\Framework\MS\Internal\AppModel\AssemblyFilter.cs (1)
86
SecurityPermission
.RevertAssert();
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
695
SecurityPermission
.RevertAll();
src\Framework\MS\Internal\DataStreams.cs (1)
170
SecurityPermission
.RevertAssert();
src\Framework\System\Windows\Controls\DataGrid.cs (1)
8370
SecurityPermission
.RevertAll();
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
2282
SecurityPermission
.RevertAssert();
src\Framework\System\Windows\Controls\Primitives\Popup.cs (1)
2799
SecurityPermission
.RevertAssert();
src\Framework\System\Windows\Controls\WebBrowser.cs (1)
1470
SecurityPermission
.RevertAssert();
src\Framework\System\Windows\Documents\ImmComposition.cs (1)
1948
SecurityPermission
.RevertAssert();
src\Framework\System\Windows\Documents\RubberbandSelector.cs (1)
286
SecurityPermission
.RevertAssert();
src\Framework\System\Windows\Documents\TextServicesHost.cs (2)
282
SecurityPermission
secperm = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode);
314
SecurityPermission
.RevertAssert();
src\Shared\MS\Internal\SecurityHelper.cs (3)
117
static
SecurityPermission
_unmanagedCodePermission = null;
1198
SecurityPermission
.RevertAssert();
1231
SecurityPermission
.RevertAssert();
System (28)
compmod\microsoft\csharp\csharpcodeprovider.cs (4)
3380
SecurityPermission
perm1 = new SecurityPermission(SecurityPermissionFlag.ControlEvidence);
3388
SecurityPermission
.RevertAssert();
3490
SecurityPermission
perm = new SecurityPermission(SecurityPermissionFlag.ControlEvidence);
3503
SecurityPermission
.RevertAssert();
compmod\microsoft\visualbasic\VBCodeProvider.cs (4)
2811
SecurityPermission
perm1 = new SecurityPermission(SecurityPermissionFlag.ControlEvidence);
2819
SecurityPermission
.RevertAssert();
2914
SecurityPermission
perm = new SecurityPermission(SecurityPermissionFlag.ControlEvidence);
2929
SecurityPermission
.RevertAssert();
compmod\system\codedom\compiler\CodeCompiler.cs (4)
329
SecurityPermission
perm1 = new SecurityPermission(SecurityPermissionFlag.ControlEvidence);
337
SecurityPermission
.RevertAssert();
407
SecurityPermission
perm = new SecurityPermission(SecurityPermissionFlag.ControlEvidence);
423
SecurityPermission
.RevertAssert();
net\System\Net\Internal.cs (4)
949
internal static readonly
SecurityPermission
UnmanagedPermission = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode);
951
internal static readonly
SecurityPermission
InfrastructurePermission = new SecurityPermission(SecurityPermissionFlag.Infrastructure);
952
internal static readonly
SecurityPermission
ControlPolicyPermission = new SecurityPermission(SecurityPermissionFlag.ControlPolicy);
953
internal static readonly
SecurityPermission
ControlPrincipalPermission = new SecurityPermission(SecurityPermissionFlag.ControlPrincipal);
net\System\Net\Sockets\Socket.cs (3)
1448
SecurityPermission
.RevertAssert();
3628
SecurityPermission
.RevertAssert();
9331
SecurityPermission
.RevertAssert();
services\io\system\io\FileSystemWatcher.cs (2)
1002
SecurityPermission
secPermission = new SecurityPermission(PermissionState.Unrestricted);
1008
SecurityPermission
.RevertAssert();
services\monitoring\system\diagnosticts\EventLog.cs (1)
85
SecurityPermission
securityPermission = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (1)
1154
SecurityPermission
.RevertAssert();
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (3)
69
SecurityPermission
.RevertAssert();
1023
SecurityPermission
.RevertAssert();
1630
SecurityPermission
.RevertAssert();
services\monitoring\system\diagnosticts\SharedUtils.cs (2)
52
SecurityPermission
securityPermission = new SecurityPermission(PermissionState.Unrestricted);
61
SecurityPermission
.RevertAssert();
System.AddIn (8)
System\Addin\Hosting\AddInActivator.cs (3)
225
SecurityPermission
p = (
SecurityPermission
)permissionSet.GetPermission(typeof(
SecurityPermission
));
System\Addin\Hosting\AddInEnvironment.cs (1)
91
SecurityPermission
permission = new SecurityPermission(SecurityPermissionFlag.ControlAppDomain);
System\Addin\Hosting\AddInServer.cs (1)
172
SecurityPermission
permission = new SecurityPermission(SecurityPermissionFlag.ControlAppDomain);
System\Addin\Pipeline\ContractBase.cs (3)
174
SecurityPermission
permission = new SecurityPermission(SecurityPermissionFlag.ControlThread);
201
SecurityPermission
permission = new SecurityPermission(SecurityPermissionFlag.ControlAppDomain);
273
SecurityPermission
permission = new SecurityPermission(SecurityPermissionFlag.RemotingConfiguration);
System.Configuration (4)
System\Configuration\ClientConfigPaths.cs (4)
49
static volatile
SecurityPermission
s_serializationPerm;
50
static volatile
SecurityPermission
s_controlEvidencePerm;
304
private static
SecurityPermission
ControlEvidencePermission {
313
private static
SecurityPermission
SerializationFormatterPermission {
System.Core (1)
System\Security\Cryptography\RsaCng.cs (1)
75
/// <permission cref="
SecurityPermission
">
System.Data (2)
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (2)
783
SecurityPermission
sp = new SecurityPermission ( SecurityPermissionFlag.UnmanagedCode );
793
SecurityPermission
.RevertAssert();
System.Management (1)
Instrumentation\Instrumentation.cs (1)
24
internal static readonly
SecurityPermission
UnmanagedCode = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode);
System.Messaging (2)
System\Messaging\MessageQueue.cs (2)
4476
SecurityPermission
permission = new SecurityPermission(PermissionState.Unrestricted);
4484
SecurityPermission
.RevertAssert();
System.Runtime.Serialization (2)
System\Runtime\Serialization\Globals.cs (2)
1111
static
SecurityPermission
serializationFormatterPermission;
1112
public static
SecurityPermission
SerializationFormatterPermission
System.Web (3)
HttpRuntime.cs (3)
2685
SecurityPermission
securityPermission = (
SecurityPermission
)NamedPermissionSet.GetPermission(
2686
typeof(
SecurityPermission
));
System.Web.DataVisualization (1)
Common\General\Chart.cs (1)
256
System.Security.Permissions.
SecurityPermission
securityPermission = new System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode);
System.Windows.Forms.DataVisualization (1)
Common\General\Chart.cs (1)
256
System.Security.Permissions.
SecurityPermission
securityPermission = new System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode);
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);
UIAutomationClient (103)
System\Windows\Automation\Automation.cs (11)
86
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
104
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
153
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
230
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
260
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
298
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
323
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
344
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
363
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
386
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
406
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
System\Windows\Automation\AutomationElement.cs (18)
385
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
423
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
438
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
496
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
519
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
579
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
611
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
660
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
689
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
722
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
746
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
858
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
893
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
918
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
944
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
998
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
1026
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
1050
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
System\Windows\Automation\DockPattern.cs (2)
80
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
215
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
System\Windows\Automation\ExpandCollapsePattern.cs (3)
77
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
90
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
234
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
System\Windows\Automation\GridItemPattern.cs (5)
227
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
243
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
260
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
277
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
293
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
System\Windows\Automation\GridPattern.cs (3)
82
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
228
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
244
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
System\Windows\Automation\InvokePattern.cs (1)
90
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
System\Windows\Automation\MultipleViewPattern.cs (4)
86
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
99
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
241
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
255
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
System\Windows\Automation\RangeValuePattern.cs (7)
100
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
256
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
291
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
305
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
339
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
377
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
414
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
System\Windows\Automation\ScrollPattern.cs (10)
101
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
119
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
133
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
147
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
292
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
308
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
324
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
340
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
356
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
372
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
System\Windows\Automation\SelectionItemPattern.cs (5)
100
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
112
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
125
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
272
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
289
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
System\Windows\Automation\SelectionPattern.cs (3)
229
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
254
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
272
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
System\Windows\Automation\TableItemPattern.cs (7)
215
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
231
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
248
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
265
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
281
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
295
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
306
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
System\Windows\Automation\TablePattern.cs (5)
203
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
214
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
227
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
243
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
257
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
System\Windows\Automation\TogglePattern.cs (2)
79
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
223
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
System\Windows\Automation\TransformPattern.cs (6)
90
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
107
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
121
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
266
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
280
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
294
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
System\Windows\Automation\ValuePattern.cs (3)
84
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
245
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
265
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
System\Windows\Automation\WindowPattern.cs (8)
104
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
120
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
290
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
304
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
318
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
332
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
346
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
360
/// <exception cref="System.Security.Permissions.
SecurityPermission
"/>
WindowsBase (6)
Base\System\Diagnostics\PresentationTraceSources.cs (1)
148
SecurityPermission
.RevertAssert();
Base\System\IO\Packaging\PackUriHelper.cs (2)
692
SecurityPermission
permobj = new SecurityPermission(SecurityPermissionFlag.Infrastructure);
700
SecurityPermission
.RevertAssert();
Shared\MS\Internal\SecurityHelper.cs (1)
117
static
SecurityPermission
_unmanagedCodePermission = null;
Shared\MS\Win32\UnsafeNativeMethodsOther.cs (2)
586
SecurityPermission
.RevertAssert();
626
SecurityPermission
.RevertAssert();