aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/ProtocolBuffers.Test/TestProtos/UnittestIssues.cs
diff options
context:
space:
mode:
authorJon Skeet <jonskeet@google.com>2015-06-26 10:32:50 +0100
committerJon Skeet <jonskeet@google.com>2015-06-26 10:32:50 +0100
commite6fc9778f5791b2557076160577ea7d27631676e (patch)
treeb151234d86f8876b2d3011b08871d3bc981534d5 /csharp/src/ProtocolBuffers.Test/TestProtos/UnittestIssues.cs
parentc12833104f43118d62f73ae9a82cfc7ba50a04b4 (diff)
downloadprotobuf-e6fc9778f5791b2557076160577ea7d27631676e.tar.gz
protobuf-e6fc9778f5791b2557076160577ea7d27631676e.tar.bz2
protobuf-e6fc9778f5791b2557076160577ea7d27631676e.zip
Generated code changes for previous commit.
Diffstat (limited to 'csharp/src/ProtocolBuffers.Test/TestProtos/UnittestIssues.cs')
-rw-r--r--csharp/src/ProtocolBuffers.Test/TestProtos/UnittestIssues.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/csharp/src/ProtocolBuffers.Test/TestProtos/UnittestIssues.cs b/csharp/src/ProtocolBuffers.Test/TestProtos/UnittestIssues.cs
index 280e71c6..73876b8c 100644
--- a/csharp/src/ProtocolBuffers.Test/TestProtos/UnittestIssues.cs
+++ b/csharp/src/ProtocolBuffers.Test/TestProtos/UnittestIssues.cs
@@ -168,7 +168,7 @@ namespace UnitTest.Issues.TestProtos {
}
public override int GetHashCode() {
- int hash = 17;
+ int hash = 1;
if (Value != global::UnitTest.Issues.TestProtos.NegativeEnum.NEGATIVE_ENUM_ZERO) hash ^= Value.GetHashCode();
hash ^= values_.GetHashCode();
hash ^= packedValues_.GetHashCode();
@@ -304,7 +304,7 @@ namespace UnitTest.Issues.TestProtos {
}
public override int GetHashCode() {
- int hash = 17;
+ int hash = 1;
return hash;
}
@@ -458,7 +458,7 @@ namespace UnitTest.Issues.TestProtos {
}
public override int GetHashCode() {
- int hash = 17;
+ int hash = 1;
if (PrimitiveValue != 0) hash ^= PrimitiveValue.GetHashCode();
hash ^= primitiveArray_.GetHashCode();
if (messageValue_ != null) hash ^= MessageValue.GetHashCode();
@@ -658,7 +658,7 @@ namespace UnitTest.Issues.TestProtos {
}
public override int GetHashCode() {
- int hash = 17;
+ int hash = 1;
if (Item != 0) hash ^= Item.GetHashCode();
return hash;
}