diff options
author | Jon Skeet <jonskeet@google.com> | 2015-06-26 10:32:50 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2015-06-26 10:32:50 +0100 |
commit | e6fc9778f5791b2557076160577ea7d27631676e (patch) | |
tree | b151234d86f8876b2d3011b08871d3bc981534d5 /csharp/src/AddressBook | |
parent | c12833104f43118d62f73ae9a82cfc7ba50a04b4 (diff) | |
download | protobuf-e6fc9778f5791b2557076160577ea7d27631676e.tar.gz protobuf-e6fc9778f5791b2557076160577ea7d27631676e.tar.bz2 protobuf-e6fc9778f5791b2557076160577ea7d27631676e.zip |
Generated code changes for previous commit.
Diffstat (limited to 'csharp/src/AddressBook')
-rw-r--r-- | csharp/src/AddressBook/Addressbook.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/csharp/src/AddressBook/Addressbook.cs b/csharp/src/AddressBook/Addressbook.cs index 2b430262..1d8b8f10 100644 --- a/csharp/src/AddressBook/Addressbook.cs +++ b/csharp/src/AddressBook/Addressbook.cs @@ -155,7 +155,7 @@ namespace Google.ProtocolBuffers.Examples.AddressBook { } public override int GetHashCode() { - int hash = 17; + int hash = 1; if (Name.Length != 0) hash ^= Name.GetHashCode(); if (Id != 0) hash ^= Id.GetHashCode(); if (Email.Length != 0) hash ^= Email.GetHashCode(); @@ -330,7 +330,7 @@ namespace Google.ProtocolBuffers.Examples.AddressBook { } public override int GetHashCode() { - int hash = 17; + int hash = 1; if (Number.Length != 0) hash ^= Number.GetHashCode(); if (Type != global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneType.HOME) hash ^= Type.GetHashCode(); return hash; @@ -458,7 +458,7 @@ namespace Google.ProtocolBuffers.Examples.AddressBook { } public override int GetHashCode() { - int hash = 17; + int hash = 1; hash ^= person_.GetHashCode(); return hash; } |