Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
e6fc9778
Commit
e6fc9778
authored
Jun 26, 2015
by
Jon Skeet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generated code changes for previous commit.
parent
c1283310
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
31 additions
and
31 deletions
+31
-31
Addressbook.cs
csharp/src/AddressBook/Addressbook.cs
+3
-3
MapUnittestProto3.cs
.../src/ProtocolBuffers.Test/TestProtos/MapUnittestProto3.cs
+0
-0
UnittestImportProto3.cs
...c/ProtocolBuffers.Test/TestProtos/UnittestImportProto3.cs
+1
-1
UnittestImportPublicProto3.cs
...ocolBuffers.Test/TestProtos/UnittestImportPublicProto3.cs
+1
-1
UnittestIssues.cs
csharp/src/ProtocolBuffers.Test/TestProtos/UnittestIssues.cs
+4
-4
UnittestProto3.cs
csharp/src/ProtocolBuffers.Test/TestProtos/UnittestProto3.cs
+0
-0
DescriptorProtoFile.cs
...c/ProtocolBuffers/DescriptorProtos/DescriptorProtoFile.cs
+22
-22
No files found.
csharp/src/AddressBook/Addressbook.cs
View file @
e6fc9778
...
@@ -155,7 +155,7 @@ namespace Google.ProtocolBuffers.Examples.AddressBook {
...
@@ -155,7 +155,7 @@ namespace Google.ProtocolBuffers.Examples.AddressBook {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
Name
.
Length
!=
0
)
hash
^=
Name
.
GetHashCode
();
if
(
Name
.
Length
!=
0
)
hash
^=
Name
.
GetHashCode
();
if
(
Id
!=
0
)
hash
^=
Id
.
GetHashCode
();
if
(
Id
!=
0
)
hash
^=
Id
.
GetHashCode
();
if
(
Email
.
Length
!=
0
)
hash
^=
Email
.
GetHashCode
();
if
(
Email
.
Length
!=
0
)
hash
^=
Email
.
GetHashCode
();
...
@@ -330,7 +330,7 @@ namespace Google.ProtocolBuffers.Examples.AddressBook {
...
@@ -330,7 +330,7 @@ namespace Google.ProtocolBuffers.Examples.AddressBook {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
Number
.
Length
!=
0
)
hash
^=
Number
.
GetHashCode
();
if
(
Number
.
Length
!=
0
)
hash
^=
Number
.
GetHashCode
();
if
(
Type
!=
global
::
Google
.
ProtocolBuffers
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneType
.
HOME
)
hash
^=
Type
.
GetHashCode
();
if
(
Type
!=
global
::
Google
.
ProtocolBuffers
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneType
.
HOME
)
hash
^=
Type
.
GetHashCode
();
return
hash
;
return
hash
;
...
@@ -458,7 +458,7 @@ namespace Google.ProtocolBuffers.Examples.AddressBook {
...
@@ -458,7 +458,7 @@ namespace Google.ProtocolBuffers.Examples.AddressBook {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
hash
^=
person_
.
GetHashCode
();
hash
^=
person_
.
GetHashCode
();
return
hash
;
return
hash
;
}
}
...
...
csharp/src/ProtocolBuffers.Test/TestProtos/MapUnittestProto3.cs
0 → 100644
View file @
e6fc9778
This diff is collapsed.
Click to expand it.
csharp/src/ProtocolBuffers.Test/TestProtos/UnittestImportProto3.cs
View file @
e6fc9778
...
@@ -120,7 +120,7 @@ namespace Google.Protobuf.TestProtos {
...
@@ -120,7 +120,7 @@ namespace Google.Protobuf.TestProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
D
!=
0
)
hash
^=
D
.
GetHashCode
();
if
(
D
!=
0
)
hash
^=
D
.
GetHashCode
();
return
hash
;
return
hash
;
}
}
...
...
csharp/src/ProtocolBuffers.Test/TestProtos/UnittestImportPublicProto3.cs
View file @
e6fc9778
...
@@ -105,7 +105,7 @@ namespace Google.Protobuf.TestProtos {
...
@@ -105,7 +105,7 @@ namespace Google.Protobuf.TestProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
E
!=
0
)
hash
^=
E
.
GetHashCode
();
if
(
E
!=
0
)
hash
^=
E
.
GetHashCode
();
return
hash
;
return
hash
;
}
}
...
...
csharp/src/ProtocolBuffers.Test/TestProtos/UnittestIssues.cs
View file @
e6fc9778
...
@@ -168,7 +168,7 @@ namespace UnitTest.Issues.TestProtos {
...
@@ -168,7 +168,7 @@ namespace UnitTest.Issues.TestProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
Value
!=
global
::
UnitTest
.
Issues
.
TestProtos
.
NegativeEnum
.
NEGATIVE_ENUM_ZERO
)
hash
^=
Value
.
GetHashCode
();
if
(
Value
!=
global
::
UnitTest
.
Issues
.
TestProtos
.
NegativeEnum
.
NEGATIVE_ENUM_ZERO
)
hash
^=
Value
.
GetHashCode
();
hash
^=
values_
.
GetHashCode
();
hash
^=
values_
.
GetHashCode
();
hash
^=
packedValues_
.
GetHashCode
();
hash
^=
packedValues_
.
GetHashCode
();
...
@@ -304,7 +304,7 @@ namespace UnitTest.Issues.TestProtos {
...
@@ -304,7 +304,7 @@ namespace UnitTest.Issues.TestProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
return
hash
;
return
hash
;
}
}
...
@@ -458,7 +458,7 @@ namespace UnitTest.Issues.TestProtos {
...
@@ -458,7 +458,7 @@ namespace UnitTest.Issues.TestProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
PrimitiveValue
!=
0
)
hash
^=
PrimitiveValue
.
GetHashCode
();
if
(
PrimitiveValue
!=
0
)
hash
^=
PrimitiveValue
.
GetHashCode
();
hash
^=
primitiveArray_
.
GetHashCode
();
hash
^=
primitiveArray_
.
GetHashCode
();
if
(
messageValue_
!=
null
)
hash
^=
MessageValue
.
GetHashCode
();
if
(
messageValue_
!=
null
)
hash
^=
MessageValue
.
GetHashCode
();
...
@@ -658,7 +658,7 @@ namespace UnitTest.Issues.TestProtos {
...
@@ -658,7 +658,7 @@ namespace UnitTest.Issues.TestProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
Item
!=
0
)
hash
^=
Item
.
GetHashCode
();
if
(
Item
!=
0
)
hash
^=
Item
.
GetHashCode
();
return
hash
;
return
hash
;
}
}
...
...
csharp/src/ProtocolBuffers.Test/TestProtos/UnittestProto3.cs
View file @
e6fc9778
This diff is collapsed.
Click to expand it.
csharp/src/ProtocolBuffers/DescriptorProtos/DescriptorProtoFile.cs
View file @
e6fc9778
...
@@ -335,7 +335,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -335,7 +335,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
hash
^=
file_
.
GetHashCode
();
hash
^=
file_
.
GetHashCode
();
return
hash
;
return
hash
;
}
}
...
@@ -559,7 +559,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -559,7 +559,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
Name
.
Length
!=
0
)
hash
^=
Name
.
GetHashCode
();
if
(
Name
.
Length
!=
0
)
hash
^=
Name
.
GetHashCode
();
if
(
Package
.
Length
!=
0
)
hash
^=
Package
.
GetHashCode
();
if
(
Package
.
Length
!=
0
)
hash
^=
Package
.
GetHashCode
();
hash
^=
dependency_
.
GetHashCode
();
hash
^=
dependency_
.
GetHashCode
();
...
@@ -940,7 +940,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -940,7 +940,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
Name
.
Length
!=
0
)
hash
^=
Name
.
GetHashCode
();
if
(
Name
.
Length
!=
0
)
hash
^=
Name
.
GetHashCode
();
hash
^=
field_
.
GetHashCode
();
hash
^=
field_
.
GetHashCode
();
hash
^=
extension_
.
GetHashCode
();
hash
^=
extension_
.
GetHashCode
();
...
@@ -1207,7 +1207,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -1207,7 +1207,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
Start
!=
0
)
hash
^=
Start
.
GetHashCode
();
if
(
Start
!=
0
)
hash
^=
Start
.
GetHashCode
();
if
(
End
!=
0
)
hash
^=
End
.
GetHashCode
();
if
(
End
!=
0
)
hash
^=
End
.
GetHashCode
();
return
hash
;
return
hash
;
...
@@ -1345,7 +1345,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -1345,7 +1345,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
Start
!=
0
)
hash
^=
Start
.
GetHashCode
();
if
(
Start
!=
0
)
hash
^=
Start
.
GetHashCode
();
if
(
End
!=
0
)
hash
^=
End
.
GetHashCode
();
if
(
End
!=
0
)
hash
^=
End
.
GetHashCode
();
return
hash
;
return
hash
;
...
@@ -1573,7 +1573,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -1573,7 +1573,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
Name
.
Length
!=
0
)
hash
^=
Name
.
GetHashCode
();
if
(
Name
.
Length
!=
0
)
hash
^=
Name
.
GetHashCode
();
if
(
Number
!=
0
)
hash
^=
Number
.
GetHashCode
();
if
(
Number
!=
0
)
hash
^=
Number
.
GetHashCode
();
if
(
Label
!=
global
::
Google
.
Protobuf
.
DescriptorProtos
.
FieldDescriptorProto
.
Types
.
Label
.
LABEL_OPTIONAL
)
hash
^=
Label
.
GetHashCode
();
if
(
Label
!=
global
::
Google
.
Protobuf
.
DescriptorProtos
.
FieldDescriptorProto
.
Types
.
Label
.
LABEL_OPTIONAL
)
hash
^=
Label
.
GetHashCode
();
...
@@ -1843,7 +1843,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -1843,7 +1843,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
Name
.
Length
!=
0
)
hash
^=
Name
.
GetHashCode
();
if
(
Name
.
Length
!=
0
)
hash
^=
Name
.
GetHashCode
();
return
hash
;
return
hash
;
}
}
...
@@ -1976,7 +1976,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -1976,7 +1976,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
Name
.
Length
!=
0
)
hash
^=
Name
.
GetHashCode
();
if
(
Name
.
Length
!=
0
)
hash
^=
Name
.
GetHashCode
();
hash
^=
value_
.
GetHashCode
();
hash
^=
value_
.
GetHashCode
();
if
(
options_
!=
null
)
hash
^=
Options
.
GetHashCode
();
if
(
options_
!=
null
)
hash
^=
Options
.
GetHashCode
();
...
@@ -2148,7 +2148,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -2148,7 +2148,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
Name
.
Length
!=
0
)
hash
^=
Name
.
GetHashCode
();
if
(
Name
.
Length
!=
0
)
hash
^=
Name
.
GetHashCode
();
if
(
Number
!=
0
)
hash
^=
Number
.
GetHashCode
();
if
(
Number
!=
0
)
hash
^=
Number
.
GetHashCode
();
if
(
options_
!=
null
)
hash
^=
Options
.
GetHashCode
();
if
(
options_
!=
null
)
hash
^=
Options
.
GetHashCode
();
...
@@ -2317,7 +2317,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -2317,7 +2317,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
Name
.
Length
!=
0
)
hash
^=
Name
.
GetHashCode
();
if
(
Name
.
Length
!=
0
)
hash
^=
Name
.
GetHashCode
();
hash
^=
method_
.
GetHashCode
();
hash
^=
method_
.
GetHashCode
();
if
(
options_
!=
null
)
hash
^=
Options
.
GetHashCode
();
if
(
options_
!=
null
)
hash
^=
Options
.
GetHashCode
();
...
@@ -2525,7 +2525,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -2525,7 +2525,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
Name
.
Length
!=
0
)
hash
^=
Name
.
GetHashCode
();
if
(
Name
.
Length
!=
0
)
hash
^=
Name
.
GetHashCode
();
if
(
InputType
.
Length
!=
0
)
hash
^=
InputType
.
GetHashCode
();
if
(
InputType
.
Length
!=
0
)
hash
^=
InputType
.
GetHashCode
();
if
(
OutputType
.
Length
!=
0
)
hash
^=
OutputType
.
GetHashCode
();
if
(
OutputType
.
Length
!=
0
)
hash
^=
OutputType
.
GetHashCode
();
...
@@ -2882,7 +2882,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -2882,7 +2882,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
JavaPackage
.
Length
!=
0
)
hash
^=
JavaPackage
.
GetHashCode
();
if
(
JavaPackage
.
Length
!=
0
)
hash
^=
JavaPackage
.
GetHashCode
();
if
(
JavaOuterClassname
.
Length
!=
0
)
hash
^=
JavaOuterClassname
.
GetHashCode
();
if
(
JavaOuterClassname
.
Length
!=
0
)
hash
^=
JavaOuterClassname
.
GetHashCode
();
if
(
JavaMultipleFiles
!=
false
)
hash
^=
JavaMultipleFiles
.
GetHashCode
();
if
(
JavaMultipleFiles
!=
false
)
hash
^=
JavaMultipleFiles
.
GetHashCode
();
...
@@ -3260,7 +3260,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -3260,7 +3260,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
MessageSetWireFormat
!=
false
)
hash
^=
MessageSetWireFormat
.
GetHashCode
();
if
(
MessageSetWireFormat
!=
false
)
hash
^=
MessageSetWireFormat
.
GetHashCode
();
if
(
NoStandardDescriptorAccessor
!=
false
)
hash
^=
NoStandardDescriptorAccessor
.
GetHashCode
();
if
(
NoStandardDescriptorAccessor
!=
false
)
hash
^=
NoStandardDescriptorAccessor
.
GetHashCode
();
if
(
Deprecated
!=
false
)
hash
^=
Deprecated
.
GetHashCode
();
if
(
Deprecated
!=
false
)
hash
^=
Deprecated
.
GetHashCode
();
...
@@ -3500,7 +3500,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -3500,7 +3500,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
Ctype
!=
global
::
Google
.
Protobuf
.
DescriptorProtos
.
FieldOptions
.
Types
.
CType
.
STRING
)
hash
^=
Ctype
.
GetHashCode
();
if
(
Ctype
!=
global
::
Google
.
Protobuf
.
DescriptorProtos
.
FieldOptions
.
Types
.
CType
.
STRING
)
hash
^=
Ctype
.
GetHashCode
();
if
(
Packed
!=
false
)
hash
^=
Packed
.
GetHashCode
();
if
(
Packed
!=
false
)
hash
^=
Packed
.
GetHashCode
();
if
(
Jstype
!=
global
::
Google
.
Protobuf
.
DescriptorProtos
.
FieldOptions
.
Types
.
JSType
.
JS_NORMAL
)
hash
^=
Jstype
.
GetHashCode
();
if
(
Jstype
!=
global
::
Google
.
Protobuf
.
DescriptorProtos
.
FieldOptions
.
Types
.
JSType
.
JS_NORMAL
)
hash
^=
Jstype
.
GetHashCode
();
...
@@ -3740,7 +3740,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -3740,7 +3740,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
AllowAlias
!=
false
)
hash
^=
AllowAlias
.
GetHashCode
();
if
(
AllowAlias
!=
false
)
hash
^=
AllowAlias
.
GetHashCode
();
if
(
Deprecated
!=
false
)
hash
^=
Deprecated
.
GetHashCode
();
if
(
Deprecated
!=
false
)
hash
^=
Deprecated
.
GetHashCode
();
hash
^=
uninterpretedOption_
.
GetHashCode
();
hash
^=
uninterpretedOption_
.
GetHashCode
();
...
@@ -3890,7 +3890,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -3890,7 +3890,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
Deprecated
!=
false
)
hash
^=
Deprecated
.
GetHashCode
();
if
(
Deprecated
!=
false
)
hash
^=
Deprecated
.
GetHashCode
();
hash
^=
uninterpretedOption_
.
GetHashCode
();
hash
^=
uninterpretedOption_
.
GetHashCode
();
return
hash
;
return
hash
;
...
@@ -4025,7 +4025,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -4025,7 +4025,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
Deprecated
!=
false
)
hash
^=
Deprecated
.
GetHashCode
();
if
(
Deprecated
!=
false
)
hash
^=
Deprecated
.
GetHashCode
();
hash
^=
uninterpretedOption_
.
GetHashCode
();
hash
^=
uninterpretedOption_
.
GetHashCode
();
return
hash
;
return
hash
;
...
@@ -4160,7 +4160,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -4160,7 +4160,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
Deprecated
!=
false
)
hash
^=
Deprecated
.
GetHashCode
();
if
(
Deprecated
!=
false
)
hash
^=
Deprecated
.
GetHashCode
();
hash
^=
uninterpretedOption_
.
GetHashCode
();
hash
^=
uninterpretedOption_
.
GetHashCode
();
return
hash
;
return
hash
;
...
@@ -4355,7 +4355,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -4355,7 +4355,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
hash
^=
name_
.
GetHashCode
();
hash
^=
name_
.
GetHashCode
();
if
(
IdentifierValue
.
Length
!=
0
)
hash
^=
IdentifierValue
.
GetHashCode
();
if
(
IdentifierValue
.
Length
!=
0
)
hash
^=
IdentifierValue
.
GetHashCode
();
if
(
PositiveIntValue
!=
0U
L
)
hash
^=
PositiveIntValue
.
GetHashCode
();
if
(
PositiveIntValue
!=
0U
L
)
hash
^=
PositiveIntValue
.
GetHashCode
();
...
@@ -4569,7 +4569,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -4569,7 +4569,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
if
(
NamePart_
.
Length
!=
0
)
hash
^=
NamePart_
.
GetHashCode
();
if
(
NamePart_
.
Length
!=
0
)
hash
^=
NamePart_
.
GetHashCode
();
if
(
IsExtension
!=
false
)
hash
^=
IsExtension
.
GetHashCode
();
if
(
IsExtension
!=
false
)
hash
^=
IsExtension
.
GetHashCode
();
return
hash
;
return
hash
;
...
@@ -4697,7 +4697,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -4697,7 +4697,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
hash
^=
location_
.
GetHashCode
();
hash
^=
location_
.
GetHashCode
();
return
hash
;
return
hash
;
}
}
...
@@ -4848,7 +4848,7 @@ namespace Google.Protobuf.DescriptorProtos {
...
@@ -4848,7 +4848,7 @@ namespace Google.Protobuf.DescriptorProtos {
}
}
public
override
int
GetHashCode
()
{
public
override
int
GetHashCode
()
{
int
hash
=
1
7
;
int
hash
=
1
;
hash
^=
path_
.
GetHashCode
();
hash
^=
path_
.
GetHashCode
();
hash
^=
span_
.
GetHashCode
();
hash
^=
span_
.
GetHashCode
();
if
(
LeadingComments
.
Length
!=
0
)
hash
^=
LeadingComments
.
GetHashCode
();
if
(
LeadingComments
.
Length
!=
0
)
hash
^=
LeadingComments
.
GetHashCode
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment