public override int GetHashCode() { int hash = 0; if (Method != null) { hash ^= Method.GetHashCode(); } if (Field != null) { hash ^= Field.GetHashCode(); } return(hash); }