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