MCPcopy Create free account
hub / github.com/apple/coremltools / GetHashCode

Method GetHashCode

deps/protobuf/csharp/src/AddressBook/Addressbook.cs:185–198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

183 }
184
185 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
186 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
187 public override int GetHashCode() {
188 int hash = 1;
189 if (Name.Length != 0) hash ^= Name.GetHashCode();
190 if (Id != 0) hash ^= Id.GetHashCode();
191 if (Email.Length != 0) hash ^= Email.GetHashCode();
192 hash ^= phones_.GetHashCode();
193 if (lastUpdated_ != null) hash ^= LastUpdated.GetHashCode();
194 if (_unknownFields != null) {
195 hash ^= _unknownFields.GetHashCode();
196 }
197 return hash;
198 }
199
200 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
201 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]

Callers 6

GetHashCodeMethod · 0.45
GetHashCodeMethod · 0.45
AssertEqualityMethod · 0.45
AssertInequalityMethod · 0.45
Indexer_GetMethod · 0.45

Calls

no outgoing calls

Tested by 4

AssertEqualityMethod · 0.36
AssertInequalityMethod · 0.36
Indexer_GetMethod · 0.36