public override int GetHashCode() { unchecked { var hashCode = (Event != null ? Event.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Site != null ? Site.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (White != null ? White.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Black != null ? Black.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Date != null ? Date.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Round != null ? Round.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (int)Result; hashCode = (hashCode * 397) ^ (MoveText != null ? MoveText.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Eco != null ? Eco.GetHashCode() : 0); hashCode = (hashCode * 397) ^ WhiteElo.GetHashCode(); hashCode = (hashCode * 397) ^ BlackElo.GetHashCode(); return(hashCode); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Eco obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }