public override int GetHashCode() { int hash = 1; if (modeCase_ == ModeOneofCase.ReadOnly) { hash ^= ReadOnly.GetHashCode(); } if (modeCase_ == ModeOneofCase.ReadWrite) { hash ^= ReadWrite.GetHashCode(); } hash ^= (int)modeCase_; return(hash); }
public override int GetHashCode() { int hash = 1; if (modeCase_ == ModeOneofCase.ReadOnly) { hash ^= ReadOnly.GetHashCode(); } if (modeCase_ == ModeOneofCase.ReadWrite) { hash ^= ReadWrite.GetHashCode(); } hash ^= (int)modeCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }