From e6fc9778f5791b2557076160577ea7d27631676e Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Fri, 26 Jun 2015 10:32:50 +0100 Subject: Generated code changes for previous commit. --- csharp/src/AddressBook/Addressbook.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'csharp/src/AddressBook/Addressbook.cs') 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; } -- cgit v1.2.3