Esempio n. 1
0
 public bool Equals(TaintSets other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(XssTaint.SequenceEqual(other.XssTaint) && SqliTaint.SequenceEqual(other.SqliTaint));
 }
Esempio n. 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((SqliTaint != null ? SqliTaint.GetHashCode() : 0) * 397) ^ (XssTaint != null ? XssTaint.GetHashCode() : 0));
     }
 }