コード例 #1
0
ファイル: JsTemplateLiteral.cs プロジェクト: wow64bb/YAFNET
 public override int GetHashCode()
 {
     unchecked
     {
         return(((Quasis != null ? Quasis.GetHashCode() : 0) * 397) ^ (Expressions != null ? Expressions.GetHashCode() : 0));
     }
 }
コード例 #2
0
ファイル: JsTemplateLiteral.cs プロジェクト: wow64bb/YAFNET
 protected bool Equals(JsTemplateLiteral other)
 {
     return(Quasis.EquivalentTo(other.Quasis) &&
            Expressions.EquivalentTo(other.Expressions));
 }