public override int GetHashCode() { unchecked { var hashCode = Body.GetHashCode(); hashCode = (hashCode * 397) ^ Name.GetHashCode(); hashCode = (hashCode * 397) ^ IsEntryPoint.GetHashCode(); return(hashCode); } }
private bool Equals(MethodDeclaration other) { return(Equals(Body, other.Body) && Equals(Name, other.Name) && IsEntryPoint.Equals(other.IsEntryPoint)); }