26 instantiations of Evidence
mscorlib (19)
system\appdomain.cs (4)
962newAppDomainEvidence = new Evidence(new AppDomainEvidenceFactory(this)); 2144return new Evidence(new AppDomainEvidenceFactory(this)); 2168return new Evidence(new AppDomainEvidenceFactory(this)).GetHostEvidence(type); 3768providedSecurityInfo=new Evidence();
system\deployment\cmsutils.cs (2)
177Evidence appEvidence = new Evidence(); 180appEvidence = new Evidence();
system\io\isolatedstorage\isolatedstorage.cs (3)
677appEv = new Evidence(); 688assemEv = new Evidence(); 699domainEv = new Evidence();
system\security\policy\applicationsecurityinfo.cs (2)
168Evidence appEvidence = new Evidence(); 170appEvidence = new Evidence();
system\security\policy\codegroup.cs (1)
486Evidence evidence = new Evidence();
system\security\policy\evidence.cs (1)
1423return new Evidence(this);
system\security\policy\pefileevidencefactory.cs (2)
100Evidence evidence = new Evidence(evidenceFactory); 149Evidence deserializedEvidence = new Evidence();
system\security\policymanager.cs (2)
430Evidence noEvidence = new Evidence(); 449Evidence zoneEvidence = new Evidence();
system\security\securitymanager.cs (2)
281evidence = new Evidence(); 475evidence = new Evidence();
PresentationFramework (1)
src\Framework\MS\Internal\AppModel\PresentationAppDomainManager.cs (1)
181Evidence evidence = new Evidence();
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (1)
602Evidence folderEvidence = new Evidence();
System.AddIn (1)
System\Addin\Hosting\AddInActivator.cs (1)
83Evidence sandboxEvidence = new Evidence();
System.Configuration (1)
System\Configuration\ClientConfigurationHost.cs (1)
467Evidence evidence = new Evidence();
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (1)
602Evidence folderEvidence = new Evidence();
System.Xml (2)
System\Xml\XmlSecureResolver.cs (1)
45Evidence evidence = new Evidence();
System\Xml\Xslt\XslTransform.cs (1)
120evidence = new Evidence();
275 references to Evidence
mscorlib (226)
system\activator.cs (7)
26using Evidence = System.Security.Policy.Evidence; 263Evidence securityInfo) 311Evidence securityInfo, 377Evidence securityInfo) 430Evidence securityInfo) 483Evidence securityAttributes) { 554Evidence securityAttributes) {
system\appdomain.cs (51)
223private Evidence _SecurityIdentity; 894private void InitializeDomainSecurity(Evidence providedSecurityInfo, 895Evidence creatorsSecurityInfo, 959Evidence newAppDomainEvidence = (providedSecurityInfo != null ? providedSecurityInfo : creatorsSecurityInfo); 1035private void SetupApplicationHelper (Evidence providedSecurityInfo, Evidence creatorsSecurityInfo, ApplicationIdentity appIdentity, ActivationContext activationContext, string[] activationData) { 1285Evidence evidence) 1330Evidence evidence) 1372Evidence evidence, 1399Evidence evidence, 1427Evidence evidence, 1455Evidence evidence, 1507Evidence evidence, 1677Evidence securityAttributes) 1743Evidence securityAttributes) 1766Evidence securityAttributes) 1829Evidence securityAttributes) 1895Evidence securityEvidence) 1918Evidence assemblySecurity) 1928Evidence assemblySecurity) 1945Evidence assemblySecurity) 1954Evidence assemblySecurity, 1988Evidence assemblySecurity, 2036Evidence assemblySecurity) 2045Evidence assemblySecurity, 2075Evidence assemblySecurity, 2112public Evidence Evidence 2121internal Evidence EvidenceNoDemand { 2153internal Evidence InternalEvidence 2738Evidence securityInfo) // Optional 2748Evidence securityInfo, // Optional 3362Evidence creationEvidence) 3397Evidence securityInfo, 3413Evidence securityInfo, 3458Evidence securityInfo, 3483Evidence securityInfo, // Optional 3592public Evidence ProvidedSecurityInfo; 3593public Evidence CreatorsSecurityInfo; 3615Evidence providedSecurityInfo, 3616Evidence creatorsSecurityInfo, 3743Evidence providedSecurityInfo = null; 3744Evidence creatorsSecurityInfo = null; 4237Evidence providedSecurityInfo, 4238Evidence creatorsSecurityInfo, 4246Evidence providedSecurityInfo, 4247Evidence creatorsSecurityInfo, 4252private void SetupDomainSecurity(Evidence appDomainEvidence, 4256Evidence stackEvidence = appDomainEvidence; 4469internal PermissionSet GetHomogenousGrantSet(Evidence evidence) 4551Evidence securityAttributes) 4634Evidence securityAttributes)
system\appdomainmanager.cs (2)
52Evidence securityInfo, 60Evidence securityInfo,
system\applicationactivator.cs (2)
158Evidence activatorEvidence = AppDomain.CurrentDomain.Evidence; 160Evidence appEvidence = CmsUtils.MergeApplicationEvidence(null,
system\deployment\cmsutils.cs (6)
162internal static Evidence MergeApplicationEvidence (Evidence evidence, ApplicationIdentity applicationIdentity, ActivationContext activationContext, string[] activationData) 171internal static Evidence MergeApplicationEvidence(Evidence evidence, 177Evidence appEvidence = new Evidence(); 188Evidence asiEvidence = new ApplicationSecurityInfo(activationContext).ApplicationEvidence;
system\iappdomain.cs (13)
70Evidence Evidence { get; } 100Evidence evidence); 111Evidence evidence); 122Evidence evidence, 130Evidence evidence, 138Evidence evidence, 168Evidence securityAttributes); 178Evidence securityAttributes); 191Evidence securityEvidence); 194Evidence assemblySecurity); 197Evidence assemblySecurity); 201Evidence assemblySecurity); 208Evidence assemblySecurity,
system\io\isolatedstorage\isolatedstorage.cs (9)
667Evidence domainEv = null, assemEv = null, appEv = null; 729Evidence domainEv, Type domainEvidenceType, 730Evidence assemEv, Type assemEvidenceType, 731Evidence appEv, Type appEvidenceType) 805Evidence domainEv, Type domainEvidenceType, 806Evidence assemEv, Type assemblyEvidenceType, 807Evidence appEv, Type appEvidenceType) 869Evidence evidence, Type evidenceType, IsolatedStorageScope fAssmDomApp, 961Evidence evidence, Type evidenceType, IsolatedStorageScope fAssmDomApp,
system\io\isolatedstorage\isolatedstoragefile.cs (2)
209Evidence domainEvidence, Type domainEvidenceType, 210Evidence assemblyEvidence, Type assemblyEvidenceType)
system\reflection\assembly.cs (23)
189Evidence securityEvidence) 212Evidence securityEvidence, 334public static Assembly Load(String assemblyString, Evidence assemblySecurity) 370public static Assembly Load(AssemblyName assemblyRef, Evidence assemblySecurity) 392public static Assembly LoadWithPartialName(String partialName, Evidence securityEvidence) 545Evidence securityEvidence) 598Evidence securityEvidence) 849public virtual Evidence Evidence 1568public override Evidence Evidence 1574Evidence evidence = EvidenceNoDemand; 1579internal Evidence EvidenceNoDemand 1584Evidence evidence = null; 1689Evidence securityEvidence, 1718Evidence assemblySecurity, 1728Evidence assemblySecurity, 1783Evidence assemblySecurity, 1799Evidence assemblySecurity, 1913Evidence assemblySecurity, 1941Evidence assemblySecurity, 2002internal static RuntimeAssembly LoadWithPartialNameInternal(String partialName, Evidence securityEvidence, ref StackCrawlMark stackMark) 2009internal static RuntimeAssembly LoadWithPartialNameInternal(AssemblyName an, Evidence securityEvidence, ref StackCrawlMark stackMark) 3166static internal extern RuntimeAssembly nLoadFile(String path, Evidence evidence); 3173Evidence evidence,
system\reflection\cominterfaces.cs (1)
216Evidence Evidence { get; }
system\reflection\emit\assemblybuilder.cs (4)
300Evidence evidence, 531Evidence identity, 551Evidence evidence, 1306public override Evidence Evidence
system\security\codeaccesssecurityengine.cs (3)
110Evidence asmEvidence = null; 730private static PermissionSet ResolveGrantSet(Evidence evidence, out int specialFlags, bool checkExecutionPermission) 762internal static bool TryResolveGrantSet(Evidence evidence, out PermissionSet grantSet)
system\security\hostsecuritymanager.cs (7)
75public virtual Evidence ProvideAppDomainEvidence (Evidence inputEvidence) { 80public virtual Evidence ProvideAssemblyEvidence (Assembly loadedAssembly, Evidence inputEvidence) { 90public virtual ApplicationTrust DetermineApplicationTrust(Evidence applicationEvidence, Evidence activatorEvidence, TrustManagerContext context) 158public virtual PermissionSet ResolvePolicy(Evidence evidence)
system\security\ievidencefactory.cs (1)
19Evidence Evidence
system\security\permissions\principalpermission.cs (1)
442System.Security.Policy.Evidence evid = null;
system\security\policy\allmembershipcondition.cs (2)
30public bool Check( Evidence evidence ) 36bool IReportMatchMembershipCondition.Check(Evidence evidence, out object usedEvidence)
system\security\policy\appdomainevidencefactory.cs (1)
20private Evidence m_entryPointEvidence;
system\security\policy\applicationdirectorymembershipcondition.cs (2)
46public bool Check( Evidence evidence ) 52bool IReportMatchMembershipCondition.Check(Evidence evidence, out object usedEvidence)
system\security\policy\applicationsecurityinfo.cs (3)
163public Evidence ApplicationEvidence { 168Evidence appEvidence = new Evidence(); 184return m_appEvidence as Evidence;
system\security\policy\assemblyevidencefactory.cs (2)
218private static Evidence UpgradeSecurityIdentity(Evidence peFileEvidence, RuntimeAssembly targetAssembly)
system\security\policy\codegroup.cs (4)
24PolicyStatement InternalResolve( Evidence evidence ); 250public abstract PolicyStatement Resolve( Evidence evidence ); 252public abstract CodeGroup ResolveMatchingCodeGroups( Evidence evidence ); 486Evidence evidence = new Evidence();
system\security\policy\evidence.cs (15)
114public Evidence(Evidence evidence) 797public void Merge(Evidence evidence) 849internal void MergeWithNoDuplicates(Evidence evidence) 1272Evidence cloneOrigin = m_cloneOrigin != null ? m_cloneOrigin.Target as Evidence : null; 1421public Evidence Clone() 1530private Evidence m_target; 1539public EvidenceLockHolder(Evidence target, LockType lockType) 1576private Evidence m_target; 1579public EvidenceUpgradeLockHolder(Evidence target) 1607private Evidence m_evidence; 1617public RawEvidenceEnumerator(Evidence evidence, IEnumerable<Type> evidenceTypes, bool hostEnumerator) 1690private static Type[] GenerateEvidenceTypes(Evidence evidence, 1790private Evidence m_evidence; 1803internal EvidenceEnumerator(Evidence evidence, Category category)
system\security\policy\filecodegroup.cs (4)
40public override PolicyStatement Resolve(Evidence evidence) { 83PolicyStatement IUnionSemanticCodeGroup.InternalResolve(Evidence evidence) { 95public override CodeGroup ResolveMatchingCodeGroups(Evidence evidence) { 133private PolicyStatement CalculateAssemblyPolicy(Evidence evidence) {
system\security\policy\firstmatchcodegroup.cs (2)
38public override PolicyStatement Resolve( Evidence evidence ) 115public override CodeGroup ResolveMatchingCodeGroups( Evidence evidence )
system\security\policy\gac.cs (1)
31public IPermission CreateIdentityPermission( Evidence evidence )
system\security\policy\gacmembershipcondition.cs (2)
41public bool Check( Evidence evidence ) 47bool IReportMatchMembershipCondition.Check(Evidence evidence, out object usedEvidence)
system\security\policy\hashmembershipcondition.cs (2)
111public bool Check(Evidence evidence) { 116bool IReportMatchMembershipCondition.Check(Evidence evidence, out object usedEvidence) {
system\security\policy\iidentitypermissionfactory.cs (1)
20IPermission CreateIdentityPermission( Evidence evidence );
system\security\policy\imembershipcondition.cs (2)
19bool Check( Evidence evidence ); 35bool Check(Evidence evidence, out object usedEvidence);
system\security\policy\netcodegroup.cs (4)
361public override PolicyStatement Resolve( Evidence evidence ) 409PolicyStatement IUnionSemanticCodeGroup.InternalResolve( Evidence evidence ) 424public override CodeGroup ResolveMatchingCodeGroups( Evidence evidence ) 695private PolicyStatement CalculateAssemblyPolicy( Evidence evidence )
system\security\policy\pefileevidencefactory.cs (5)
95private static Evidence CreateSecurityIdentity(SafePEFileHandle peFile, 96Evidence hostProvidedEvidence) 100Evidence evidence = new Evidence(evidenceFactory); 149Evidence deserializedEvidence = new Evidence(); 160deserializedEvidence = (Evidence)formatter.Deserialize(ms);
system\security\policy\policylevel.cs (5)
254public CodeGroup ResolveMatchingCodeGroups(Evidence evidence) { 505public PolicyStatement Resolve(Evidence evidence) { 737internal PolicyStatement Resolve (Evidence evidence, int count, byte[] serializedEvidence) { 943private static bool IsFullTrustAssembly(ArrayList fullTrustAssemblies, Evidence evidence) { 1221private ArrayList GenericResolve(Evidence evidence, out bool allConst) {
system\security\policy\publisher.cs (1)
40public IPermission CreateIdentityPermission( Evidence evidence )
system\security\policy\publishermembershipcondition.cs (2)
111public bool Check( Evidence evidence ) 117bool IReportMatchMembershipCondition.Check(Evidence evidence, out object usedEvidence)
system\security\policy\site.cs (1)
69public IPermission CreateIdentityPermission( Evidence evidence )
system\security\policy\sitemembershipcondition.cs (2)
94public bool Check( Evidence evidence ) 100bool IReportMatchMembershipCondition.Check(Evidence evidence, out object usedEvidence)
system\security\policy\strongname.cs (1)
124public IPermission CreateIdentityPermission( Evidence evidence )
system\security\policy\strongnamemembershipcondition.cs (2)
155public bool Check( Evidence evidence ) 161bool IReportMatchMembershipCondition.Check(Evidence evidence, out object usedEvidence)
system\security\policy\unioncodegroup.cs (3)
43public override PolicyStatement Resolve( Evidence evidence ) 90PolicyStatement IUnionSemanticCodeGroup.InternalResolve( Evidence evidence ) 106public override CodeGroup ResolveMatchingCodeGroups( Evidence evidence )
system\security\policy\url.cs (1)
62public IPermission CreateIdentityPermission( Evidence evidence )
system\security\policy\urlmembershipcondition.cs (2)
96public bool Check( Evidence evidence ) 102bool IReportMatchMembershipCondition.Check(Evidence evidence, out object usedEvidence)
system\security\policy\zone.cs (1)
79public IPermission CreateIdentityPermission( Evidence evidence )
system\security\policy\zonemembershipcondition.cs (2)
109public bool Check( Evidence evidence ) 115bool IReportMatchMembershipCondition.Check(Evidence evidence, out object usedEvidence)
system\security\policymanager.cs (8)
71internal PermissionSet Resolve(Evidence evidence) 90internal PermissionSet CodeGroupResolve (Evidence evidence, bool systemPolicy) { 193internal static bool IsGacAssembly (Evidence evidence) { 198internal IEnumerator ResolveCodeGroups (Evidence evidence) { 213internal static PolicyStatement ResolveCodeGroup(CodeGroup codeGroup, Evidence evidence) 232Evidence evidence, 430Evidence noEvidence = new Evidence(); 449Evidence zoneEvidence = new Evidence();
system\security\securityexception.cs (2)
77internal static Exception MakeSecurityException(AssemblyName asmName, Evidence asmEvidence, PermissionSet granted, PermissionSet refused, RuntimeMethodHandleInternal rmh, SecurityAction action, Object demand, IPermission permThatFailed) 272public SecurityException(string message, AssemblyName assemblyName, PermissionSet grant, PermissionSet refused, MethodInfo method, SecurityAction action, Object demanded, IPermission permThatFailed, Evidence evidence)
system\security\securitymanager.cs (9)
80public static PermissionSet GetStandardSandbox(Evidence evidence) 255static public PermissionSet ResolvePolicy(Evidence evidence, 271static public PermissionSet ResolvePolicy(Evidence evidence) 288static public PermissionSet ResolvePolicy( Evidence[] evidences ) 296evidences = new Evidence[] { null }; 352public static PermissionSet ResolveSystemPolicy (Evidence evidence) 369static public IEnumerator ResolvePolicyGroups(Evidence evidence) 406private static PermissionSet ResolveCasPolicy(Evidence evidence, 430static private PermissionSet ResolvePolicy(Evidence evidence,
PresentationFramework (3)
src\Framework\MS\Internal\AppModel\PresentationAppDomainManager.cs (3)
60public override ApplicationTrust DetermineApplicationTrust(Evidence applicationEvidence, Evidence activatorEvidence, TrustManagerContext context) 181Evidence evidence = new Evidence();
System (7)
compmod\system\codedom\compiler\CodeCompiler.cs (1)
559internal static Assembly LoadImageSkipIntegrityCheck(byte[] rawAssembly, byte[] rawSymbolStore, Evidence securityEvidence) {
compmod\system\codedom\compiler\CompilerParameters.cs (3)
54private Evidence evidence = null; 334public Evidence Evidence { 336Evidence e = null;
compmod\system\codedom\compiler\CompilerResults.cs (3)
39private Evidence evidence; 76public Evidence Evidence { 79Evidence e = null;
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (1)
602Evidence folderEvidence = new Evidence();
System.AddIn (1)
System\Addin\Hosting\AddInActivator.cs (1)
83Evidence sandboxEvidence = new Evidence();
System.Configuration (2)
System\Configuration\ClientConfigPaths.cs (1)
369Evidence evidence = appDomain.Evidence;
System\Configuration\ClientConfigurationHost.cs (1)
467Evidence evidence = new Evidence();
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (1)
602Evidence folderEvidence = new Evidence();
System.Data.SqlXml (3)
System\Xml\Xsl\XsltOld\Compiler.cs (3)
167internal void Compile(NavigatorInput input, XmlResolver xmlResolver, Evidence evidence) { 739private void CompileScript(Evidence evidence) { 753private void CompileAssembly(ScriptingLanguage lang, Hashtable typeDecls, string nsName, Evidence evidence) {
System.Security (3)
system\security\cryptography\xml\encryptedxml.cs (3)
95private Evidence m_evidence; 115public EncryptedXml (XmlDocument document, Evidence evidence) { 158public Evidence DocumentEvidence {
System.Web (4)
Hosting\ApplicationManager.cs (4)
44public virtual HostSecurityPolicyResults ResolvePolicy(Evidence evidence) { 1634public override PermissionSet ResolvePolicy(Evidence evidence) { 1690private static Evidence GetDefaultDomainIdentity() { 1691Evidence evidence = AppDomain.CurrentDomain.Evidence; // CurrentDomain.Evidence returns a clone so we can modify it if we need
System.Web.Services (5)
System\Web\Services\Protocols\ServerType.cs (1)
31internal Evidence Evidence {
System\Web\Services\Protocols\SoapServerMethod.cs (2)
185private Evidence GetServerTypeEvidence(Type type) { 241private void ImportSerializers(SoapReflectedMethod soapMethod, Evidence serverEvidence) {
System\Web\Services\Protocols\XmlReturnReader.cs (2)
46Evidence evidence = GetEvidenceForType(methodInfos[0].DeclaringType); 86static Evidence GetEvidenceForType(Type type)
System.Windows.Forms (1)
winforms\Managed\System\WinForms\TrustManager.cs (1)
658Evidence appEvidence = info.ApplicationEvidence;
System.Xml (18)
System\Xml\Serialization\Compilation.cs (3)
53internal TempAssembly(XmlMapping[] xmlMappings, Type[] types, string defaultNamespace, string location, Evidence evidence) { 292internal static Assembly GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, string defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies) { 415internal static Assembly GenerateRefEmitAssembly(XmlMapping[] xmlMappings, Type[] types, string defaultNamespace, Evidence evidence) {
System\Xml\Serialization\Compiler.cs (1)
159internal Assembly Compile(Assembly parent, string ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence) {
System\Xml\Serialization\XmlSerializer.cs (3)
231public XmlSerializer(Type type, XmlAttributeOverrides overrides, Type[] extraTypes, XmlRootAttribute root, string defaultNamespace, string location, Evidence evidence) { 262internal static TempAssembly GenerateTempAssembly(XmlMapping xmlMapping, Type type, string defaultNamespace, string location, Evidence evidence) { 559public static XmlSerializer[] FromMappings(XmlMapping[] mappings, Evidence evidence) {
System\Xml\Serialization\XmlSerializerFactory.cs (1)
126public XmlSerializer CreateSerializer(Type type, XmlAttributeOverrides overrides, Type[] extraTypes, XmlRootAttribute root, string defaultNamespace, string location, Evidence evidence) {
System\Xml\XmlSecureResolver.cs (4)
22public XmlSecureResolver(XmlResolver resolver, Evidence evidence) : this(resolver, SecurityManager.GetStandardSandbox(evidence)) {} 44public static Evidence CreateEvidenceForUrl(string securityUrl) { 45Evidence evidence = new Evidence(); 73public IPermission CreateIdentityPermission(Evidence evidence) {
System\Xml\Xslt\XslTransform.cs (6)
89Evidence evidence = XmlSecureResolver.CreateEvidenceForUrl(tr.BaseURI); // We should ask BaseURI before we start reading because it's changing with each node 99Evidence evidence = XmlSecureResolver.CreateEvidenceForUrl(tr.BaseURI); // We should ask BaseURI before we start reading because it's changing with each node 103public void Load(IXPathNavigable stylesheet, XmlResolver resolver, Evidence evidence) { 109public void Load(XmlReader stylesheet, XmlResolver resolver, Evidence evidence) { 115public void Load(XPathNavigator stylesheet, XmlResolver resolver, Evidence evidence) { 257private void Compile(XPathNavigator stylesheet, XmlResolver resolver, Evidence evidence) {