1312 references to SecurityPermissionFlag
mscorlib (289)
microsoft\win32\registrykey.cs (4)
887[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 945[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 954[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 2079new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand();
system\appdomain.cs (3)
2668[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlPrincipal)] 2689[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlPrincipal)] 3437new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Demand();
system\appdomainmanager.cs (2)
41[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags = SecurityPermissionFlag.Infrastructure)] 68new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Demand();
system\badimageformatexception.cs (2)
142[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy)]
system\cfgparser.cs (1)
277(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode)).Assert();
system\console.cs (3)
1911new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); 1932new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); 1955new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand();
system\deployment\cmsutils.cs (1)
18[SecurityPermissionAttribute(SecurityAction.Assert, Flags = SecurityPermissionFlag.UnmanagedCode)]
system\diagnostics\debugger.cs (3)
77new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); 101new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); 133new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand();
system\diagnostics\stacktrace.cs (1)
135new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
system\environment.cs (1)
289[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)]
system\exception.cs (2)
916SecurityPermission sp= new SecurityPermission(SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy);
system\io\directory.cs (2)
1019new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); 1186new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand();
system\io\fileloadexception.cs (2)
160[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy)]
system\io\filenotfoundexception.cs (2)
146[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy)]
system\io\filestream.cs (5)
911new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 981[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1007[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1407[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1427[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
system\io\isolatedstorage\isolatedstorage.cs (4)
337SecurityPermissionFlag.ControlEvidence); 437[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlPolicy)] 453[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlPolicy)] 468[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlPolicy)]
system\io\isolatedstorage\isolatedstoragefile.cs (1)
1621[SecurityPermissionAttribute(SecurityAction.Assert, Flags = SecurityPermissionFlag.UnmanagedCode)]
system\io\isolatedstorage\isolatedstoragefilestream.cs (2)
393[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 404[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
system\io\unmanagedmemoryaccessor.cs (1)
64[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
system\io\unmanagedmemorystream.cs (2)
168new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); 247new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand();
system\reflection\assembly.cs (5)
540[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlEvidence)] 595[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlEvidence)] 1840new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Demand(); 2019new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Demand(); 2089new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
system\reflection\ConstructorInfo.cs (2)
626new SecurityPermission(SecurityPermissionFlag.SkipVerification).Demand(); 734new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand();
system\reflection\emit\assemblybuilder.cs (2)
353new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Demand(); 717new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand();
system\reflection\emit\dynamicmethod.cs (1)
794new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand();
system\reflection\strongnamekeypair.cs (4)
57[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 75[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 92[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 107[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)]
system\rttype.cs (2)
5305new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); 5392ps.AddPermission(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode));
system\runtime\interopservices\bstrwrapper.cs (2)
28[SecurityPermissionAttribute(SecurityAction.Demand,Flags=SecurityPermissionFlag.UnmanagedCode)] 37[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
system\runtime\interopservices\dispatchwrapper.cs (1)
28[SecurityPermissionAttribute(SecurityAction.Demand,Flags=SecurityPermissionFlag.UnmanagedCode)]
system\runtime\interopservices\errorwrapper.cs (1)
39[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)]
system\runtime\interopservices\typelibconverter.cs (3)
56[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 83[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 167[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)]
system\runtime\remoting\activationservices.cs (1)
306SecurityPermission remotingInfrastructurePermission = new SecurityPermission(SecurityPermissionFlag.Infrastructure);
system\runtime\remoting\channelservices.cs (4)
100[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 107[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 227[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 471[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)]
system\runtime\remoting\clientsponsor.cs (1)
23[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)]
system\runtime\remoting\context.cs (2)
866[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.Infrastructure)] 896[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.Infrastructure)]
system\runtime\remoting\contextproperty.cs (2)
31[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)] 135[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)]
system\runtime\remoting\ichannel.cs (5)
302[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)] 407[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)] 504[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)] 524[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)] 594[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)]
system\runtime\remoting\lease.cs (7)
101[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 119[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 138[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 167[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 174[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 198[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 250[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)]
system\runtime\remoting\lifetimeservices.cs (4)
91[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 112[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 135[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 156[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)]
system\runtime\remoting\message.cs (6)
2529[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)] 2813[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)] 4095[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)] 4895[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)] 5698[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)] 5920[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)]
system\runtime\remoting\objref.cs (1)
376[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)]
system\runtime\remoting\proxyattribute.cs (1)
26[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)]
system\runtime\remoting\realproxy.cs (1)
70[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)]
system\runtime\remoting\remotingconfiguration.cs (21)
36[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 45[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 70[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 96[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 123[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 132[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 148[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 160[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 168[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 179[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 192[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 202[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 213[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 220[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 228[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 235[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 245[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 262[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 272[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 288[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 298[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)]
system\runtime\remoting\remotingservices.cs (4)
386[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 462[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 469[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)] 476[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.RemotingConfiguration)]
system\runtime\remoting\remotingsurrogateselector.cs (1)
29[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)]
system\runtime\remoting\synchronizeddispatch.cs (1)
33[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)]
system\security\accesscontrol\win32.cs (2)
95new SecurityPermission( SecurityPermissionFlag.UnmanagedCode ).Demand(); 261new SecurityPermission( SecurityPermissionFlag.UnmanagedCode ).Demand();
system\security\codeaccesssecurityengine.cs (2)
99AssertPermission = new SecurityPermission(SecurityPermissionFlag.Assertion); 746SecurityPermission executionPermission = new SecurityPermission(SecurityPermissionFlag.Execution);
system\security\cryptography\cryptoapitransform.cs (1)
162[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)]
system\security\cryptography\x509certificates\x509certificate.cs (2)
187[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 234[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
system\security\hostsecuritymanager.cs (1)
46[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)]
system\security\permissions\permissionattributes.cs (45)
609private SecurityPermissionFlag m_flag = SecurityPermissionFlag.NoFlags; 616public SecurityPermissionFlag Flags { 622get { return (m_flag & SecurityPermissionFlag.Assertion) != 0; } 623set { m_flag = value ? m_flag | SecurityPermissionFlag.Assertion : m_flag & ~SecurityPermissionFlag.Assertion; } 627get { return (m_flag & SecurityPermissionFlag.UnmanagedCode) != 0; } 628set { m_flag = value ? m_flag | SecurityPermissionFlag.UnmanagedCode : m_flag & ~SecurityPermissionFlag.UnmanagedCode; } 632get { return (m_flag & SecurityPermissionFlag.SkipVerification) != 0; } 633set { m_flag = value ? m_flag | SecurityPermissionFlag.SkipVerification : m_flag & ~SecurityPermissionFlag.SkipVerification; } 637get { return (m_flag & SecurityPermissionFlag.Execution) != 0; } 638set { m_flag = value ? m_flag | SecurityPermissionFlag.Execution : m_flag & ~SecurityPermissionFlag.Execution; } 642get { return (m_flag & SecurityPermissionFlag.ControlThread) != 0; } 643set { m_flag = value ? m_flag | SecurityPermissionFlag.ControlThread : m_flag & ~SecurityPermissionFlag.ControlThread; } 647get { return (m_flag & SecurityPermissionFlag.ControlEvidence) != 0; } 648set { m_flag = value ? m_flag | SecurityPermissionFlag.ControlEvidence : m_flag & ~SecurityPermissionFlag.ControlEvidence; } 652get { return (m_flag & SecurityPermissionFlag.ControlPolicy) != 0; } 653set { m_flag = value ? m_flag | SecurityPermissionFlag.ControlPolicy : m_flag & ~SecurityPermissionFlag.ControlPolicy; } 657get { return (m_flag & SecurityPermissionFlag.SerializationFormatter) != 0; } 658set { m_flag = value ? m_flag | SecurityPermissionFlag.SerializationFormatter : m_flag & ~SecurityPermissionFlag.SerializationFormatter; } 662get { return (m_flag & SecurityPermissionFlag.ControlDomainPolicy) != 0; } 663set { m_flag = value ? m_flag | SecurityPermissionFlag.ControlDomainPolicy : m_flag & ~SecurityPermissionFlag.ControlDomainPolicy; } 667get { return (m_flag & SecurityPermissionFlag.ControlPrincipal) != 0; } 668set { m_flag = value ? m_flag | SecurityPermissionFlag.ControlPrincipal : m_flag & ~SecurityPermissionFlag.ControlPrincipal; } 672get { return (m_flag & SecurityPermissionFlag.ControlAppDomain) != 0; } 673set { m_flag = value ? m_flag | SecurityPermissionFlag.ControlAppDomain : m_flag & ~SecurityPermissionFlag.ControlAppDomain; } 677get { return (m_flag & SecurityPermissionFlag.RemotingConfiguration) != 0; } 678set { m_flag = value ? m_flag | SecurityPermissionFlag.RemotingConfiguration : m_flag & ~SecurityPermissionFlag.RemotingConfiguration; } 683get { return (m_flag & SecurityPermissionFlag.Infrastructure) != 0; } 684set { m_flag = value ? m_flag | SecurityPermissionFlag.Infrastructure : m_flag & ~SecurityPermissionFlag.Infrastructure; } 688get { return (m_flag & SecurityPermissionFlag.BindingRedirects) != 0; } 689set { m_flag = value ? m_flag | SecurityPermissionFlag.BindingRedirects : m_flag & ~SecurityPermissionFlag.BindingRedirects; }
system\security\permissions\principalpermission.cs (1)
465new SecurityPermission(SecurityPermissionFlag.ControlPrincipal).Assert();
system\security\permissions\securitypermission.cs (21)
61private SecurityPermissionFlag m_flags; 89public SecurityPermission(SecurityPermissionFlag flag) 111m_flags = SecurityPermissionFlag.AllFlags; 119m_flags = SecurityPermissionFlag.NoFlags; 125public SecurityPermissionFlag Flags 184SecurityPermissionFlag flag_union = (SecurityPermissionFlag)(m_flags | sp_target.m_flags); 203SecurityPermissionFlag isectFlags = SecurityPermissionFlag.NoFlags; 212isectFlags = (SecurityPermissionFlag)this.m_flags; 218isectFlags = (SecurityPermissionFlag)operand.m_flags; 224isectFlags = (SecurityPermissionFlag)m_flags & (SecurityPermissionFlag)operand.m_flags; 240return new SecurityPermission((SecurityPermissionFlag)m_flags); 247return m_flags == SecurityPermissionFlag.AllFlags; 253void VerifyAccess(SecurityPermissionFlag type) 257if ((type & ~SecurityPermissionFlag.AllFlags) != 0) 287esd.AddAttribute( "Flags", XMLUtil.BitFieldEnumToString( typeof( SecurityPermissionFlag ), m_flags ) ); 301m_flags = SecurityPermissionFlag.AllFlags; 311m_flags = (SecurityPermissionFlag)Enum.Parse( typeof( SecurityPermissionFlag ), flags );
system\security\policy\applicationsecurityinfo.cs (1)
33[SecurityPermissionAttribute(SecurityAction.Assert, Flags = SecurityPermissionFlag.UnmanagedCode)]
system\security\policy\applicationsecuritymanager.cs (2)
67[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlPolicy)] 75[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlPolicy)]
system\security\policy\evidence.cs (6)
365new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Demand(); 481new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Demand(); 597new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Demand(); 812new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Demand(); 1433new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Demand(); 1463new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Demand();
system\security\policy\pefileevidencefactory.cs (1)
153new SecurityPermission(SecurityPermissionFlag.SerializationFormatter).Assert();
system\security\policy\policylevel.cs (1)
212[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlPolicy)]
system\security\policymanager.cs (1)
65[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlPolicy)]
system\security\principal\windowsidentity.cs (18)
133[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlPrincipal)] 134[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 138[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlPrincipal)] 139[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 143[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlPrincipal)] 144[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 148[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlPrincipal)] 149[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 192[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlPrincipal)] 196[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlPrincipal)] 217[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlPrincipal)] 218[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.SerializationFormatter )] 264[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlPrincipal)] 270[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlPrincipal)] 276[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlPrincipal)] 602[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 665[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlPrincipal | SecurityPermissionFlag.UnmanagedCode)]
system\security\securityexception.cs (22)
376[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy)] 391[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy)] 407[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy)] 422[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy)] 437[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy)] 453[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy)] 469[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy)] 485[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy)] 506[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy)] 539[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy)] 619new SecurityPermission(SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy).Demand();
system\security\securitymanager.cs (24)
161[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlPolicy )] 195[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlPolicy )] 241[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlPolicy )] 392[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlPolicy )] 440executionSecurityPermission = new SecurityPermission(SecurityPermissionFlag.Execution); 575SecurityPermissionFlag securityPermissionFlags = SecurityPermissionFlag.NoFlags; 583securityPermissionFlags = SecurityPermissionFlag.AllFlags; 604securityPermissionFlags = SecurityPermissionFlag.NoFlags; 636private static int MapToSpecialFlags (SecurityPermissionFlag securityPermissionFlags, ReflectionPermissionFlag reflectionPermissionFlags) { 640if ((securityPermissionFlags & SecurityPermissionFlag.UnmanagedCode) == SecurityPermissionFlag.UnmanagedCode) 643if ((securityPermissionFlags & SecurityPermissionFlag.SkipVerification) == SecurityPermissionFlag.SkipVerification) 645if ((securityPermissionFlags & SecurityPermissionFlag.Assertion) == SecurityPermissionFlag.Assertion) 647if ((securityPermissionFlags & SecurityPermissionFlag.SerializationFormatter) == SecurityPermissionFlag.SerializationFormatter) 649if ((securityPermissionFlags & SecurityPermissionFlag.BindingRedirects) == SecurityPermissionFlag.BindingRedirects) 651if ((securityPermissionFlags & SecurityPermissionFlag.ControlEvidence) == SecurityPermissionFlag.ControlEvidence) 653if ((securityPermissionFlags & SecurityPermissionFlag.ControlPrincipal) == SecurityPermissionFlag.ControlPrincipal)
system\threading\synchronizationcontext.cs (2)
59[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags =SecurityPermissionFlag.ControlPolicy|SecurityPermissionFlag.ControlEvidence)]
system\threading\thread.cs (1)
1412[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlPrincipal)]
system\threading\threadpool.cs (2)
1887[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1902[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
system\threading\waithandle.cs (3)
95[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 129[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 145[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
system\weakreference.cs (1)
24[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] // Don't call Object::MemberwiseClone.
PresentationCore (30)
Core\CSharp\MS\Internal\AppModel\CustomCredentialPolicy.cs (1)
85new SecurityPermission(SecurityPermissionFlag.ControlPolicy).Assert(); // BlessedAssert:
Core\CSharp\MS\Internal\AppModel\SiteOfOriginContainer.cs (2)
300SecurityPermission p1 = new SecurityPermission(SecurityPermissionFlag.ControlDomainPolicy); 311SecurityPermission p2 = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode);
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (1)
1084new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); //Blessed Assert
Core\CSharp\MS\Internal\FontCache\FontSource.cs (1)
443new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); //Blessed Assert
Core\CSharp\System\Windows\Automation\Peers\AutomationPeer.cs (1)
231(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode)).Demand();
Core\CSharp\System\Windows\DataObject.cs (3)
3659new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert 3679new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert 3698new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert
Core\CSharp\System\Windows\Input\InputMethod.cs (1)
1922SecurityPermission sp = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode);
Core\CSharp\System\Windows\Input\MouseDevice.cs (1)
2199new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert:
Core\CSharp\System\Windows\Input\TextCompositionManager.cs (1)
491SecurityPermission sp = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode);
Core\CSharp\System\Windows\Interop\HwndSource.cs (3)
387SecurityHelper.CallerHasPermissionWithAppDomainOptimization(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode))) 2125new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 2897new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
Core\CSharp\System\Windows\Interop\HwndTarget.cs (3)
1599unpackPermissionSet.AddPermission(new SecurityPermission(SecurityPermissionFlag.SerializationFormatter | SecurityPermissionFlag.UnmanagedCode | SecurityPermissionFlag.RemotingConfiguration));
Core\CSharp\System\Windows\Media\Imaging\BitmapDownload.cs (1)
151new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (2)
376[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 377[SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (4)
384[SecurityPermission(SecurityAction.InheritanceDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 410[SecurityPermission(SecurityAction.InheritanceDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 438[SecurityPermission(SecurityAction.InheritanceDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 439[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
Core\CSharp\System\Windows\Media\MediaContextNotificationWindow.cs (1)
264(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode)).Assert();
Core\CSharp\System\Windows\Media\PixelFormat.cs (1)
538[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
Shared\MS\Internal\SecurityHelper.cs (3)
113_unmanagedCodePermission = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode); 612_serializationSecurityPermission = new SecurityPermission(SecurityPermissionFlag.SerializationFormatter); 1012_infrastructurePermission = new SecurityPermission( SecurityPermissionFlag.Infrastructure );
PresentationFramework (34)
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (2)
634new SecurityPermission(SecurityPermissionFlag.SerializationFormatter).Assert(); 848new SecurityPermission(SecurityPermissionFlag.SerializationFormatter).Demand();
src\Framework\MS\Internal\AppModel\AppSecurityManager.cs (3)
455new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert: 500new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert: 526new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert:
src\Framework\MS\Internal\AppModel\AssemblyFilter.cs (1)
79new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();//BlessedAssert
src\Framework\MS\Internal\AppModel\PresentationAppDomainManager.cs (1)
280new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert:
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
687new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); //BlessedAssert
src\Framework\MS\Internal\DataStreams.cs (2)
163new SecurityPermission(SecurityPermissionFlag.SerializationFormatter).Assert(); 295 new SecurityPermission(SecurityPermissionFlag.SerializationFormatter).Demand(); // prevent any journal metadata de-serialization in partial trust
src\Framework\System\Windows\Controls\DataGrid.cs (2)
8363(new SecurityPermission(SecurityPermissionFlag.SerializationFormatter | SecurityPermissionFlag.UnmanagedCode)).Assert();
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
785permissions.AddPermission(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode));
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
2272ps.AddPermission(new SecurityPermission(SecurityPermissionFlag.SerializationFormatter));
src\Framework\System\Windows\Controls\Primitives\Popup.cs (1)
2792new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); //Blessed Assert
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
92if (!SecurityHelper.CallerHasPermissionWithAppDomainOptimization(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode)))
src\Framework\System\Windows\Controls\WebBrowser.cs (2)
800[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1463(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode)).Assert();
src\Framework\System\Windows\Documents\ImmComposition.cs (1)
1940new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();//Blessed Assert
src\Framework\System\Windows\Documents\RubberbandSelector.cs (4)
190(new SecurityPermission(SecurityPermissionFlag.SerializationFormatter | SecurityPermissionFlag.UnmanagedCode)).Demand(); 262ps.AddPermission(new SecurityPermission(SecurityPermissionFlag.SerializationFormatter)); 264ps.AddPermission(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode));
src\Framework\System\Windows\Documents\TextServicesHost.cs (1)
282SecurityPermission secperm = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode);
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
1174new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert
src\Framework\System\Windows\Interop\ActiveXHost.cs (2)
298[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 396[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
src\Framework\System\Windows\Interop\DocobjHost.cs (2)
952permissionSet.AddPermission(new SecurityPermission(SecurityPermissionFlag.Execution)); 986permissionSet.AddPermission(new SecurityPermission(SecurityPermissionFlag.Execution));
src\Framework\System\Windows\Interop\HwndHost.cs (1)
34[SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
src\Framework\System\Windows\Markup\XamlParseException.cs (1)
268[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.SerializationFormatter)]
src\Shared\MS\Internal\SecurityHelper.cs (3)
113_unmanagedCodePermission = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode); 1183(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode)).Assert(); 1223(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode)).Assert();
System (158)
compmod\microsoft\csharp\csharpcodeprovider.cs (8)
3374new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); 3380SecurityPermission perm1 = new SecurityPermission(SecurityPermissionFlag.ControlEvidence); 3490SecurityPermission perm = new SecurityPermission(SecurityPermissionFlag.ControlEvidence); 3652new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); 3674new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); 3696new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); 3719new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); 3795new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand();
compmod\microsoft\visualbasic\VBCodeProvider.cs (3)
2805new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); 2811SecurityPermission perm1 = new SecurityPermission(SecurityPermissionFlag.ControlEvidence); 2914SecurityPermission perm = new SecurityPermission(SecurityPermissionFlag.ControlEvidence);
compmod\system\codedom\compiler\CodeCompiler.cs (8)
180new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); 202new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); 224new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); 247new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); 323new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); 329SecurityPermission perm1 = new SecurityPermission(SecurityPermissionFlag.ControlEvidence); 407SecurityPermission perm = new SecurityPermission(SecurityPermissionFlag.ControlEvidence); 487new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand();
compmod\system\codedom\compiler\CompilerResults.cs (1)
101[SecurityPermissionAttribute(SecurityAction.Assert, Flags=SecurityPermissionFlag.ControlEvidence)]
compmod\system\collections\generic\linkedlist.cs (1)
282[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
compmod\system\collections\specialized\nameobjectcollectionbase.cs (1)
131[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)]
compmod\system\collections\specialized\ordereddictionary.cs (1)
359[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)]
compmod\system\componentmodel\IntSecurity.cs (1)
14public static readonly CodeAccessPermission UnmanagedCode = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode);
compmod\system\componentmodel\Win32Exception.cs (5)
40[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 46[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 53[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 63[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 72[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
compmod\system\diagnostics\BooleanSwitch.cs (1)
41[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
compmod\system\diagnostics\Debug.cs (4)
32[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 45[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 50[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 89[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
compmod\system\diagnostics\ListenerElementsCollection.cs (1)
52new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand();
compmod\system\diagnostics\SourceSwitch.cs (1)
25[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
compmod\system\diagnostics\Trace.cs (7)
34new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); 46[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 51[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 58[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 63[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 70[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 116new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand();
compmod\system\diagnostics\TraceEventCache.cs (1)
80new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand();
compmod\system\diagnostics\TraceSource.cs (3)
116[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 492[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 509[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
compmod\system\diagnostics\TraceSwitch.cs (1)
42[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
compmod\System\Runtime\InteropServices\StandardOleMarshalObject.cs (7)
38[System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] 64[System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] 73[System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] 96[System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] 119[System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] 130[System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] 140[System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)]
net\System\Net\_AutoWebProxyScriptEngine.cs (2)
50[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.ControlPrincipal)] 523[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.ControlPrincipal)]
net\System\Net\_AutoWebProxyScriptWrapper.cs (6)
575[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.ControlAppDomain)] 598perms.AddPermission(new SecurityPermission(SecurityPermissionFlag.Execution)); 618permissionSet.AddPermission(new SecurityPermission(SecurityPermissionFlag.Execution)); 692[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.ControlAppDomain)] 721[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.ControlAppDomain)] 774[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.ControlAppDomain)]
net\System\Net\_ContextAwareResult.cs (1)
132[SecurityPermissionAttribute(SecurityAction.Assert, Flags=SecurityPermissionFlag.ControlPrincipal)]
net\System\Net\_NTAuthentication.cs (2)
379[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.ControlPrincipal)] 438[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.ControlPrincipal)]
net\System\Net\_SecureChannel.cs (2)
382[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.ControlPrincipal)] 872[SecurityPermissionAttribute(SecurityAction.Assert, Flags=SecurityPermissionFlag.ControlPrincipal)]
net\System\Net\Configuration\DefaultProxySection.cs (5)
140[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.ControlPrincipal)] 169new SecurityPermission(SecurityPermissionFlag.ControlPrincipal | SecurityPermissionFlag.UnmanagedCode).Assert(); 215new SecurityPermission(SecurityPermissionFlag.ControlPrincipal | SecurityPermissionFlag.UnmanagedCode).Assert();
net\System\Net\cookieexception.cs (2)
37[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter, SerializationFormatter=true)] 44[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)]
net\System\Net\filewebrequest.cs (1)
81[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter, SerializationFormatter=true)]
net\System\Net\filewebresponse.cs (1)
85[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter, SerializationFormatter=true)]
net\System\Net\HttpListener.cs (5)
403new SecurityPermission(SecurityPermissionFlag.ControlPrincipal).Demand(); 443new SecurityPermission(SecurityPermissionFlag.ControlPrincipal).Demand(); 760[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.UnmanagedCode)] 1319[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)] 1320[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.ControlPrincipal)]
net\System\Net\HttpListenerContext.cs (1)
78new SecurityPermission(SecurityPermissionFlag.ControlPrincipal).Demand();
net\System\Net\HttpWebRequest.cs (1)
5321[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter, SerializationFormatter=true)]
net\System\Net\HttpWebResponse.cs (1)
594[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter, SerializationFormatter=true)]
net\System\Net\Internal.cs (4)
949internal static readonly SecurityPermission UnmanagedPermission = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode); 951internal static readonly SecurityPermission InfrastructurePermission = new SecurityPermission(SecurityPermissionFlag.Infrastructure); 952internal static readonly SecurityPermission ControlPolicyPermission = new SecurityPermission(SecurityPermissionFlag.ControlPolicy); 953internal static readonly SecurityPermission ControlPrincipalPermission = new SecurityPermission(SecurityPermissionFlag.ControlPrincipal);
net\System\Net\mail\iisPickupDirectory.cs (1)
334[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.UnmanagedCode)]
net\System\Net\mail\smtpconnection.cs (1)
475[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.ControlPrincipal)]
net\System\Net\mail\SmtpDigestAuthenticationModule.cs (1)
34[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.UnmanagedCode)]
net\System\Net\mail\SmtpException.cs (2)
120[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)] 126[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)]
net\System\Net\mail\SmtpFailedRecipientException.cs (2)
64[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)] 74[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)]
net\System\Net\mail\SmtpFailedRecipientsException.cs (2)
86[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)] 96[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)]
net\System\Net\mail\SmtpLoginAuthenticationModule.cs (1)
33[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)]
net\System\Net\mail\SmtpNegotiateAuthenticationModule.cs (1)
29[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)]
net\System\Net\mail\SmtpNtlmAuthenticationModule.cs (1)
35[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)]
net\System\Net\ProtocolViolationException.cs (2)
44[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter, SerializationFormatter=true)] 51[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)]
net\System\Net\SecureProtocols\NegotiateStream.cs (1)
417new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand();
net\System\Net\Sockets\Socket.cs (1)
7629[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.UnmanagedCode)]
net\System\Net\WebException.cs (2)
152[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)] 160[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)]
net\System\Net\WebHeaderCollection.cs (2)
1038[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)] 1854[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter, SerializationFormatter=true)]
net\System\Net\webproxy.cs (1)
461[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter, SerializationFormatter=true)]
net\System\Net\WebRequest.cs (2)
569[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter, SerializationFormatter=true)] 935[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.ControlPrincipal)]
net\System\Net\WebResponse.cs (1)
57[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter, SerializationFormatter=true)]
net\System\URI.cs (5)
1627[SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)] 1660[SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)] 1687[SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)] 1702[SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)] 1731[SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.Infrastructure)]
security\system\security\cryptography\x509\x509certificate2.cs (4)
402[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 403[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 416[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 417[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
security\system\security\cryptography\x509\x509chain.cs (6)
110[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 111[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 123[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 124[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 132[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 133[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
security\system\security\cryptography\x509\x509store.cs (4)
111[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 112[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 122[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 123[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
services\io\system\io\FileSystemWatcher.cs (1)
1141System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
services\monitoring\system\diagnosticts\EventLog.cs (2)
85SecurityPermission securityPermission = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode); 1040new System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode).Assert();
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (4)
623ps.AddPermission(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode)); 960ps.AddPermission(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode)); 1145new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 1192new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
services\monitoring\system\diagnosticts\ProcessManager.cs (1)
748new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand();
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (3)
49new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 938new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 1552new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
sys\system\configuration\ApplicationSettingsBase.cs (1)
688[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)]
sys\system\configuration\SettingsPropertyValue.cs (2)
67[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)] 75[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
sys\System\EnvironmentHelpers.cs (2)
35[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.UnmanagedCode | SecurityPermissionFlag.ControlPrincipal)]
sys\system\io\ports\SerialPort.cs (1)
832new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand();
sys\system\Media\SoundPlayer.cs (1)
707[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)]
sys\system\threading\semaphore.cs (8)
44[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 86[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 96[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 165[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 175[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 202[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 216[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 237[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
System.Activities (1)
System\Activities\Debugger\StateManager.cs (1)
716unmanagedCodePermissionSet.AddPermission(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode));
System.AddIn (19)
System\Addin\Hosting\AddInActivator.cs (2)
226SecurityPermissionFlag requiredFlags = SecurityPermissionFlag.Execution;
System\Addin\Hosting\AddInEnvironment.cs (1)
91SecurityPermission permission = new SecurityPermission(SecurityPermissionFlag.ControlAppDomain);
System\Addin\Hosting\AddInIpcChannel.cs (4)
123new System.Security.Permissions.SecurityPermission(SecurityPermissionFlag.SerializationFormatter | SecurityPermissionFlag.UnmanagedCode).Assert(); 288new System.Security.Permissions.SecurityPermission(SecurityPermissionFlag.SerializationFormatter | SecurityPermissionFlag.UnmanagedCode).Assert();
System\Addin\Hosting\AddInServer.cs (4)
121permissionSet.AddPermission(new SecurityPermission(SecurityPermissionFlag.ControlPrincipal)); 122permissionSet.AddPermission(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode)); 140new SecurityPermission(SecurityPermissionFlag.ControlAppDomain).Assert(); 172SecurityPermission permission = new SecurityPermission(SecurityPermissionFlag.ControlAppDomain);
System\Addin\Hosting\AddInStore.cs (2)
1022permissionSet.AddPermission(new SecurityPermission(SecurityPermissionFlag.SerializationFormatter)); 1070new SecurityPermission(SecurityPermissionFlag.SerializationFormatter).Demand();
System\Addin\Hosting\RemotingHelper.cs (2)
27Flags = System.Security.Permissions.SecurityPermissionFlag.RemotingConfiguration | System.Security.Permissions.SecurityPermissionFlag.Infrastructure)]
System\Addin\Pipeline\ContractBase.cs (4)
174SecurityPermission permission = new SecurityPermission(SecurityPermissionFlag.ControlThread); 201SecurityPermission permission = new SecurityPermission(SecurityPermissionFlag.ControlAppDomain); 244[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure)] 273SecurityPermission permission = new SecurityPermission(SecurityPermissionFlag.RemotingConfiguration);
System.Configuration (4)
System\Configuration\ClientConfigPaths.cs (2)
307s_controlEvidencePerm = new SecurityPermission(SecurityPermissionFlag.ControlEvidence); 316s_serializationPerm = new SecurityPermission(SecurityPermissionFlag.SerializationFormatter);
System\Configuration\ClientConfigurationHost.cs (2)
491[SecurityPermissionAttribute(SecurityAction.Assert, Flags=SecurityPermissionFlag.ControlPrincipal | SecurityPermissionFlag.UnmanagedCode)]
System.Core (22)
System\Collections\Generic\HashSet.cs (1)
358[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
System\Diagnostics\Eventing\Reader\EventBookmark.cs (2)
54[System.Security.SecurityCritical,SecurityPermissionAttribute(SecurityAction.LinkDemand,Flags = SecurityPermissionFlag.SerializationFormatter)] 60[System.Security.SecurityCritical,SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
System\Diagnostics\Eventing\Reader\EventLogException.cs (1)
63[System.Security.SecurityCritical,SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
System\IO\MemoryMappedFiles\MemoryMappedFile.cs (8)
72[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 120[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 191[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 266[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 327[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 550[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 583[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 627[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
System\IO\MemoryMappedFiles\MemoryMappedViewAccessor.cs (1)
39[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
System\IO\MemoryMappedFiles\MemoryMappedViewStream.cs (1)
39[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
System\IO\Pipes\Pipe.cs (2)
793[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlPrincipal)] 865[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlPrincipal)]
System\IO\Pipes\PipeStream.cs (1)
159new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
System\Security\Cryptography\ECDiffieHellmanCng.cs (2)
95new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 357new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
System\Security\Cryptography\ECDsaCng.cs (3)
76new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 319new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 415new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
System.Data (22)
fx\src\data\System\Data\CodeGen\StrongTypingException.cs (1)
99[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
fx\src\data\System\Data\DataSet.cs (1)
257[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
fx\src\data\System\Data\DataTable.cs (1)
226[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
fx\src\data\System\Data\DBConcurrencyException.cs (1)
39[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
fx\src\data\System\Data\Odbc\OdbcException.cs (1)
58[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (1)
642[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)]
fx\src\data\System\Data\OleDb\OleDbDataAdapter.cs (2)
168permissionSet.AddPermission(new System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)); 192permissionSet.AddPermission(new System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode));
fx\src\data\System\Data\OleDb\OleDbException.cs (1)
47[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (1)
216permissionSet.AddPermission(new System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode));
fx\src\data\System\Data\ProviderBase\DbConnectionInternal.cs (1)
839[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)]
fx\src\data\System\Data\ProviderBase\DbConnectionPoolIdentity.cs (2)
80[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.ControlPrincipal)] 85[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)]
fx\src\data\System\Data\Sql\invalidudtexception.cs (1)
34[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
1789new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); // MDAC 66682, 69017 1924[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] // MDAC 66682, 69017
fx\src\data\System\Data\SqlClient\SqlDependency.cs (3)
534[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.RemotingConfiguration)] 539[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.SerializationFormatter)] 544[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.SerializationFormatter)]
fx\src\data\System\Data\SqlClient\SqlException.cs (1)
48[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
fx\src\data\System\Data\SqlClient\TdsParserStaticMethods.cs (1)
118[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.UnmanagedCode)]
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
783SecurityPermission sp = new SecurityPermission ( SecurityPermissionFlag.UnmanagedCode );
System.Data.Entity (1)
System\Data\Objects\Internal\EntityProxyFactory.cs (1)
1614serializationFormatterPermissions.AddPermission(new SecurityPermission(SecurityPermissionFlag.SerializationFormatter));
System.Data.SqlXml (3)
System\Xml\Xsl\IlGen\XmlILModule.cs (2)
51CreateModulePermissionSet.AddPermission(new SecurityPermission(SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.UnmanagedCode));
System\Xml\Xsl\XsltOld\Compiler.cs (1)
790new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Assert();
System.Drawing (25)
commonui\System\Drawing\Advanced\Font.cs (2)
129[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)] 561new System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode).Assert();
commonui\System\Drawing\Advanced\GPStream.cs (1)
69SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)
commonui\System\Drawing\Bitmap.cs (6)
400[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 414[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 437[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 627[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 641[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 661[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
commonui\System\Drawing\BufferedGraphicsContext.cs (1)
127[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
commonui\System\Drawing\Graphics.cs (5)
144[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 204[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 280[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 315[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 326[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
commonui\System\Drawing\Icon.cs (1)
1143[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)]
commonui\System\Drawing\IDeviceContext.cs (4)
47[SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 48[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 51[SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 52[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
commonui\System\Drawing\Image.cs (1)
514[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)]
commonui\System\Drawing\IntSecurity.cs (1)
13public static readonly CodeAccessPermission UnmanagedCode = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode);
commonui\System\Drawing\UnsafeNativeMethods.cs (2)
133SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)] 142SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)]
misc\DbgUtil.cs (1)
52SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode),
System.IdentityModel (1)
System\IdentityModel\UnsupportedTokenTypeBadRequestException.cs (1)
69[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
System.Management (1)
Instrumentation\Instrumentation.cs (1)
24 internal static readonly SecurityPermission UnmanagedCode = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode);
System.Net (22)
net\PeerToPeer\Cloud.cs (2)
327[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)] 340[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter, SerializationFormatter = true)]
net\PeerToPeer\Collaboration\Peer.cs (2)
331[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)] 938[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter, SerializationFormatter = true)]
net\PeerToPeer\Collaboration\PeerApplication.cs (2)
70[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)] 507[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter, SerializationFormatter = true)]
net\PeerToPeer\Collaboration\PeerContact.cs (1)
1990[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter, SerializationFormatter = true)]
net\PeerToPeer\Collaboration\PeerEndPoint.cs (2)
99[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)] 455[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter, SerializationFormatter = true)]
net\PeerToPeer\Collaboration\PeerNearMe.cs (2)
77[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)] 873[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter, SerializationFormatter = true)]
net\PeerToPeer\Collaboration\PeerObject.cs (2)
66[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)] 448[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter, SerializationFormatter = true)]
net\PeerToPeer\PeerName.cs (2)
555[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)] 573[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter, SerializationFormatter = true)]
net\PeerToPeer\PeerNameRecord.cs (2)
33[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)] 49[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter, SerializationFormatter = true)]
net\PeerToPeer\PeerNameRegistration.cs (2)
688[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)] 703[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter, SerializationFormatter = true)]
net\PeerToPeer\PeerToPeerException.cs (3)
144[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)] 151[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)] 160[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)]
System.Runtime.Remoting (137)
channels\http\combinedhttpchannel.cs (15)
91[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 99[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 116[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 122[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 127[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 142[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 160[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 165[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 172[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 179[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 194[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 200[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 208[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 212[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 229[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)]
channels\http\httpclientchannel.cs (6)
149[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 151[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 161[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 167[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 172[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 188[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)]
channels\http\httpserverchannel.cs (11)
236[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 242[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 247[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 264[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 293[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 306[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 345[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 371[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure)] 377[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 383[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure)] 387[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)]
channels\ipc\ipcchannel.cs (10)
99[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 107[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 124[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 130[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 135[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 150[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 168[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 179[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 189[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 197[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)]
channels\ipc\ipcclientchannel.cs (6)
101[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 103[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 113[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 119[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 124[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 140[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)]
channels\ipc\ipcserverchannel.cs (9)
128[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 130[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 190[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 196[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 201[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 218[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 238[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 254[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 277[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)]
channels\sinks\binaryformattersinks.cs (23)
75[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 98[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 100[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 139[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 143[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 176[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 246[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 256[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 265[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 276[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 286[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 293[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 350[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 355[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 384[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 386[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 458[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 574currentPermissionSet.SetPermission(new SecurityPermission(SecurityPermissionFlag.SerializationFormatter)); 671[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 680[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 726[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 738[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 745[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)]
channels\sinks\soapformattersinks.cs (23)
76[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 99[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 101[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 144[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 149[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 182[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 299[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 309[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 318[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 329[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 339[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 346[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 401[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 406[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 435[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 437[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 510[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 642currentPermissionSet.SetPermission(new SecurityPermission(SecurityPermissionFlag.SerializationFormatter)); 743[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 754[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 808[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 819[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 826[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)]
channels\tcp\combinedtcpchannel.cs (10)
91[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 99[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 116[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 122[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 127[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 142[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 160[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 171[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 181[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 189[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)]
channels\tcp\tcpclientchannel.cs (6)
103[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 105[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 115[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 121[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 126[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 142[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)]
channels\tcp\tcpserverchannel.cs (9)
158[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 160[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 252[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 258[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 263[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 280[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 301[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 314[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 338[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)]
metadata\sdlchannelsink.cs (9)
61[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 66[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 81[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 83[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 117[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 147[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 156[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 168[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)] 175[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure, Infrastructure=true)]
System.Runtime.Serialization (1)
System\Runtime\Serialization\Globals.cs (1)
1119serializationFormatterPermission = new SecurityPermission(SecurityPermissionFlag.SerializationFormatter);
System.ServiceModel (3)
System\ServiceModel\Administration\AppDomainInstanceProvider.cs (1)
132[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
System\ServiceModel\Configuration\ServiceHostingEnvironmentSection.cs (1)
33new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand();
System\ServiceModel\Security\SecurityUtils.cs (1)
491[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.ControlPrincipal)]
System.Transactions (1)
System\Transactions\Oletx\OleTxTransaction.cs (1)
483[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
System.Web (36)
Cache\OutputCache.cs (2)
490[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.SerializationFormatter)] 502[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.SerializationFormatter)]
Hosting\AppDomainProtocolHandler.cs (1)
18[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure)]
Hosting\ApplicationManager.cs (1)
1633[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.SerializationFormatter)]
Hosting\IPipelineRuntime.cs (1)
241[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure)]
Hosting\ProcessHost.cs (1)
421[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure)]
Hosting\ProcessHostFactoryHelper.cs (1)
36[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure)]
Hosting\ProcessProtocolHandler.cs (1)
17[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure)]
HttpHeaderCollection.cs (1)
63[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)]
HttpRuntime.cs (1)
2690return (securityPermission.Flags & SecurityPermissionFlag.UnmanagedCode) != 0;
IntSecurity.cs (3)
36_unmanagedCode = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode); 46_controlPrincipal = new SecurityPermission(SecurityPermissionFlag.ControlPrincipal); 76_controlThread = new SecurityPermission(SecurityPermissionFlag.ControlThread);
Management\regiisutil.cs (2)
35[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 92[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
Profile\HttpProfileBase.cs (3)
61[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.SerializationFormatter)] 66[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.SerializationFormatter)] 135[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.SerializationFormatter)]
Profile\ProfileModule.cs (2)
153[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.SerializationFormatter)] 193[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.SerializationFormatter)]
Security\ADMembershipProvider.cs (4)
4045[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)] 4061[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)] 4087[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)] 4097[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)]
Security\RolePrincipal.cs (1)
233[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.SerializationFormatter)]
State\SessionStateItemCollection.cs (2)
237[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.SerializationFormatter)] 444[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.SerializationFormatter)]
UI\ObjectStateFormatter.cs (2)
311[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.SerializationFormatter)] 814[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.SerializationFormatter)]
UI\Util.cs (3)
43[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.SerializationFormatter)] 49[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.SerializationFormatter)] 55[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.SerializationFormatter)]
UI\WebParts\ImportCatalogPart.cs (2)
175pset.AddPermission(new SecurityPermission(SecurityPermissionFlag.Execution)); 219mediumPset.AddPermission(new SecurityPermission(SecurityPermissionFlag.Execution));
UI\WebParts\WebPartManager.cs (2)
465_mediumPermissionSet.AddPermission(new SecurityPermission(SecurityPermissionFlag.Execution)); 478_minimalPermissionSet.AddPermission(new SecurityPermission(SecurityPermissionFlag.Execution));
System.Web.DataVisualization (1)
Common\General\Chart.cs (1)
256System.Security.Permissions.SecurityPermission securityPermission = new System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode);
System.Web.Mobile (113)
UI\MobileControls\Design\Adapters\DesignerAdapterUtil.cs (1)
23Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Adapters\DesignerAdRotatorAdapter.cs (1)
18Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Adapters\DesignerCalendarAdapter.cs (1)
18Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Adapters\DesignerCommandAdapter.cs (1)
18Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Adapters\DesignerImageAdapter.cs (1)
19Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Adapters\DesignerLabelAdapter.cs (1)
18Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Adapters\DesignerLinkAdapter.cs (1)
17Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Adapters\DesignerListAdapter.cs (1)
17Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Adapters\DesignerObjectListAdapter.cs (1)
17Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Adapters\DesignerSelectionListAdapter.cs (1)
17Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Adapters\DesignerTextBoxAdapter.cs (1)
17Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Adapters\DesignerTextViewAdapter.cs (1)
17Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Adapters\DesignerTextWriter.cs (1)
19Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Adapters\DesignerValidationSummaryAdapter.cs (1)
18Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Adapters\DesignerValidatorAdapter.cs (1)
18Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Adapters\MSHTMLHostUtil.cs (1)
16Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\AdRotatorDesigner.cs (1)
26Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (3)
29Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 934Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 1002Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\AppliedDeviceFiltersEditor.cs (1)
20Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\BaseTemplatedMobileComponentEditor.cs (1)
24Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\BaseValidatorDesigner.cs (1)
29Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\CalendarDataBindingHandler.cs (1)
20Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\CalendarDesigner.cs (1)
29Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\CommandCollectionEditor.cs (1)
27Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\CommandDesigner.cs (1)
27Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Constants.cs (1)
13Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Converters\ChoiceConverter.cs (1)
26Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Converters\DataFieldConverter.cs (1)
29Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Converters\DataMemberConverter.cs (1)
28Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Converters\DefaultCommandConverter.cs (1)
21Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Converters\FontNameConverter.cs (1)
19Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Converters\FormConverter.cs (1)
24Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Converters\NavigateUrlConverter.cs (1)
21Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Converters\StyleConverter.cs (1)
21Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Converters\StyleReferenceConverter.cs (1)
24Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Converters\ValidatedMobileControlConverter.cs (1)
18Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\DesignerCapabilities.cs (1)
17Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\DeviceFilterEditorDialog.cs (2)
35Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 710Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\DeviceSpecificDesigner.cs (1)
26Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\DeviceSpecificDialogCachedState.cs (1)
16Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\FieldCollectionEditor.cs (1)
27Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\FormDesigner.cs (1)
30Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\ImageDesigner.cs (1)
29Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\ImageUrlEditor.cs (1)
14Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\ItemCollectionEditor.cs (1)
26Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\LabelDesigner.cs (1)
30Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\LinkDesigner.cs (1)
30Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\ListComponentEditor.cs (1)
25Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\ListComponentEditorPage.cs (2)
23Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 299Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\ListDesigner.cs (1)
28Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\ListGeneralPage.cs (1)
42Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\ListItemsPage.cs (2)
34Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 330Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\MobileComponentEditorPage.cs (2)
31Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 131Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\MobileContainerDesigner.cs (1)
30Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\MobileControlDesigner.cs (1)
27Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\MobileControlPersister.cs (1)
32Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\MobileResource.cs (1)
16Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (2)
32Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 1074Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\MobileUITypeEditor.cs (1)
23Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\MobileUserControlDesigner.cs (1)
18[System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)]
UI\MobileControls\Design\ObjectListCommandsPage.cs (2)
33Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 267Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\ObjectListComponentEditor.cs (1)
25Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\ObjectListDesigner.cs (1)
32Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\ObjectListFieldsPage.cs (2)
32Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 334Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\ObjectListGeneralPage.cs (1)
39Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\PanelDesigner.cs (1)
29Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\PhoneCallDesigner.cs (1)
31Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\PropertyOverridesDialog.cs (3)
30Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 621Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 1193Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\PropertyOverridesTypeEditor.cs (1)
20Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\SelectionListComponentEditor.cs (1)
26Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\SelectionListDesigner.cs (1)
22Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\StylesEditorDialog.cs (4)
41Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 1165Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 1287Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 1323Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\StyleSheetComponentEditor.cs (1)
26Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\StyleSheetDesigner.cs (2)
31Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 1276Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\StyleSheetRefUrlEditor.cs (1)
16Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\TableFieldsEditor.cs (1)
23Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\TemplatingOptionsDialog.cs (1)
32Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\TextBoxDesigner.cs (1)
28Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\TextViewDesigner.cs (1)
24Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Util\DefaultDialogButtons.cs (1)
22Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Util\DesignerUtility.cs (1)
21Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Util\EditableTreeList.cs (1)
20Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Util\FileReader.cs (1)
16Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Util\GenericUI.cs (1)
20Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Util\GroupLabel.cs (1)
17Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Util\HeaderLabel.cs (1)
16Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Util\HeaderPanel.cs (1)
16Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Util\ImageCreator.cs (1)
17Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Util\MSHTMLHost.cs (1)
33[System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)]
UI\MobileControls\Design\Util\SimpleParser.cs (3)
20Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 260Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 301Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Util\TemporaryBitmapFile.cs (1)
22Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Util\UnsettableComboBox.cs (1)
20Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Util\WbmpConverter.cs (1)
15Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\Util\WebConfigManager.cs (2)
24Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 226Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
UI\MobileControls\Design\ValidationSummaryDesigner.cs (1)
28Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
System.Web.Services (3)
System\Web\Services\Protocols\ServerType.cs (1)
33new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Assert();
System\Web\Services\Protocols\SoapException.cs (1)
276[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
System\Web\Services\UnsafeNativeMethods.cs (1)
15SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
System.Windows.Forms (365)
misc\DbgUtil.cs (1)
52SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode),
winforms\Managed\System\WinForms\AccessibleObject.cs (12)
261[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 309[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 324[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1512[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 2151[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 2174[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 2235[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 2285[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 2370[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 2380[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 2387[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 3070SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)
winforms\Managed\System\WinForms\Application.cs (11)
592SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode) 657SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode) 869[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 929[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 936[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 953[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 960[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1367SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode), 1392SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 1393SecurityPermission(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode) 3276new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
winforms\Managed\System\WinForms\Binding.cs (2)
155SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 173SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)
winforms\Managed\System\WinForms\Button.cs (2)
154[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 401[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ButtonBase.cs (3)
197[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1265[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1344[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\CheckBox.cs (2)
313[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 780[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\CheckedListBox.cs (9)
191[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1026System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 1082[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1634[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1705[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1751[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1757[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1762[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1785[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ColorDialog.cs (2)
182SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 183SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)
winforms\Managed\System\WinForms\ComboBox.cs (4)
416[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 2993SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode), 3656[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 4440[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\CommonDialog.cs (6)
144[SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 145SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 206System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode), 207System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 235[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] 245[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ContainerControl.cs (3)
296[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1210SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 1939[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ContextMenu.cs (2)
169System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode), 170System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
winforms\Managed\System\WinForms\Control.cs (35)
1838SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 1839SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 4504[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 4508[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 5180[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 5184[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 5919SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 5920SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 5934SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 9475SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 9476SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 10150[SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 10151SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 10201SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 10320SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 10321SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 10507SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 10508SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 10689SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 10690SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 10724SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 10725SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 14092SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 14093SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 16470[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)] 16866[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)] 17030[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.UnmanagedCode)] 18025[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)] 18241[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)] 18764[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)] 18804[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.UnmanagedCode)] 18814[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.UnmanagedCode)] 18821[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.UnmanagedCode)] 19725[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 19726[SecurityPermission(SecurityAction.InheritanceDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ControlPaint.cs (3)
190[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 247[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 300[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\Cursor.cs (2)
543 [SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)] 626new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
winforms\Managed\System\WinForms\DataGrid.cs (3)
7653SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 8207SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 9206[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridColumn.cs (2)
1264[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1290[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridParentRows.cs (5)
1085[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1116[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1122[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1181[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1209[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (5)
872[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 931[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 993[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1011[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1034[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridRow.cs (10)
781[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 820[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 859[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 888[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 930[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 973[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 983[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 992[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1013[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1055[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridState.cs (3)
178[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 191[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 222[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridTextBox.cs (2)
51[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 100[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridViewAccessibleObject.cs (7)
229[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 351[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 367[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 385[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 392[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 406[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 415[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
1120[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridViewCell.cs (11)
4860[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 4951[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 4987[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 5030[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 5233[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 5385[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 5590[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 5601[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 5614[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 5623[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 5632[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1877[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (5)
1327[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1382[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1390[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1416[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1520[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridViewComboBoxEditingControl.cs (1)
212[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridViewEditingControl.cs (1)
96[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (3)
1024[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1030[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1038[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (1)
1191[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridViewMethods.cs (21)
20443SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 20458SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 20696SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 21545SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 21844SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 21924SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 21946SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 21980SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode), 22001SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 22282SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 22302SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 22366SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 22484SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 23240SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 23480SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 23722SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 24462SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode) 24651SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 24738SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 25436SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 29956[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridViewRow.cs (7)
2016[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 2123[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 2230[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 2308[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 2449[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 2474[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 2540[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (5)
1260[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1321[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1329[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1341[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 1427[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridViewSelectedCellsAccessibleObject.cs (3)
32[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 57[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 98[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (2)
287SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode), 364[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (4)
568[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 578[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 585[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 630[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataGridViewTopRowAccessibleObject.cs (3)
86[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 125[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 187[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DataObject.cs (10)
653[SecurityPermission(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 671[SecurityPermission(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 689[SecurityPermission(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 707[SecurityPermission(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 729[SecurityPermission(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 747[SecurityPermission(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 795[SecurityPermission(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 814[SecurityPermission(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 855[SecurityPermission(SecurityAction.Demand, Flags=SecurityPermissionFlag.UnmanagedCode)] 937SecurityPermissionAttribute(SecurityAction.Assert, Flags=SecurityPermissionFlag.SerializationFormatter)
winforms\Managed\System\WinForms\DateTimePicker.cs (3)
461[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1684[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1785[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (3)
442[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 670[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 848[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\Design\ComponentEditorPage.cs (1)
154[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\DomainUpDown.cs (3)
831[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 901[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 932[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\FileDialog.cs (3)
449SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 450SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 746[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\FileDialog_Vista.cs (1)
61SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode),
winforms\Managed\System\WinForms\FontDialog.cs (1)
470[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\Form.cs (5)
992[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 3773SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 5275SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 5390SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 7524[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\GroupBox.cs (2)
152[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 783[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\HScrollBar.cs (1)
42[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ImageListStreamer.cs (1)
211[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)]
winforms\Managed\System\WinForms\IMessageFilter.cs (1)
38 System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
winforms\Managed\System\WinForms\Label.cs (2)
320[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1732[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\LinkLabel.cs (4)
1942[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 2792[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 2820[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 2831[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ListBox.cs (4)
334[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 2299System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode), 2300System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 2388[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ListView.cs (2)
679[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 6247[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ListViewGroup.cs (1)
283[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)]
winforms\Managed\System\WinForms\ListViewItem.cs (3)
1319 [SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.SerializationFormatter), 1320SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.SerializationFormatter)] 1403[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)]
winforms\Managed\System\WinForms\MaskedTextBox.cs (4)
343[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 2678[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 2705[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 3199[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\MDIClient.cs (2)
105[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 351[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\MDIWindowDialog.cs (1)
21System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
winforms\Managed\System\WinForms\Menu.cs (4)
100[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] 253[SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 585System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode), 586System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
winforms\Managed\System\WinForms\MenuStrip.cs (2)
238[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 266[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\Message.cs (1)
26[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\MonthCalendar.cs (3)
437[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 2412[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 2446SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode),
winforms\Managed\System\WinForms\NativeWindow.cs (6)
40SecurityPermission(SecurityAction.InheritanceDemand, Flags = SecurityPermissionFlag.UnmanagedCode), 41SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode) 639new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 867new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 1168new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 1466System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
winforms\Managed\System\WinForms\OwnerDrawPropertyBag.cs (1)
136[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)]
winforms\Managed\System\WinForms\Panel.cs (1)
160[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\PictureBox.cs (1)
242[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\Printing\PrintControllerWithStatusDialog.cs (1)
177SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode),
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (2)
169[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 918[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ProgressBar.cs (1)
91[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
4871[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (6)
2939[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 2951[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 3027[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 3032[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 3058[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 3086[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
7764[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\RadioButton.cs (2)
263[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 697[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\RichTextBox.cs (5)
358[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 2724[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 2936[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.UnmanagedCode)] 3318[SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 3668[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ScrollableControl.cs (2)
231[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1477[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ScrollBar.cs (2)
191[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 916[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\SplitContainer.cs (2)
2493[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 2546System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
winforms\Managed\System\WinForms\Splitter.cs (2)
273[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1082System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode),
winforms\Managed\System\WinForms\StatusBar.cs (3)
219[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1161[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1647[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\StatusStrip.cs (3)
552[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 608[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 615[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\TabControl.cs (3)
341[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1615SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 2151[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\TableLayoutSettings.cs (1)
432[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)]
winforms\Managed\System\WinForms\TextBox.cs (3)
320[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 711[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 872[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\TextBoxBase.cs (3)
207[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 488[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 2288[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (2)
33SecurityPermission(SecurityAction.InheritanceDemand, Flags = SecurityPermissionFlag.UnmanagedCode), 34SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode),
winforms\Managed\System\WinForms\ToolBar.cs (2)
420[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1667[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ToolStrip.cs (2)
2860[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 4708[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
997[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
316[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 2114[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (2)
534[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 795[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ToolStripItem.cs (6)
3447SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 3448SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode) 4290[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 4328[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] 4417[SecurityPermission(SecurityAction.InheritanceDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] 4418[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
1147SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
896[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ToolStripScrollButton.cs (1)
183[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
796[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\ToolTip.cs (2)
237SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 238SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)
winforms\Managed\System\WinForms\TrackBar.cs (2)
199[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1170[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\TreeNode.cs (3)
1849 [SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.SerializationFormatter), 1850SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.SerializationFormatter)] 1972 [SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)]
winforms\Managed\System\WinForms\TreeView.cs (2)
349[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 3153[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\UpDownBase.cs (3)
354[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1209[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 1935[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\UserControl.cs (2)
197[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)] 370[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\VScrollBar.cs (1)
44[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\WebBrowser.cs (2)
1697[SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.UnmanagedCode), 1707[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode)]
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
423[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.UnmanagedCode),
winforms\Managed\System\WinForms\WinFormsSecurity.cs (1)
427unmanagedCode = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode);
System.Windows.Forms.DataVisualization (1)
Common\General\Chart.cs (1)
256System.Security.Permissions.SecurityPermission securityPermission = new System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode);
System.Workflow.Runtime (2)
AssemblyInfo.cs (2)
9[assembly: SecurityPermissionAttribute(SecurityAction.RequestMinimum, Flags = SecurityPermissionFlag.Execution | SecurityPermissionFlag.SerializationFormatter)]
System.Xml (3)
System\Xml\Serialization\Compiler.cs (2)
174perms.AddPermission(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode)); 175perms.AddPermission(new SecurityPermission(SecurityPermissionFlag.ControlEvidence));
System\Xml\Xslt\XslTransform.cs (1)
123new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Demand();
System.Xml.Linq (1)
System\Xml\Linq\XLinq.cs (1)
201Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
WindowsBase (13)
Base\System\Diagnostics\PresentationTraceSources.cs (1)
141new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert
Base\System\IO\FileFormatException.cs (1)
151[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.SerializationFormatter)]
Base\System\IO\Packaging\PackUriHelper.cs (1)
692SecurityPermission permobj = new SecurityPermission(SecurityPermissionFlag.Infrastructure);
Base\System\Security\RightsManagement\Exceptions.cs (1)
153[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.SerializationFormatter)]
Base\System\Windows\Threading\DispatcherSynchronizationContext.cs (2)
93[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.ControlPolicy|SecurityPermissionFlag.ControlEvidence)]
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (1)
554permissionSet.AddPermission(new SecurityPermission(SecurityPermissionFlag.ControlPrincipal));
Shared\MS\Internal\ReaderWriterLockWrapper.cs (2)
317[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.ControlPolicy|SecurityPermissionFlag.ControlEvidence)]
Shared\MS\Internal\SecurityHelper.cs (1)
113_unmanagedCodePermission = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode);
Shared\MS\Win32\ManagedWndProcTracker.cs (1)
101new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert:
Shared\MS\Win32\UnsafeNativeMethodsOther.cs (2)
579new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 619new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();