namespace System.Security.Policy {
[Serializable]
- [MonoTODO ("Fix serialization compatibility with MS.NET")]
+ [MonoTODO ("Serialization format not compatible with .NET")]
#if NET_2_0
[ComVisible (true)]
#endif
he = hostEvidenceList.GetEnumerator ();
IEnumerator ae = null;
if (assemblyEvidenceList != null)
- assemblyEvidenceList.GetEnumerator ();
+ ae = assemblyEvidenceList.GetEnumerator ();
return new EvidenceEnumerator (he, ae);
}
static internal Evidence GetDefaultHostEvidence (Assembly a)
{
Evidence e = new Evidence ();
- string aname = a.CodeBase;
+ string aname = a.EscapedCodeBase;
// by default all assembly have the Zone, Url and Hash evidences
e.AddHost (Zone.CreateFromUrl (aname));