Generated code changes for previous commit.
This commit is contained in:
parent
c12833104f
commit
e6fc9778f5
@ -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;
|
||||
}
|
||||
|
6938
csharp/src/ProtocolBuffers.Test/TestProtos/MapUnittestProto3.cs
Normal file
6938
csharp/src/ProtocolBuffers.Test/TestProtos/MapUnittestProto3.cs
Normal file
File diff suppressed because it is too large
Load Diff
@ -120,7 +120,7 @@ namespace Google.Protobuf.TestProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
if (D != 0) hash ^= D.GetHashCode();
|
||||
return hash;
|
||||
}
|
||||
|
@ -105,7 +105,7 @@ namespace Google.Protobuf.TestProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
if (E != 0) hash ^= E.GetHashCode();
|
||||
return hash;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -335,7 +335,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
hash ^= file_.GetHashCode();
|
||||
return hash;
|
||||
}
|
||||
@ -559,7 +559,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
||||
if (Package.Length != 0) hash ^= Package.GetHashCode();
|
||||
hash ^= dependency_.GetHashCode();
|
||||
@ -940,7 +940,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
||||
hash ^= field_.GetHashCode();
|
||||
hash ^= extension_.GetHashCode();
|
||||
@ -1207,7 +1207,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
if (Start != 0) hash ^= Start.GetHashCode();
|
||||
if (End != 0) hash ^= End.GetHashCode();
|
||||
return hash;
|
||||
@ -1345,7 +1345,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
if (Start != 0) hash ^= Start.GetHashCode();
|
||||
if (End != 0) hash ^= End.GetHashCode();
|
||||
return hash;
|
||||
@ -1573,7 +1573,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
||||
if (Number != 0) hash ^= Number.GetHashCode();
|
||||
if (Label != global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto.Types.Label.LABEL_OPTIONAL) hash ^= Label.GetHashCode();
|
||||
@ -1843,7 +1843,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
||||
return hash;
|
||||
}
|
||||
@ -1976,7 +1976,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
||||
hash ^= value_.GetHashCode();
|
||||
if (options_ != null) hash ^= Options.GetHashCode();
|
||||
@ -2148,7 +2148,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
||||
if (Number != 0) hash ^= Number.GetHashCode();
|
||||
if (options_ != null) hash ^= Options.GetHashCode();
|
||||
@ -2317,7 +2317,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
||||
hash ^= method_.GetHashCode();
|
||||
if (options_ != null) hash ^= Options.GetHashCode();
|
||||
@ -2525,7 +2525,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
||||
if (InputType.Length != 0) hash ^= InputType.GetHashCode();
|
||||
if (OutputType.Length != 0) hash ^= OutputType.GetHashCode();
|
||||
@ -2882,7 +2882,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
if (JavaPackage.Length != 0) hash ^= JavaPackage.GetHashCode();
|
||||
if (JavaOuterClassname.Length != 0) hash ^= JavaOuterClassname.GetHashCode();
|
||||
if (JavaMultipleFiles != false) hash ^= JavaMultipleFiles.GetHashCode();
|
||||
@ -3260,7 +3260,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
if (MessageSetWireFormat != false) hash ^= MessageSetWireFormat.GetHashCode();
|
||||
if (NoStandardDescriptorAccessor != false) hash ^= NoStandardDescriptorAccessor.GetHashCode();
|
||||
if (Deprecated != false) hash ^= Deprecated.GetHashCode();
|
||||
@ -3500,7 +3500,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
if (Ctype != global::Google.Protobuf.DescriptorProtos.FieldOptions.Types.CType.STRING) hash ^= Ctype.GetHashCode();
|
||||
if (Packed != false) hash ^= Packed.GetHashCode();
|
||||
if (Jstype != global::Google.Protobuf.DescriptorProtos.FieldOptions.Types.JSType.JS_NORMAL) hash ^= Jstype.GetHashCode();
|
||||
@ -3740,7 +3740,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
if (AllowAlias != false) hash ^= AllowAlias.GetHashCode();
|
||||
if (Deprecated != false) hash ^= Deprecated.GetHashCode();
|
||||
hash ^= uninterpretedOption_.GetHashCode();
|
||||
@ -3890,7 +3890,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
if (Deprecated != false) hash ^= Deprecated.GetHashCode();
|
||||
hash ^= uninterpretedOption_.GetHashCode();
|
||||
return hash;
|
||||
@ -4025,7 +4025,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
if (Deprecated != false) hash ^= Deprecated.GetHashCode();
|
||||
hash ^= uninterpretedOption_.GetHashCode();
|
||||
return hash;
|
||||
@ -4160,7 +4160,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
if (Deprecated != false) hash ^= Deprecated.GetHashCode();
|
||||
hash ^= uninterpretedOption_.GetHashCode();
|
||||
return hash;
|
||||
@ -4355,7 +4355,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
hash ^= name_.GetHashCode();
|
||||
if (IdentifierValue.Length != 0) hash ^= IdentifierValue.GetHashCode();
|
||||
if (PositiveIntValue != 0UL) hash ^= PositiveIntValue.GetHashCode();
|
||||
@ -4569,7 +4569,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
if (NamePart_.Length != 0) hash ^= NamePart_.GetHashCode();
|
||||
if (IsExtension != false) hash ^= IsExtension.GetHashCode();
|
||||
return hash;
|
||||
@ -4697,7 +4697,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
hash ^= location_.GetHashCode();
|
||||
return hash;
|
||||
}
|
||||
@ -4848,7 +4848,7 @@ namespace Google.Protobuf.DescriptorProtos {
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 17;
|
||||
int hash = 1;
|
||||
hash ^= path_.GetHashCode();
|
||||
hash ^= span_.GetHashCode();
|
||||
if (LeadingComments.Length != 0) hash ^= LeadingComments.GetHashCode();
|
||||
|
Loading…
Reference in New Issue
Block a user