aboutsummaryrefslogtreecommitdiffhomepage
path: root/csharp/src/AddressBook
diff options
context:
space:
mode:
authorGravatar Jon Skeet <jonskeet@google.com>2015-06-26 10:32:50 +0100
committerGravatar Jon Skeet <jonskeet@google.com>2015-06-26 10:32:50 +0100
commite6fc9778f5791b2557076160577ea7d27631676e (patch)
treeb151234d86f8876b2d3011b08871d3bc981534d5 /csharp/src/AddressBook
parentc12833104f43118d62f73ae9a82cfc7ba50a04b4 (diff)
Generated code changes for previous commit.
Diffstat (limited to 'csharp/src/AddressBook')
-rw-r--r--csharp/src/AddressBook/Addressbook.cs6
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;
}