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