public override int GetHashCode() { int hash = 1; if (PermType != 0) { hash ^= PermType.GetHashCode(); } if (Key.Length != 0) { hash ^= Key.GetHashCode(); } if (RangeEnd.Length != 0) { hash ^= RangeEnd.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (PermType != global::Authpb.Permission.Types.Type.Read) { hash ^= PermType.GetHashCode(); } if (Key.Length != 0) { hash ^= Key.GetHashCode(); } if (RangeEnd.Length != 0) { hash ^= RangeEnd.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }