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