Beispiel #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((Quasis != null ? Quasis.GetHashCode() : 0) * 397) ^ (Expressions != null ? Expressions.GetHashCode() : 0));
     }
 }
Beispiel #2
0
 protected bool Equals(JsTemplateLiteral other)
 {
     return(Quasis.EquivalentTo(other.Quasis) &&
            Expressions.EquivalentTo(other.Expressions));
 }