public override int GetHashCode() { var result = FragmentName.GetHashCode() ^ TypeCondition.GetHashCode(); if (Directives != null) { result = Directives.Aggregate(result, (x, y) => x ^ y.GetHashCode()); } return(SelectionSet.Aggregate(result, (x, y) => x ^ y.GetHashCode())); }
public override int GetHashCode() { var result = FragmentName.GetHashCode(); if (Directives != null) { result = Directives.Aggregate(result, (x, y) => x ^ y.GetHashCode()); } return(result); }