public static void StrongNameMembershipConditionCallMethods()
        {
            Policy.StrongNameMembershipCondition snmc = new Policy.StrongNameMembershipCondition(new StrongNamePublicKeyBlob(new byte[1]), "test", new Version(0, 1));
            bool check = snmc.Check(new Policy.Evidence());

            Policy.IMembershipCondition obj = snmc.Copy();
            check = snmc.Equals(new object());
            int             hash = snmc.GetHashCode();
            string          str  = snmc.ToString();
            SecurityElement se   = new SecurityElement("");

            Policy.PolicyLevel pl = (Policy.PolicyLevel)Activator.CreateInstance(typeof(Policy.PolicyLevel), true);
            snmc.FromXml(se);
            snmc.FromXml(se, pl);
            se = snmc.ToXml();
            se = snmc.ToXml(pl);
        }
 public static void StrongNameMembershipConditionCallMethods()
 {
     Policy.StrongNameMembershipCondition snmc = new Policy.StrongNameMembershipCondition(new StrongNamePublicKeyBlob(new byte[1]), "test", new System.Version(0, 1));
     bool check = snmc.Check(new Policy.Evidence());
     Policy.IMembershipCondition obj = snmc.Copy();
     check = snmc.Equals(new object());
     int hash = snmc.GetHashCode();
     string str = snmc.ToString();
     SecurityElement se = new SecurityElement("");
     Policy.PolicyLevel pl = (Policy.PolicyLevel)Activator.CreateInstance(typeof(Policy.PolicyLevel), true);
     snmc.FromXml(se);
     snmc.FromXml(se, pl);
     se = snmc.ToXml();
     se = snmc.ToXml(pl);
 }