diff options
Diffstat (limited to 'csharp')
-rw-r--r-- | csharp/src/ProtocolBuffersLite.Test/TestProtos/UnittestImportLite.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/csharp/src/ProtocolBuffersLite.Test/TestProtos/UnittestImportLite.cs b/csharp/src/ProtocolBuffersLite.Test/TestProtos/UnittestImportLite.cs index b0ad3155..1fee16e0 100644 --- a/csharp/src/ProtocolBuffersLite.Test/TestProtos/UnittestImportLite.cs +++ b/csharp/src/ProtocolBuffersLite.Test/TestProtos/UnittestImportLite.cs @@ -101,7 +101,9 @@ namespace Google.ProtocolBuffers.TestProtos { #region Lite runtime methods public override int GetHashCode() { int hash = GetType().GetHashCode(); - if (hasD) hash ^= d_.GetHashCode(); + if (hasD) { + hash ^= d_.GetHashCode(); + } return hash; } |