36 types derived from CodeAccessPermission
mscorlib (16)
system\security\permissions\environmentpermission.cs (1)
76sealed public class EnvironmentPermission : CodeAccessPermission, IUnrestrictedPermission, IBuiltInPermission
system\security\permissions\filedialogpermission.cs (1)
39public sealed class FileDialogPermission : CodeAccessPermission, IUnrestrictedPermission, IBuiltInPermission {
system\security\permissions\fileiopermission.cs (1)
42sealed public class FileIOPermission : CodeAccessPermission, IUnrestrictedPermission, IBuiltInPermission
system\security\permissions\gacidentitypermission.cs (1)
42sealed public class GacIdentityPermission : CodeAccessPermission, IBuiltInPermission
system\security\permissions\hostprotectionpermission.cs (1)
145sealed internal class HostProtectionPermission : CodeAccessPermission, IUnrestrictedPermission, IBuiltInPermission
system\security\permissions\isolatedstoragepermission.cs (1)
42: CodeAccessPermission, IUnrestrictedPermission
system\security\permissions\keycontainerpermission.cs (1)
372public sealed class KeyContainerPermission : CodeAccessPermission, IUnrestrictedPermission, IBuiltInPermission {
system\security\permissions\publisheridentitypermission.cs (1)
23sealed public class PublisherIdentityPermission : CodeAccessPermission, IBuiltInPermission
system\security\permissions\reflectionpermission.cs (1)
44: CodeAccessPermission, IUnrestrictedPermission, IBuiltInPermission
system\security\permissions\registrypermission.cs (1)
37sealed public class RegistryPermission : CodeAccessPermission, IUnrestrictedPermission, IBuiltInPermission
system\security\permissions\securitypermission.cs (1)
58: CodeAccessPermission, IUnrestrictedPermission, IBuiltInPermission
system\security\permissions\siteidentitypermission.cs (1)
26sealed public class SiteIdentityPermission : CodeAccessPermission, IBuiltInPermission
system\security\permissions\strongnameidentitypermission.cs (1)
108sealed public class StrongNameIdentityPermission : CodeAccessPermission, IBuiltInPermission
system\security\permissions\uipermission.cs (1)
60: CodeAccessPermission, IUnrestrictedPermission, IBuiltInPermission
system\security\permissions\urlidentitypermission.cs (1)
27[Serializable] sealed public class UrlIdentityPermission : CodeAccessPermission, IBuiltInPermission
system\security\permissions\zoneidentitypermission.cs (1)
25sealed public class ZoneIdentityPermission : CodeAccessPermission, IBuiltInPermission
System (9)
compmod\system\security\permissions\AspNetHostingPermission.cs (1)
64public sealed class AspNetHostingPermission : CodeAccessPermission, IUnrestrictedPermission {
compmod\system\security\permissions\ResourcePermissionBase.cs (1)
27public abstract class ResourcePermissionBase : CodeAccessPermission, IUnrestrictedPermission {
net\System\Net\DnsPermission.cs (1)
44public sealed class DnsPermission : CodeAccessPermission, IUnrestrictedPermission {
net\System\Net\mail\smtppermission.cs (1)
80public sealed class SmtpPermission: CodeAccessPermission, IUnrestrictedPermission {
net\System\Net\NetworkInformation\NetworkInformationPermission.cs (1)
76public sealed class NetworkInformationPermission : CodeAccessPermission, IUnrestrictedPermission {
net\System\Net\SocketPermission.cs (1)
180public sealed class SocketPermission : CodeAccessPermission, IUnrestrictedPermission {
net\System\Net\WebPermission.cs (1)
237public sealed class WebPermission : CodeAccessPermission, IUnrestrictedPermission {
security\system\security\permissions\storepermission.cs (1)
15public sealed class StorePermission : CodeAccessPermission, IUnrestrictedPermission {
security\system\security\permissions\typedescriptorpermission.cs (1)
33: CodeAccessPermission, IUnrestrictedPermission
System.Configuration (1)
System\Configuration\ConfigurationPermission.cs (1)
37public sealed class ConfigurationPermission : CodeAccessPermission, IUnrestrictedPermission {
System.Data (1)
fx\src\data\System\Data\Common\DBDataPermission.cs (1)
22public abstract class DBDataPermission : CodeAccessPermission, IUnrestrictedPermission {
System.Drawing (1)
commonui\System\Drawing\Printing\PrintingPermission.cs (1)
22public sealed class PrintingPermission : CodeAccessPermission, IUnrestrictedPermission {
System.Messaging (1)
System\Messaging\MessageQueuePermission.cs (1)
23public sealed class MessageQueuePermission : CodeAccessPermission, IUnrestrictedPermission
System.Net (2)
net\PeerToPeer\Collaboration\PeerCollaborationPermission.cs (1)
48public sealed class PeerCollaborationPermission : CodeAccessPermission, IUnrestrictedPermission
net\PeerToPeer\PnrpPermission.cs (1)
46public sealed class PnrpPermission : CodeAccessPermission, IUnrestrictedPermission
System.Security (1)
system\security\permissions\dataprotectionpermission.cs (1)
17public sealed class DataProtectionPermission : CodeAccessPermission, IUnrestrictedPermission {
System.Transactions (1)
System\Transactions\DistributedTransactionPermission.cs (1)
10public sealed class DistributedTransactionPermission : CodeAccessPermission, IUnrestrictedPermission
WindowsBase (3)
Base\System\Security\Permissions\MediaPermission.cs (1)
121sealed public class MediaPermission : CodeAccessPermission, IUnrestrictedPermission
Base\System\Security\Permissions\WebBrowserPermission.cs (1)
62sealed public class WebBrowserPermission : CodeAccessPermission, IUnrestrictedPermission
Shared\MS\Internal\Permissions\InternalPermissions.cs (1)
57internal abstract class InternalParameterlessPermissionBase : CodeAccessPermission, IUnrestrictedPermission
563 references to CodeAccessPermission
mscorlib (141)
system\appdomain.cs (5)
542CodeAccessPermission.RevertAssert(); 2787CodeAccessPermission.Assert(true); 2796CodeAccessPermission.Assert(true); 2807CodeAccessPermission.Assert(true); 2816CodeAccessPermission.Assert(true);
system\io\filestream.cs (1)
916CodeAccessPermission.RevertAssert();
system\io\isolatedstorage\isolatedstorage.cs (2)
899CodeAccessPermission.RevertAssert(); 954CodeAccessPermission.RevertAssert();
system\io\isolatedstorage\isolatedstoragefile.cs (14)
537CodeAccessPermission.RevertAll(); 581CodeAccessPermission.RevertAll(); 625CodeAccessPermission.RevertAll(); 683CodeAccessPermission.RevertAll(); 724CodeAccessPermission.RevertAll(); 765CodeAccessPermission.RevertAll(); 806CodeAccessPermission.RevertAll(); 1025CodeAccessPermission.RevertAll(); 1090CodeAccessPermission.RevertAll(); 1170CodeAccessPermission.RevertAll(); 1177private static void Demand(CodeAccessPermission permission) 1211CodeAccessPermission.RevertAll(); 1244CodeAccessPermission.RevertAll(); 1343CodeAccessPermission.RevertAssert();
system\io\isolatedstorage\isolatedstoragefilestream.cs (1)
288CodeAccessPermission.RevertAll();
system\reflection\ConstructorInfo.cs (2)
635CodeAccessPermission.Demand(PermissionType.ReflectionMemberAccess); 728CodeAccessPermission.Demand(PermissionType.ReflectionMemberAccess);
system\reflection\emit\assemblybuilder.cs (2)
731CodeAccessPermission.RevertAssert(); 932CodeAccessPermission.RevertAssert();
system\reflection\emit\modulebuilder.cs (1)
1454CodeAccessPermission.RevertAssert();
system\reflection\methodinfo.cs (1)
731CodeAccessPermission.Demand(PermissionType.ReflectionMemberAccess);
system\resources\filebasedresourcegroveler.cs (1)
80System.Security.CodeAccessPermission.RevertAssert();
system\runtime\remoting\configuration.cs (1)
1705CodeAccessPermission.RevertAssert();
system\runtime\remoting\remotingservices.cs (1)
1994System.Security.CodeAccessPermission.Assert(true);
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (3)
164CodeAccessPermission.Demand(PermissionType.SecuritySerialization); 1374CodeAccessPermission.RevertAssert(); 1394CodeAccessPermission.RevertAssert();
system\runtime\serialization\formatters\binary\binaryobjectwriter.cs (1)
91CodeAccessPermission.Demand(PermissionType.SecuritySerialization);
system\runtime\serialization\objectmanager.cs (1)
60CodeAccessPermission.Demand(PermissionType.SecuritySerialization);
system\runtime\serialization\serializationinfo.cs (1)
190CodeAccessPermission.Demand(PermissionType.SecuritySerialization);
system\security\codeaccesspermission.cs (4)
261internal bool CheckDemand(CodeAccessPermission grant) 267internal bool CheckPermitOnly(CodeAccessPermission permitted) 273internal bool CheckDeny(CodeAccessPermission denied) 280internal bool CheckAssert(CodeAccessPermission asserted)
system\security\codeaccesssecurityengine.cs (12)
260CodeAccessPermission demand, 298CodeAccessPermission demand, 351CodeAccessPermission grantedPerm = 352(CodeAccessPermission)grantedSet.GetPermission(permToken); 368CodeAccessPermission refusedPerm = 369(CodeAccessPermission)refusedSet.GetPermission(permToken); 553internal static void CheckAssembly(RuntimeAssembly asm, CodeAccessPermission demand ) 586internal static void Check(CodeAccessPermission cap, ref StackCrawlMark stackMark) 606CodeAccessPermission demand, 611internal static void Assert(CodeAccessPermission cap, ref StackCrawlMark stackMark) 640internal static void Deny(CodeAccessPermission cap, ref StackCrawlMark stackMark) 668internal static void PermitOnly(CodeAccessPermission cap, ref StackCrawlMark stackMark)
system\security\cryptography\cryptoconfig.cs (1)
920CodeAccessPermission.RevertAssert();
system\security\framesecuritydescriptor.cs (8)
285internal bool CheckDemand(CodeAccessPermission demand, PermissionToken permToken, RuntimeMethodHandleInternal rmh) 298internal bool CheckDemand2(CodeAccessPermission demand, PermissionToken permToken, RuntimeMethodHandleInternal rmh, bool fDeclarative) 326CodeAccessPermission perm = (CodeAccessPermission)permSet.GetPermission(demand); 356CodeAccessPermission perm = (CodeAccessPermission)permSet.GetPermission(demand); 385CodeAccessPermission perm = (CodeAccessPermission)permSet.GetPermission(demand);
system\security\permissionlistset.cs (2)
426internal bool CheckDemandNoThrow(CodeAccessPermission demand) 453internal bool CheckDemand(CodeAccessPermission demand, PermissionToken permToken, RuntimeMethodHandleInternal rmh)
system\security\permissions\environmentpermission.cs (2)
349SecurityElement esd = CodeAccessPermission.CreatePermissionElement( this, "System.Security.Permissions.EnvironmentPermission" ); 370CodeAccessPermission.ValidateElement( esd, this );
system\security\permissions\filedialogpermission.cs (2)
77CodeAccessPermission.ValidateElement(esd, this); 163SecurityElement esd = CodeAccessPermission.CreatePermissionElement( this, "System.Security.Permissions.FileDialogPermission" );
system\security\permissions\fileiopermission.cs (2)
799SecurityElement esd = CodeAccessPermission.CreatePermissionElement(this, "System.Security.Permissions.FileIOPermission"); 838CodeAccessPermission.ValidateElement(esd, this);
system\security\permissions\gacidentitypermission.cs (2)
104SecurityElement securityElement = CodeAccessPermission.CreatePermissionElement( this, "System.Security.Permissions.GacIdentityPermission" ); 110CodeAccessPermission.ValidateElement(securityElement, this);
system\security\permissions\hostprotectionpermission.cs (2)
264SecurityElement esd = CodeAccessPermission.CreatePermissionElement( this, this.GetType().FullName ); 274CodeAccessPermission.ValidateElement( esd, this );
system\security\permissions\isolatedstoragepermission.cs (2)
207SecurityElement esd = CodeAccessPermission.CreatePermissionElement( this, permName ); 238CodeAccessPermission.ValidateElement( esd, this );
system\security\permissions\keycontainerpermission.cs (2)
536SecurityElement securityElement = CodeAccessPermission.CreatePermissionElement(this, "System.Security.Permissions.KeyContainerPermission"); 560CodeAccessPermission.ValidateElement(securityElement, this);
system\security\permissions\principalpermission.cs (1)
541CodeAccessPermission.ValidateElement( elem, this );
system\security\permissions\publisheridentitypermission.cs (2)
263CodeAccessPermission.ValidateElement( esd, this ); 290SecurityElement esd = CodeAccessPermission.CreatePermissionElement( this, "System.Security.Permissions.PublisherIdentityPermission" );
system\security\permissions\reflectionpermission.cs (2)
278SecurityElement esd = CodeAccessPermission.CreatePermissionElement( this, "System.Security.Permissions.ReflectionPermission" ); 292CodeAccessPermission.ValidateElement( esd, this );
system\security\permissions\registrypermission.cs (2)
409SecurityElement esd = CodeAccessPermission.CreatePermissionElement( this, "System.Security.Permissions.RegistryPermission" ); 442CodeAccessPermission.ValidateElement( esd, this );
system\security\permissions\securitypermission.cs (2)
284SecurityElement esd = CodeAccessPermission.CreatePermissionElement( this, "System.Security.Permissions.SecurityPermission" ); 298CodeAccessPermission.ValidateElement( esd, this );
system\security\permissions\siteidentitypermission.cs (2)
303CodeAccessPermission.ValidateElement( esd, this ); 330SecurityElement esd = CodeAccessPermission.CreatePermissionElement( this, "System.Security.Permissions.SiteIdentityPermission" );
system\security\permissions\strongnameidentitypermission.cs (2)
404CodeAccessPermission.ValidateElement( e, this ); 448SecurityElement esd = CodeAccessPermission.CreatePermissionElement( this, "System.Security.Permissions.StrongNameIdentityPermission" );
system\security\permissions\uipermission.cs (2)
322SecurityElement esd = CodeAccessPermission.CreatePermissionElement( this, "System.Security.Permissions.UIPermission" ); 343CodeAccessPermission.ValidateElement( esd, this );
system\security\permissions\urlidentitypermission.cs (2)
334CodeAccessPermission.ValidateElement( esd, this ); 361SecurityElement esd = CodeAccessPermission.CreatePermissionElement( this, "System.Security.Permissions.UrlIdentityPermission" );
system\security\permissions\zoneidentitypermission.cs (2)
254SecurityElement esd = CodeAccessPermission.CreatePermissionElement( this, "System.Security.Permissions.ZoneIdentityPermission" ); 280CodeAccessPermission.ValidateElement( esd, this );
system\security\permissionset.cs (25)
595CodeAccessPermission cap = thisPerm as CodeAccessPermission; 614if (!cap.CheckDemand( (CodeAccessPermission)targetPerm )) 618if (!cap.CheckPermitOnly( (CodeAccessPermission)targetPerm )) 622if (!cap.CheckAssert( (CodeAccessPermission)targetPerm )) 665CodeAccessPermission permThis, permThat; 670permThis = enumThis.Current as CodeAccessPermission; 678permThat = (CodeAccessPermission)deniedSet.GetPermission(enumThis.GetCurrentIndex()); 697internal void CheckDecoded( CodeAccessPermission demandedPerm, PermissionToken tokenDemandedPerm ) 1533if (currPerm != null && !(currPerm is CodeAccessPermission)) 2288if (perm is CodeAccessPermission) 2320if (perm is CodeAccessPermission) 2388if (!separateCasFromNonCas || perm is CodeAccessPermission) 2534CodeAccessPermission refusedPerm = (CodeAccessPermission)enumerator.Current; 2538CodeAccessPermission perm 2539= (CodeAccessPermission)assertSet.GetPermission(i); 2583CodeAccessPermission demandDerm = (CodeAccessPermission)enumerator.Current; 2587CodeAccessPermission assertPerm 2588= (CodeAccessPermission)assertSet.GetPermission(i); 2615CodeAccessPermission perm2 = (CodeAccessPermission)enumerator.Current; 2619CodeAccessPermission perm1 2620= (CodeAccessPermission)assertSet1.GetPermission(i);
system\security\permissionsettriple.cs (5)
174static bool CheckAssert(PermissionSet pSet, CodeAccessPermission demand, PermissionToken permToken) 180CodeAccessPermission perm = (CodeAccessPermission)pSet.GetPermission(demand); 216internal bool CheckDemand(CodeAccessPermission demand, PermissionToken permToken, RuntimeMethodHandleInternal rmh) 245internal bool CheckDemandNoThrow(CodeAccessPermission demand, PermissionToken permToken)
system\security\policy\pefileevidencefactory.cs (1)
165CodeAccessPermission.RevertAssert();
system\security\policy\policylevel.cs (1)
824CodeAccessPermission.Assert(true);
system\security\securitymanager.cs (7)
416CodeAccessPermission.Assert(true); 559private static CodeAccessPermission[] s_UnrestrictedSpecialPermissionMap = { 580CodeAccessPermission[] specialPermissions = new CodeAccessPermission[6]; 597specialPermissions[i] = grantSet.GetPermission(s_BuiltInPermissionIndexMap[i][0]) as CodeAccessPermission; 618CodeAccessPermission deniedSpecialPermission = deniedSet.GetPermission(s_BuiltInPermissionIndexMap[i][0]) as CodeAccessPermission;
system\security\securityruntime.cs (2)
81return secDesc.CheckDemand((CodeAccessPermission) demandIn, permToken, rmh); 115result = creationStack.CheckDemandNoHalt((CodeAccessPermission)demandIn, permToken, rmh);
system\threading\compressedstack.cs (2)
419internal bool CheckDemand(CodeAccessPermission demand, PermissionToken permToken, RuntimeMethodHandleInternal rmh) 433internal bool CheckDemandNoHalt(CodeAccessPermission demand, PermissionToken permToken, RuntimeMethodHandleInternal rmh)
PresentationCore (31)
Core\CSharp\MS\Internal\AppModel\CustomCredentialPolicy.cs (2)
100CodeAccessPermission.RevertAssert(); 153CodeAccessPermission.RevertAssert();
Core\CSharp\MS\Internal\AppModel\SiteOfOriginContainer.cs (2)
308CodeAccessPermission.RevertAssert(); 319CodeAccessPermission.RevertAssert();
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (2)
119CodeAccessPermission.RevertAssert(); 224CodeAccessPermission.RevertAssert();
Core\CSharp\MS\Internal\FontCache\FontSource.cs (1)
203CodeAccessPermission.RevertAssert();
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (1)
229CodeAccessPermission.RevertAssert();
Core\CSharp\MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
416CodeAccessPermission.RevertAssert();
Core\CSharp\MS\Internal\SystemDrawingHelper.cs (2)
113internal static CodeAccessPermission NewSafePrintingPermission() 120internal static CodeAccessPermission NewDefaultPrintingPermission()
Core\CSharp\System\Windows\Diagnostics\VisualDiagnostics.cs (2)
252CodeAccessPermission.RevertAll(); 406CodeAccessPermission.RevertAll();
Core\CSharp\System\Windows\Input\Command\CommandManager.cs (1)
603CodeAccessPermission.RevertAssert();
Core\CSharp\System\Windows\Input\MouseDevice.cs (1)
2213CodeAccessPermission.RevertAssert();
Core\CSharp\System\Windows\Interop\HwndTarget.cs (1)
1610CodeAccessPermission.RevertAll();
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (5)
117_fileIOPermObj = new SecurityCriticalDataForSet<CodeAccessPermission>( 156_fileIOPermObj = new SecurityCriticalDataForSet<CodeAccessPermission>( 343internal CodeAccessPermission CriticalFileReadPermission 361internal CodeAccessPermission CriticalUriDiscoveryPermission 2388private SecurityCriticalDataForSet<CodeAccessPermission> _fileIOPermObj;
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (1)
1010CodeAccessPermission.RevertAssert();
Shared\MS\Internal\SecurityHelper.cs (9)
130internal static CodeAccessPermission CreateUserInitiatedRoutedEventPermission() 569CodeAccessPermission siteOfOriginReadPermission = null; 712CodeAccessPermission permission = CreateUriDiscoveryPermission(uri); 721internal static CodeAccessPermission CreateUriDiscoveryPermission(Uri uri) 743internal static CodeAccessPermission CreateUriReadPermission(Uri uri) 767CodeAccessPermission permission = CreateUriReadPermission(uri); 1244CodeAccessPermission casPermission= SecurityHelper.CreateMediaAccessPermission(uri); 1259CodeAccessPermission 1262CodeAccessPermission codeAccessPermission = null;
PresentationFramework (45)
src\Framework\Microsoft\Win32\FileDialog.cs (1)
1244CodeAccessPermission.RevertAssert();
src\Framework\Microsoft\Win32\OpenFileDialog.cs (2)
118CodeAccessPermission.RevertAssert(); 175CodeAccessPermission.RevertAssert();
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (1)
654CodeAccessPermission.RevertAll() ;
src\Framework\MS\Internal\AppModel\AppSecurityManager.cs (3)
469CodeAccessPermission.RevertAssert(); 507CodeAccessPermission.RevertAssert(); 541CodeAccessPermission.RevertAssert();
src\Framework\MS\Internal\AppModel\ContentFilePart.cs (2)
155CodeAccessPermission.RevertAssert(); 175CodeAccessPermission.RevertAssert();
src\Framework\MS\Internal\AppModel\PresentationAppDomainManager.cs (1)
289CodeAccessPermission.RevertAssert();
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (3)
235CodeAccessPermission.RevertAssert(); 1035CodeAccessPermission printp = SystemDrawingHelper.NewDefaultPrintingPermission(); 1047CodeAccessPermission.RevertAssert();
src\Framework\MS\Internal\Printing\PrintDlgExMarshaler.cs (3)
401CodeAccessPermission.RevertAssert(); 469CodeAccessPermission.RevertAssert(); 932CodeAccessPermission.RevertAssert();
src\Framework\MS\Internal\Printing\Win32PrintDialog.cs (1)
347CodeAccessPermission.RevertAssert();
src\Framework\System\Windows\Application.cs (1)
2633CodeAccessPermission.RevertAssert();
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
794CodeAccessPermission.RevertAssert();
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
2618CodeAccessPermission.RevertAssert();
src\Framework\System\Windows\Controls\PrintDialog.cs (3)
503CodeAccessPermission.RevertAssert(); 548CodeAccessPermission.RevertAssert(); 675CodeAccessPermission.RevertAssert();
src\Framework\System\Windows\Documents\Hyperlink.cs (2)
1168CodeAccessPermission perm = SecurityHelper.CreateUserInitiatedNavigationPermission(); 1177CodeAccessPermission.RevertAssert();
src\Framework\System\Windows\Documents\ImmComposition.cs (3)
251CodeAccessPermission.RevertAssert(); 850CodeAccessPermission.RevertAssert(); 1931CodeAccessPermission.RevertAssert();
src\Framework\System\Windows\Documents\RubberbandSelector.cs (2)
191CodeAccessPermission mediaAccessPermission = SecurityHelper.CreateMediaAccessPermission(null); 268CodeAccessPermission mediaAccessPermission = SecurityHelper.CreateMediaAccessPermission(null);
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (1)
326CodeAccessPermission.RevertAssert();
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (1)
78CodeAccessPermission.RevertAssert();
src\Framework\System\Windows\Documents\TextStore.cs (1)
2517CodeAccessPermission.RevertAssert();
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (1)
79CodeAccessPermission.RevertAssert();
src\Framework\System\Windows\FrameworkTemplate.cs (1)
986CodeAccessPermission.RevertAssert();
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
1181CodeAccessPermission.RevertAssert();
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
129CodeAccessPermission.RevertAssert();
src\Framework\System\Windows\Interop\HwndHost.cs (2)
1049CodeAccessPermission.RevertAssert(); 1071CodeAccessPermission.RevertAssert();
src\Framework\System\Windows\Markup\XamlReader.cs (1)
1037CodeAccessPermission.RevertAssert();
src\Framework\System\Windows\ResourceDictionary.cs (1)
1413CodeAccessPermission.RevertAssert();
src\Framework\System\Windows\SystemResources.cs (1)
989CodeAccessPermission.RevertAssert();
src\Framework\System\Windows\TemplateContent.cs (1)
403CodeAccessPermission.RevertAssert();
src\Shared\MS\Internal\SecurityHelper.cs (2)
264internal static CodeAccessPermission CreateUserInitiatedNavigationPermission() 290static CodeAccessPermission _defaultPrintingPermission = null;
System (37)
compmod\microsoft\win32\SystemEvents.cs (1)
1215CodeAccessPermission.RevertAssert();
compmod\system\componentmodel\BindingList.cs (1)
18using CodeAccessPermission = System.Security.CodeAccessPermission;
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (4)
104CodeAccessPermission.RevertAssert(); 142CodeAccessPermission.RevertAssert(); 169CodeAccessPermission.RevertAssert(); 262CodeAccessPermission.RevertAssert();
compmod\system\componentmodel\IntSecurity.cs (3)
14public static readonly CodeAccessPermission UnmanagedCode = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode); 15public static readonly CodeAccessPermission FullReflection = new ReflectionPermission(PermissionState.Unrestricted); 27CodeAccessPermission.RevertAssert();
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (2)
426CodeAccessPermission.RevertAssert(); 530CodeAccessPermission.RevertAssert();
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (2)
1642CodeAccessPermission.RevertAssert(); 1668CodeAccessPermission.RevertAssert();
compmod\system\componentmodel\TypeDescriptor.cs (2)
17using CodeAccessPermission = System.Security.CodeAccessPermission; 483CodeAccessPermission.RevertAssert();
net\System\Net\Configuration\DefaultProxySection.cs (2)
174CodeAccessPermission.RevertAssert(); 220CodeAccessPermission.RevertAssert();
net\System\Net\HttpWebRequest.cs (1)
5947CodeAccessPermission permission = (new WebPermission(NetworkAccess.Connect, uri));
net\System\Net\Internal.cs (1)
145((CodeAccessPermission) state).Demand();
regex\system\text\regularexpressions\RegexCompiler.cs (4)
176CodeAccessPermission.RevertAssert(); 204CodeAccessPermission.RevertAssert(); 243CodeAccessPermission.RevertAssert(); 3116CodeAccessPermission.RevertAssert();
services\io\system\io\FileSystemWatcher.cs (1)
953CodeAccessPermission.RevertAssert();
services\monitoring\system\diagnosticts\EventLog.cs (6)
556CodeAccessPermission.RevertAssert(); 662CodeAccessPermission.RevertAssert(); 756CodeAccessPermission.RevertAssert(); 832CodeAccessPermission.RevertAssert(); 943CodeAccessPermission.RevertAssert(); 1004CodeAccessPermission.RevertAssert();
services\monitoring\system\diagnosticts\EventLogInternal.cs (2)
294CodeAccessPermission.RevertAssert(); 1199CodeAccessPermission.RevertAssert();
sys\system\Media\SoundPlayer.cs (4)
281System.Security.CodeAccessPermission.RevertAssert(); 292System.Security.CodeAccessPermission.RevertAssert(); 726private static volatile CodeAccessPermission safeSubWindows; 728internal static CodeAccessPermission SafeSubWindows {
sys\system\Media\SystemSounds.cs (1)
96System.Security.CodeAccessPermission.RevertAssert();
System.Activities (5)
System\Activities\Debugger\SourceLocationProvider.cs (1)
157CodeAccessPermission.RevertAssert();
System\Activities\Debugger\StateManager.cs (1)
726CodeAccessPermission.RevertAssert();
System\Activities\Runtime\CallbackWrapper.cs (1)
297CodeAccessPermission.RevertAssert();
System\Activities\XamlIntegration\ActivityXamlServices.cs (2)
520CodeAccessPermission.RevertAssert(); 563CodeAccessPermission.RevertAssert();
System.AddIn (5)
System\Addin\Hosting\ActivationWorker.cs (1)
117CodeAccessPermission.RevertAssert();
System\Addin\Hosting\AddInActivator.cs (1)
697CodeAccessPermission.RevertAssert();
System\Addin\Hosting\AddInControllerImpl.cs (1)
214CodeAccessPermission.RevertAssert();
System\Addin\Hosting\AddInEnvironment.cs (1)
95CodeAccessPermission.RevertAssert();
System\Addin\Pipeline\ContractBase.cs (1)
282CodeAccessPermission.RevertAssert();
System.Configuration (7)
System\Configuration\Internal\InternalConfigHost.cs (4)
173CodeAccessPermission.RevertAssert(); 218CodeAccessPermission.RevertAssert(); 263CodeAccessPermission.RevertAssert(); 304CodeAccessPermission.RevertAssert();
System\Configuration\RuntimeConfigurationRecord.cs (3)
92CodeAccessPermission.RevertPermitOnly(); 189CodeAccessPermission.RevertPermitOnly(); 300CodeAccessPermission.RevertPermitOnly();
System.Core (6)
System\IO\Pipes\PipeStream.cs (1)
165CodeAccessPermission.RevertAssert();
System\Security\Cryptography\ECDiffieHellmanCng.cs (2)
99CodeAccessPermission.RevertAssert(); 364CodeAccessPermission.RevertAssert();
System\Security\Cryptography\ECDsaCng.cs (3)
80CodeAccessPermission.RevertAssert(); 323CodeAccessPermission.RevertAssert(); 419CodeAccessPermission.RevertAssert();
System.Data (9)
fx\src\data\System\Data\Common\DbProviderFactory.cs (1)
54public virtual CodeAccessPermission CreatePermission(PermissionState state) {
fx\src\data\System\Data\Odbc\OdbcFactory.cs (1)
48public override CodeAccessPermission CreatePermission(PermissionState state) {
fx\src\data\System\Data\OleDb\OleDbFactory.cs (1)
48public override CodeAccessPermission CreatePermission(PermissionState state) {
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (2)
25internal static readonly System.Security.CodeAccessPermission ExecutePermission = CONNECTIONOBJECTNAME.CreateExecutePermission(); 192private static System.Security.CodeAccessPermission CreateExecutePermission() {
fx\src\data\System\Data\SqlClient\SqlClientFactory.cs (1)
55public override CodeAccessPermission CreatePermission(PermissionState state) {
fx\src\data\System\Data\XMLSchema.cs (3)
28CodeAccessPermission permission = (CodeAccessPermission)protAttrib.CreatePermission(); 34CodeAccessPermission.RevertAssert();
System.Data.Entity (1)
System\Data\EntityClient\EntityProviderFactory.cs (1)
99public override CodeAccessPermission CreatePermission(PermissionState state)
System.Data.SqlXml (2)
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
73CodeAccessPermission.RevertAssert();
System\Xml\Xsl\XsltOld\Compiler.cs (1)
805CodeAccessPermission.RevertAssert();
System.Drawing (29)
commonui\System\Drawing\Advanced\EncoderParameters.cs (1)
128System.Security.CodeAccessPermission.RevertAssert();
commonui\System\Drawing\Advanced\Font.cs (1)
893System.Security.CodeAccessPermission.RevertAssert();
commonui\System\Drawing\Icon.cs (2)
1036CodeAccessPermission.RevertAssert(); 1084CodeAccessPermission.RevertAssert();
commonui\System\Drawing\IntSecurity.cs (4)
13public static readonly CodeAccessPermission UnmanagedCode = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode); 15public static readonly CodeAccessPermission ObjectFromWin32Handle = UnmanagedCode; 16public static readonly CodeAccessPermission Win32HandleManipulation = UnmanagedCode; 55CodeAccessPermission.RevertAssert();
commonui\System\Drawing\Printing\DefaultPrintController.cs (4)
18using CodeAccessPermission = System.Security.CodeAccessPermission; 112CodeAccessPermission.RevertAssert(); 165CodeAccessPermission.RevertAssert(); 202CodeAccessPermission.RevertAssert();
commonui\System\Drawing\Printing\PreviewPrintController.cs (3)
22using CodeAccessPermission = System.Security.CodeAccessPermission; 79CodeAccessPermission.RevertAssert(); 155CodeAccessPermission.RevertAssert();
commonui\System\Drawing\Printing\PrintDocument.cs (1)
168CodeAccessPermission.RevertAssert();
commonui\System\Drawing\Printing\PrinterSettings.cs (6)
264CodeAccessPermission.RevertAssert(); 654CodeAccessPermission.RevertAssert(); 691CodeAccessPermission.RevertAssert(); 732CodeAccessPermission.RevertAssert(); 764CodeAccessPermission.RevertAssert(); 831CodeAccessPermission.RevertAssert();
commonui\System\Drawing\SystemFonts.cs (7)
54CodeAccessPermission.RevertAssert(); 96CodeAccessPermission.RevertAssert(); 137CodeAccessPermission.RevertAssert(); 178CodeAccessPermission.RevertAssert(); 219CodeAccessPermission.RevertAssert(); 274CodeAccessPermission.RevertAssert(); 367CodeAccessPermission.RevertAssert();
System.Runtime.Remoting (2)
channels\sinks\binaryformattersinks.cs (1)
586CodeAccessPermission.RevertPermitOnly();
channels\sinks\soapformattersinks.cs (1)
654CodeAccessPermission.RevertPermitOnly();
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\AspNetPartialTrustHelpers.cs (1)
61CodeAccessPermission.RevertPermitOnly();
System.Web (31)
Compilation\BrowserCapabilitiesCompiler.cs (1)
154CodeAccessPermission.RevertAssert();
Configuration\BrowserCapabilitiesCodeGenerator.cs (1)
878CodeAccessPermission.RevertAssert();
Configuration\HttpCapabilitiesEvaluator.cs (1)
341CodeAccessPermission.RevertAssert();
Configuration\HttpCapabilitiesSectionHandler.cs (2)
312CodeAccessPermission.RevertAssert(); 358CodeAccessPermission.RevertAssert();
ErrorFormatter.cs (1)
485CodeAccessPermission.RevertPermitOnly();
Hosting\HostingEnvironment.cs (3)
626CodeAccessPermission.RevertAssert(); 941CodeAccessPermission.RevertAssert(); 971CodeAccessPermission.RevertAssert();
HttpRuntime.cs (2)
2287CodeAccessPermission.RevertAssert(); 2616CodeAccessPermission askedPermission = factory.CreatePermission(PermissionState.Unrestricted);
Security\AuthStoreRoleProvider.cs (4)
406CodeAccessPermission.RevertAssert(); 450CodeAccessPermission.RevertAssert(); 753CodeAccessPermission.RevertAssert(); 798CodeAccessPermission.RevertAssert();
UI\WebParts\ImportCatalogPart.cs (3)
222CodeAccessPermission.RevertPermitOnly(); 229CodeAccessPermission.RevertPermitOnly(); 306CodeAccessPermission.RevertPermitOnly();
UI\WebParts\WebPartManager.cs (13)
2751CodeAccessPermission.RevertPermitOnly(); 2760CodeAccessPermission.RevertPermitOnly(); 2798CodeAccessPermission.RevertPermitOnly(); 2834CodeAccessPermission.RevertPermitOnly(); 2862CodeAccessPermission.RevertPermitOnly(); 2876CodeAccessPermission.RevertPermitOnly(); 2901CodeAccessPermission.RevertPermitOnly(); 2931CodeAccessPermission.RevertPermitOnly(); 3030CodeAccessPermission.RevertPermitOnly(); 3038CodeAccessPermission.RevertPermitOnly(); 3052CodeAccessPermission.RevertPermitOnly(); 3061CodeAccessPermission.RevertPermitOnly(); 3164CodeAccessPermission.RevertPermitOnly();
System.Windows.Forms (202)
winforms\Managed\System\WinForms\AccessibleObject.cs (4)
2843CodeAccessPermission.RevertAssert(); 2863CodeAccessPermission.RevertAssert(); 2918CodeAccessPermission.RevertAssert(); 2994CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\Application.cs (5)
1052CodeAccessPermission.RevertAssert(); 1204CodeAccessPermission.RevertAssert(); 1420CodeAccessPermission.RevertAssert(); 2615CodeAccessPermission.RevertAssert(); 3256CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\ButtonBase.cs (2)
831System.Security.CodeAccessPermission.RevertAssert(); 855System.Security.CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\Clipboard.cs (1)
205CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\ComboBox.cs (3)
3937CodeAccessPermission.RevertAssert(); 3972CodeAccessPermission.RevertAssert(); 3986CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\ContainerControl.cs (4)
480CodeAccessPermission.RevertAssert (); 516CodeAccessPermission.RevertAssert(); 830CodeAccessPermission.RevertAssert(); 1918CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\Control.cs (32)
8786CodeAccessPermission.RevertAssert(); 10180CodeAccessPermission.RevertAssert(); 13042CodeAccessPermission.RevertAssert(); 13064CodeAccessPermission.RevertAssert(); 13114CodeAccessPermission.RevertAssert(); 13907CodeAccessPermission.RevertAssert(); 16385CodeAccessPermission.RevertAssert(); 16838CodeAccessPermission.RevertAssert(); 17203CodeAccessPermission.RevertAssert(); 17277CodeAccessPermission.RevertAssert(); 17323CodeAccessPermission.RevertAssert(); 17571CodeAccessPermission.RevertAssert(); 17590CodeAccessPermission.RevertAssert(); 17648CodeAccessPermission.RevertAssert(); 17669CodeAccessPermission.RevertAssert(); 17700CodeAccessPermission.RevertAssert(); 17993CodeAccessPermission.RevertAssert(); 18015CodeAccessPermission.RevertAssert(); 18156CodeAccessPermission.RevertAssert(); 18167CodeAccessPermission.RevertAssert(); 18231CodeAccessPermission.RevertAssert(); 18567CodeAccessPermission.RevertAssert(); 18659CodeAccessPermission.RevertAssert(); 18718CodeAccessPermission.RevertAssert(); 18874CodeAccessPermission.RevertAssert(); 18958CodeAccessPermission.RevertAssert(); 18995CodeAccessPermission.RevertAssert(); 19012CodeAccessPermission.RevertAssert(); 19442CodeAccessPermission.RevertAssert(); 19470CodeAccessPermission.RevertAssert(); 20277CodeAccessPermission.RevertAssert(); 20287CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\ControlPaint.cs (1)
2074CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\Cursor.cs (3)
16using CodeAccessPermission = System.Security.CodeAccessPermission; 274CodeAccessPermission.RevertAssert(); 651CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\DataGrid.cs (5)
5792CodeAccessPermission.RevertAssert(); 8296CodeAccessPermission.RevertAssert(); 8323CodeAccessPermission.RevertAssert(); 8376CodeAccessPermission.RevertAssert(); 8431CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\DataGridView.cs (1)
2859CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
5455CodeAccessPermission.RevertAssert(); 20678CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\DataGridViewToolTip.cs (1)
82CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\DataObject.cs (6)
1410CodeAccessPermission.RevertAssert(); 1555CodeAccessPermission.RevertAssert(); 1611CodeAccessPermission.RevertAssert(); 1639CodeAccessPermission.RevertAssert(); 2008CodeAccessPermission.RevertAssert(); 2021CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\FileDialog.cs (1)
694CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\FileDialog_Vista.cs (1)
50CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\FontDialog.cs (2)
570CodeAccessPermission.RevertAssert(); 694CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\Form.cs (3)
4277CodeAccessPermission.RevertAssert(); 4320CodeAccessPermission.RevertAssert(); 5009System.Security.CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\GroupBox.cs (1)
728System.Security.CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\Help.cs (2)
361CodeAccessPermission.RevertAssert(); 395CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\ImageList.cs (1)
730CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\InputLanguage.cs (1)
295System.Security.CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\Label.cs (3)
1407System.Security.CodeAccessPermission.RevertAssert(); 1433System.Security.CodeAccessPermission.RevertAssert(); 1657System.Security.CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\LinkLabel.cs (1)
2721CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\LinkUtilities.cs (2)
80System.Security.CodeAccessPermission.RevertAssert(); 158System.Security.CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\ListBox.cs (1)
2289CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\ListView.cs (1)
6238CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\MaskedTextBox.cs (1)
3190CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\MDIControlStrip.cs (1)
140CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\MdiWindowListStrip.cs (2)
165CodeAccessPermission.RevertAssert(); 189CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\MenuItem.cs (2)
1810CodeAccessPermission.RevertAssert(); 1853CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
229System.Security.CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\NativeWindow.cs (4)
540System.Security.CodeAccessPermission.RevertAssert(); 644CodeAccessPermission.RevertAssert(); 872CodeAccessPermission.RevertAssert(); 1173CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\OpenFileDialog.cs (4)
15using CodeAccessPermission = System.Security.CodeAccessPermission; 165CodeAccessPermission.RevertAssert(); 262CodeAccessPermission.RevertAssert(); 290CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\Printing\PageSetupDialog.cs (2)
331CodeAccessPermission.RevertAssert(); 414CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\Printing\PrintDialog.cs (4)
396CodeAccessPermission.RevertAssert(); 425CodeAccessPermission.RevertAssert(); 478CodeAccessPermission.RevertAssert(); 520CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
21using CodeAccessPermission = System.Security.CodeAccessPermission;
winforms\Managed\System\WinForms\RichTextBox.cs (1)
385CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\SaveFileDialog.cs (2)
12using CodeAccessPermission = System.Security.CodeAccessPermission; 116CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\SplitContainer.cs (1)
2187CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\Splitter.cs (1)
991CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\SystemInformation.cs (1)
403CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\TabControl.cs (3)
1945CodeAccessPermission.RevertAssert(); 1977CodeAccessPermission.RevertAssert(); 2104CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\TextBox.cs (1)
858CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (2)
217CodeAccessPermission.RevertAssert(); 269CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\ToolStrip.cs (2)
4600System.Security.CodeAccessPermission.RevertAssert(); 4632System.Security.CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\ToolStripDropTargetManager.cs (1)
285CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
1155CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\ToolTip.cs (2)
2459CodeAccessPermission.RevertAssert(); 2628CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\TreeView.cs (1)
3144CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\TrustManager.cs (2)
293System.Security.CodeAccessPermission.RevertAssert(); 797System.Security.CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (2)
732System.Security.CodeAccessPermission.RevertAssert(); 750System.Security.CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\UserControl.cs (1)
356System.Security.CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\WindowsFormsSynchronizationContext.cs (2)
150CodeAccessPermission.RevertAssert(); 178CodeAccessPermission.RevertAssert();
winforms\Managed\System\WinForms\WinFormsSecurity.cs (64)
26private static CodeAccessPermission adjustCursorClip; 27private static CodeAccessPermission affectMachineState; 28private static CodeAccessPermission affectThreadBehavior; 29private static CodeAccessPermission allPrinting; 31private static CodeAccessPermission allWindows; 32private static CodeAccessPermission clipboardRead; 33private static CodeAccessPermission clipboardOwn; 35private static CodeAccessPermission changeWindowRegionForTopLevel; 36private static CodeAccessPermission controlFromHandleOrLocation; 37private static CodeAccessPermission createAnyWindow; 38private static CodeAccessPermission createGraphicsForControl; 39private static CodeAccessPermission defaultPrinting; 40private static CodeAccessPermission fileDialogCustomization; 41private static CodeAccessPermission fileDialogOpenFile; 42private static CodeAccessPermission fileDialogSaveFile; 43private static CodeAccessPermission getCapture; 44private static CodeAccessPermission getParent; 45private static CodeAccessPermission manipulateWndProcAndHandles; 46private static CodeAccessPermission modifyCursor; 47private static CodeAccessPermission modifyFocus; 48private static CodeAccessPermission objectFromWin32Handle; 49private static CodeAccessPermission safePrinting; 50private static CodeAccessPermission safeSubWindows; 51private static CodeAccessPermission safeTopLevelWindows; 52private static CodeAccessPermission sendMessages; 53private static CodeAccessPermission sensitiveSystemInformation; 54private static CodeAccessPermission transparentWindows; 55private static CodeAccessPermission topLevelWindow; 56private static CodeAccessPermission unmanagedCode; 57private static CodeAccessPermission unrestrictedWindows; 58private static CodeAccessPermission windowAdornmentModification; 79public static CodeAccessPermission AdjustCursorClip { 88public static CodeAccessPermission AdjustCursorPosition { 94public static CodeAccessPermission AffectMachineState { 103public static CodeAccessPermission AffectThreadBehavior { 112public static CodeAccessPermission AllPrinting { 133public static CodeAccessPermission AllWindows { 142public static CodeAccessPermission ClipboardRead { 151public static CodeAccessPermission ClipboardOwn { 171public static CodeAccessPermission ChangeWindowRegionForTopLevel { 180public static CodeAccessPermission ControlFromHandleOrLocation { 189public static CodeAccessPermission CreateAnyWindow { 198public static CodeAccessPermission CreateGraphicsForControl { 207public static CodeAccessPermission DefaultPrinting { 216public static CodeAccessPermission FileDialogCustomization { 225public static CodeAccessPermission FileDialogOpenFile { 234public static CodeAccessPermission FileDialogSaveFile { 263public static CodeAccessPermission GetCapture { 272public static CodeAccessPermission GetParent { 281public static CodeAccessPermission ManipulateWndProcAndHandles { 301public static CodeAccessPermission ModifyCursor { 310public static CodeAccessPermission ModifyFocus { 330public static CodeAccessPermission ObjectFromWin32Handle { 339public static CodeAccessPermission SafePrinting { 348public static CodeAccessPermission SafeSubWindows { 357public static CodeAccessPermission SafeTopLevelWindows { 366public static CodeAccessPermission SendMessages { 375public static CodeAccessPermission SensitiveSystemInformation { 395public static CodeAccessPermission TransparentWindows { 404public static CodeAccessPermission TopLevelWindow { 424public static CodeAccessPermission UnmanagedCode { 444public static CodeAccessPermission UnrestrictedWindows { 464public static CodeAccessPermission WindowAdornmentModification { 496CodeAccessPermission.RevertAssert();
System.Workflow.Runtime (1)
PerformanceCounterManager.cs (1)
240System.Security.CodeAccessPermission.RevertAssert();
System.Xml (2)
System\Xml\Serialization\Compiler.cs (2)
146CodeAccessPermission.RevertAssert(); 232CodeAccessPermission.RevertAssert();
WindowsBase (6)
Base\MS\Internal\SystemDrawingExtensionMethods.cs (2)
67internal abstract CodeAccessPermission NewSafePrintingPermission(); 70internal abstract CodeAccessPermission NewDefaultPrintingPermission();
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (1)
573CodeAccessPermission.RevertAssert();
Shared\MS\Internal\TextServicesLoader.cs (1)
234CodeAccessPermission.RevertAssert();
Shared\MS\Win32\HwndWrapper.cs (1)
178CodeAccessPermission.RevertAssert();
Shared\MS\Win32\ManagedWndProcTracker.cs (1)
140CodeAccessPermission.RevertAssert();