50 references to ControlEvidence
mscorlib (35)
system\appdomain.cs (1)
3437new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Demand();
system\appdomainmanager.cs (1)
68new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Demand();
system\badimageformatexception.cs (1)
142[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy)]
system\exception.cs (1)
916SecurityPermission sp= new SecurityPermission(SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy);
system\io\fileloadexception.cs (1)
160[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy)]
system\io\filenotfoundexception.cs (1)
146[SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy)]
system\io\isolatedstorage\isolatedstorage.cs (1)
337SecurityPermissionFlag.ControlEvidence);
system\reflection\assembly.cs (4)
540[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlEvidence)] 595[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlEvidence)] 1840new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Demand(); 2019new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Demand();
system\reflection\emit\assemblybuilder.cs (1)
353new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Demand();
system\security\permissions\permissionattributes.cs (3)
647get { return (m_flag & SecurityPermissionFlag.ControlEvidence) != 0; } 648set { m_flag = value ? m_flag | SecurityPermissionFlag.ControlEvidence : m_flag & ~SecurityPermissionFlag.ControlEvidence; }
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\securityexception.cs (11)
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 (2)
651if ((securityPermissionFlags & SecurityPermissionFlag.ControlEvidence) == SecurityPermissionFlag.ControlEvidence)
system\threading\synchronizationcontext.cs (1)
59[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags =SecurityPermissionFlag.ControlPolicy|SecurityPermissionFlag.ControlEvidence)]
System (7)
compmod\microsoft\csharp\csharpcodeprovider.cs (2)
3380SecurityPermission perm1 = new SecurityPermission(SecurityPermissionFlag.ControlEvidence); 3490SecurityPermission perm = new SecurityPermission(SecurityPermissionFlag.ControlEvidence);
compmod\microsoft\visualbasic\VBCodeProvider.cs (2)
2811SecurityPermission perm1 = new SecurityPermission(SecurityPermissionFlag.ControlEvidence); 2914SecurityPermission perm = new SecurityPermission(SecurityPermissionFlag.ControlEvidence);
compmod\system\codedom\compiler\CodeCompiler.cs (2)
329SecurityPermission perm1 = new SecurityPermission(SecurityPermissionFlag.ControlEvidence); 407SecurityPermission perm = new SecurityPermission(SecurityPermissionFlag.ControlEvidence);
compmod\system\codedom\compiler\CompilerResults.cs (1)
101[SecurityPermissionAttribute(SecurityAction.Assert, Flags=SecurityPermissionFlag.ControlEvidence)]
System.Configuration (1)
System\Configuration\ClientConfigPaths.cs (1)
307s_controlEvidencePerm = new SecurityPermission(SecurityPermissionFlag.ControlEvidence);
System.Data.SqlXml (2)
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
51CreateModulePermissionSet.AddPermission(new SecurityPermission(SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.UnmanagedCode));
System\Xml\Xsl\XsltOld\Compiler.cs (1)
790new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Assert();
System.Web.Services (1)
System\Web\Services\Protocols\ServerType.cs (1)
33new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Assert();
System.Xml (2)
System\Xml\Serialization\Compiler.cs (1)
175perms.AddPermission(new SecurityPermission(SecurityPermissionFlag.ControlEvidence));
System\Xml\Xslt\XslTransform.cs (1)
123new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Demand();
WindowsBase (2)
Base\System\Windows\Threading\DispatcherSynchronizationContext.cs (1)
93[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.ControlPolicy|SecurityPermissionFlag.ControlEvidence)]
Shared\MS\Internal\ReaderWriterLockWrapper.cs (1)
317[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.ControlPolicy|SecurityPermissionFlag.ControlEvidence)]