public override int GetHashCode() { int hash = 1; if (HasBoolValue) { hash ^= BoolValue.GetHashCode(); } if (HasIntValue) { hash ^= IntValue.GetHashCode(); } if (HasFloatValue) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FloatValue); } if (HasStringValue) { hash ^= StringValue.GetHashCode(); } if (HasBlobValue) { hash ^= BlobValue.GetHashCode(); } if (HasUintValue) { hash ^= UintValue.GetHashCode(); } hash ^= (int)typeCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (valueCase_ == ValueOneofCase.BooleanValue) { hash ^= BooleanValue.GetHashCode(); } if (valueCase_ == ValueOneofCase.Int64Value) { hash ^= Int64Value.GetHashCode(); } if (valueCase_ == ValueOneofCase.FloatValue) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FloatValue); } if (valueCase_ == ValueOneofCase.DoubleValue) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DoubleValue); } if (valueCase_ == ValueOneofCase.StringValue) { hash ^= StringValue.GetHashCode(); } hash ^= (int)valueCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (valueCase_ == ValueOneofCase.LongValue) { hash ^= LongValue.GetHashCode(); } if (valueCase_ == ValueOneofCase.DoubleValue) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DoubleValue); } if (valueCase_ == ValueOneofCase.StringValue) { hash ^= StringValue.GetHashCode(); } hash ^= (int)valueCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (kindCase_ == KindOneofCase.StringValue) { hash ^= StringValue.GetHashCode(); } if (kindCase_ == KindOneofCase.FloatValue) { hash ^= FloatValue.GetHashCode(); } if (kindCase_ == KindOneofCase.DoubleValue) { hash ^= DoubleValue.GetHashCode(); } if (kindCase_ == KindOneofCase.IntValue) { hash ^= IntValue.GetHashCode(); } if (kindCase_ == KindOneofCase.UintValue) { hash ^= UintValue.GetHashCode(); } if (kindCase_ == KindOneofCase.SintValue) { hash ^= SintValue.GetHashCode(); } if (kindCase_ == KindOneofCase.BoolValue) { hash ^= BoolValue.GetHashCode(); } hash ^= (int)kindCase_; return(hash); }
public override int GetHashCode() { switch (Kind) { case JObjectKind.Array: return(ArrayValue.GetHashCode()); case JObjectKind.Boolean: return(BooleanValue.GetHashCode()); case JObjectKind.Null: return(0); case JObjectKind.Object: return(ObjectValue.GetHashCode()); case JObjectKind.String: return(StringValue.GetHashCode()); case JObjectKind.Number: if (IsFractional) { return(DoubleValue.GetHashCode()); } if (IsNegative) { return(LongValue.GetHashCode()); } return(ULongValue.GetHashCode()); } return(0); }
public override int GetHashCode() { unchecked { return(((StringValue != null ? StringValue.GetHashCode() : 0) * 397) ^ IntValue); } }
public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.stringValue) { hashcode = (hashcode * 397) + StringValue.GetHashCode(); } if (__isset.smallIntValue) { hashcode = (hashcode * 397) + SmallIntValue.GetHashCode(); } if (__isset.integerBitmask) { hashcode = (hashcode * 397) + IntegerBitmask.GetHashCode(); } if (__isset.integerFlag) { hashcode = (hashcode * 397) + IntegerFlag.GetHashCode(); } if (__isset.binaryValue) { hashcode = (hashcode * 397) + BinaryValue.GetHashCode(); } if (__isset.lenValue) { hashcode = (hashcode * 397) + LenValue.GetHashCode(); } } return(hashcode); }
public override int GetHashCode() { int hash = 1; if (kindCase_ == KindOneofCase.NullValue) { hash ^= NullValue.GetHashCode(); } if (kindCase_ == KindOneofCase.NumberValue) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(NumberValue); } if (kindCase_ == KindOneofCase.StringValue) { hash ^= StringValue.GetHashCode(); } if (kindCase_ == KindOneofCase.BoolValue) { hash ^= BoolValue.GetHashCode(); } if (kindCase_ == KindOneofCase.StructValue) { hash ^= StructValue.GetHashCode(); } if (kindCase_ == KindOneofCase.ListValue) { hash ^= ListValue.GetHashCode(); } hash ^= (int)kindCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { int hash = 17; hash = hash * 31 + (int)Type; hash = hash * 31 + StringValue == null ? 0 : StringValue.GetHashCode(); hash = hash * 31 + NumberValue.GetHashCode(); return(hash); } }
public override int GetHashCode() { unchecked { var result = TypeHashCode; result = (result * 397) ^ (StringValue?.GetHashCode() ?? 0); result = (result * 397) ^ (LongValue?.GetHashCode() ?? 0); result = (result * 397) ^ (Document?.GetHashCode() ?? 0); return(result); } }
public override int GetHashCode() { int hash = StartOffset.GetHashCode() ^ EndOffset.GetHashCode(); if (IsString) { return(hash ^ StringValue.GetHashCode()); } return(hash ^ ExtensionValue.GetHashCode()); }
public override int GetHashCode() { int hash = 1; if (valueTypeCase_ == ValueTypeOneofCase.NullValue) { hash ^= NullValue.GetHashCode(); } if (valueTypeCase_ == ValueTypeOneofCase.BooleanValue) { hash ^= BooleanValue.GetHashCode(); } if (valueTypeCase_ == ValueTypeOneofCase.IntegerValue) { hash ^= IntegerValue.GetHashCode(); } if (valueTypeCase_ == ValueTypeOneofCase.DoubleValue) { hash ^= DoubleValue.GetHashCode(); } if (valueTypeCase_ == ValueTypeOneofCase.TimestampValue) { hash ^= TimestampValue.GetHashCode(); } if (valueTypeCase_ == ValueTypeOneofCase.StringValue) { hash ^= StringValue.GetHashCode(); } if (valueTypeCase_ == ValueTypeOneofCase.BytesValue) { hash ^= BytesValue.GetHashCode(); } if (valueTypeCase_ == ValueTypeOneofCase.ReferenceValue) { hash ^= ReferenceValue.GetHashCode(); } if (valueTypeCase_ == ValueTypeOneofCase.GeoPointValue) { hash ^= GeoPointValue.GetHashCode(); } if (valueTypeCase_ == ValueTypeOneofCase.ArrayValue) { hash ^= ArrayValue.GetHashCode(); } if (valueTypeCase_ == ValueTypeOneofCase.MapValue) { hash ^= MapValue.GetHashCode(); } hash ^= (int)valueTypeCase_; return(hash); }
public override int GetHashCode() { int hash = 1; if (column_ != null) { hash ^= Column.GetHashCode(); } if (NegateComparator != false) { hash ^= NegateComparator.GetHashCode(); } if (Comparator != global::LukeKennedy.LSQL.Net.Comparator.UnknownComparator) { hash ^= Comparator.GetHashCode(); } if (valueCase_ == ValueOneofCase.StringValue) { hash ^= StringValue.GetHashCode(); } if (valueCase_ == ValueOneofCase.Int64Value) { hash ^= Int64Value.GetHashCode(); } if (valueCase_ == ValueOneofCase.Uint64Value) { hash ^= Uint64Value.GetHashCode(); } if (valueCase_ == ValueOneofCase.DoubleValue) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DoubleValue); } if (valueCase_ == ValueOneofCase.BoolValue) { hash ^= BoolValue.GetHashCode(); } if (valueCase_ == ValueOneofCase.BytesValue) { hash ^= BytesValue.GetHashCode(); } if (valueCase_ == ValueOneofCase.TimeValue) { hash ^= TimeValue.GetHashCode(); } hash ^= (int)valueCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (oneofCase_ == OneofOneofCase.Int32Value) { hash ^= Int32Value.GetHashCode(); } if (oneofCase_ == OneofOneofCase.StringValue) { hash ^= StringValue.GetHashCode(); } hash ^= (int)oneofCase_; return(hash); }
public override int GetHashCode() { int hash = 1; if (Type != 0) { hash ^= Type.GetHashCode(); } if (valueCase_ == ValueOneofCase.IntValue) { hash ^= IntValue.GetHashCode(); } if (valueCase_ == ValueOneofCase.LongIntValue) { hash ^= LongIntValue.GetHashCode(); } if (valueCase_ == ValueOneofCase.BoolValue) { hash ^= BoolValue.GetHashCode(); } if (valueCase_ == ValueOneofCase.StringValue) { hash ^= StringValue.GetHashCode(); } if (valueCase_ == ValueOneofCase.BytesValue) { hash ^= BytesValue.GetHashCode(); } if (valueCase_ == ValueOneofCase.FloatValue) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FloatValue); } if (valueCase_ == ValueOneofCase.DoubleValue) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DoubleValue); } if (ObjectTypeId != 0) { hash ^= ObjectTypeId.GetHashCode(); } hash ^= (int)valueCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (HasBoolValue) { hash ^= BoolValue.GetHashCode(); } if (HasIntValue) { hash ^= IntValue.GetHashCode(); } if (HasFloatValue) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FloatValue); } if (HasStringValue) { hash ^= StringValue.GetHashCode(); } if (HasBlobValue) { hash ^= BlobValue.GetHashCode(); } if (HasMessageValue) { hash ^= MessageValue.GetHashCode(); } if (HasFourccValue) { hash ^= FourccValue.GetHashCode(); } if (HasUintValue) { hash ^= UintValue.GetHashCode(); } if (HasEntityIdValue) { hash ^= EntityIdValue.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hashCode = 1910658984; if (Name != null) { hashCode += Name.GetHashCode(); } if (StringValue != null) { hashCode += StringValue.GetHashCode(); } if (CustomAttributeDefinitionId != null) { hashCode += CustomAttributeDefinitionId.GetHashCode(); } if (Type != null) { hashCode += Type.GetHashCode(); } if (NumberValue != null) { hashCode += NumberValue.GetHashCode(); } if (BooleanValue != null) { hashCode += BooleanValue.GetHashCode(); } if (SelectionUidValues != null) { hashCode += SelectionUidValues.GetHashCode(); } if (Key != null) { hashCode += Key.GetHashCode(); } return(hashCode); }
public override int GetHashCode() { unchecked { var result = GuidValue.GetHashCode(); result = (result * 397) ^ (StringValue != null ? StringValue.GetHashCode() : 0); result = (result * 397) ^ IntValue; result = (result * 397) ^ LongValue.GetHashCode(); result = (result * 397) ^ BoolValue.GetHashCode(); result = (result * 397) ^ ByteValue.GetHashCode(); result = (result * 397) ^ DecimalValue.GetHashCode(); result = (result * 397) ^ DoubleValue.GetHashCode(); result = (result * 397) ^ DateTimeValue.GetHashCode(); result = (result * 397) ^ MaybeMoney.GetHashCode(); return(result); } }
public override int GetHashCode() { unchecked { var hash = 17; hash += 23 * StorageType.GetHashCode(); hash += 23 * DataType.GetHashCode(); if (IsNumeric) { hash += 23 * NumericValue.GetHashCode(); } else { hash += 23 * StringValue.GetHashCode(); } return(hash); } }
public override int GetHashCode() { int hash = 1; if (EventId != 0UL) { hash ^= EventId.GetHashCode(); } if (EventType != 0) { hash ^= EventType.GetHashCode(); } if (valueTypeCase_ == ValueTypeOneofCase.LongValue) { hash ^= LongValue.GetHashCode(); } if (valueTypeCase_ == ValueTypeOneofCase.DoubleValue) { hash ^= DoubleValue.GetHashCode(); } if (valueTypeCase_ == ValueTypeOneofCase.SkeletonValue) { hash ^= SkeletonValue.GetHashCode(); } if (valueTypeCase_ == ValueTypeOneofCase.ObjectValue) { hash ^= ObjectValue.GetHashCode(); } if (valueTypeCase_ == ValueTypeOneofCase.StringValue) { hash ^= StringValue.GetHashCode(); } if (valueTypeCase_ == ValueTypeOneofCase.CustomValue) { hash ^= CustomValue.GetHashCode(); } if (appTypeCase_ == AppTypeOneofCase.AppId) { hash ^= AppId.GetHashCode(); } hash ^= (int)valueTypeCase_; hash ^= (int)appTypeCase_; return(hash); }
public override int GetHashCode() { int hash = 1; if (Type != 0) { hash ^= Type.GetHashCode(); } if (valueCase_ == ValueOneofCase.Int32Value) { hash ^= Int32Value.GetHashCode(); } if (valueCase_ == ValueOneofCase.Int64Value) { hash ^= Int64Value.GetHashCode(); } if (valueCase_ == ValueOneofCase.FloatValue) { hash ^= FloatValue.GetHashCode(); } if (valueCase_ == ValueOneofCase.DoubleValue) { hash ^= DoubleValue.GetHashCode(); } if (valueCase_ == ValueOneofCase.BooleanValue) { hash ^= BooleanValue.GetHashCode(); } if (valueCase_ == ValueOneofCase.StringValue) { hash ^= StringValue.GetHashCode(); } if (valueCase_ == ValueOneofCase.BytesValue) { hash ^= BytesValue.GetHashCode(); } if (valueCase_ == ValueOneofCase.MetaValue) { hash ^= MetaValue.GetHashCode(); } hash ^= (int)valueCase_; return(hash); }
public override int GetHashCode() { int hash = 1; if (BoolValue != false) { hash ^= BoolValue.GetHashCode(); } if (IntValue != 0L) { hash ^= IntValue.GetHashCode(); } if (FloatValue != 0D) { hash ^= FloatValue.GetHashCode(); } if (StringValue.Length != 0) { hash ^= StringValue.GetHashCode(); } if (BlobValue.Length != 0) { hash ^= BlobValue.GetHashCode(); } if (MessageValue.Length != 0) { hash ^= MessageValue.GetHashCode(); } if (FourccValue.Length != 0) { hash ^= FourccValue.GetHashCode(); } if (UintValue != 0UL) { hash ^= UintValue.GetHashCode(); } if (entityIdValue_ != null) { hash ^= EntityIdValue.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hashCode = 0; if (this.GetType() == typeof(LongPropertyValue)) { hashCode = LongValue.GetHashCode(); } else if (this.GetType() == typeof(LongPropertyValues)) { foreach (long longValue in LongValues) { hashCode += longValue.GetHashCode(); } } else if (this.GetType() == typeof(FloatPropertyValue)) { hashCode = FloatValue.GetHashCode(); } else if (this.GetType() == typeof(StringPropertyValue)) { hashCode = StringValue.GetHashCode(); } else if (this.GetType() == typeof(FloatPropertyValues)) { foreach (float floatValue in FloatValues) { hashCode += floatValue.GetHashCode(); } } else if (this.GetType() == typeof(StringPropertyValues)) { foreach (String stringValue in StringValues) { hashCode += stringValue.GetHashCode(); } } return(hashCode); }
public override int GetHashCode() { int hash = 1; hash ^= Labels.GetHashCode(); if (startTime_ != null) { hash ^= StartTime.GetHashCode(); } if (endTime_ != null) { hash ^= EndTime.GetHashCode(); } if (valueCase_ == ValueOneofCase.BoolValue) { hash ^= BoolValue.GetHashCode(); } if (valueCase_ == ValueOneofCase.Int64Value) { hash ^= Int64Value.GetHashCode(); } if (valueCase_ == ValueOneofCase.DoubleValue) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DoubleValue); } if (valueCase_ == ValueOneofCase.StringValue) { hash ^= StringValue.GetHashCode(); } if (valueCase_ == ValueOneofCase.DistributionValue) { hash ^= DistributionValue.GetHashCode(); } hash ^= (int)valueCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Type != 0) { hash ^= Type.GetHashCode(); } if (TypeName.Length != 0) { hash ^= TypeName.GetHashCode(); } if (oneofValueCase_ == OneofValueOneofCase.BoolValue) { hash ^= BoolValue.GetHashCode(); } if (oneofValueCase_ == OneofValueOneofCase.IntValue) { hash ^= IntValue.GetHashCode(); } if (oneofValueCase_ == OneofValueOneofCase.DoubleValue) { hash ^= DoubleValue.GetHashCode(); } if (oneofValueCase_ == OneofValueOneofCase.StringValue) { hash ^= StringValue.GetHashCode(); } if (ProtoDesc.Length != 0) { hash ^= ProtoDesc.GetHashCode(); } hash ^= (int)oneofValueCase_; return(hash); }
public override int GetHashCode() { int hash = 1; if (feedAttributeId_ != null) { hash ^= FeedAttributeId.GetHashCode(); } if (integerValue_ != null) { hash ^= IntegerValue.GetHashCode(); } if (booleanValue_ != null) { hash ^= BooleanValue.GetHashCode(); } if (stringValue_ != null) { hash ^= StringValue.GetHashCode(); } if (doubleValue_ != null) { hash ^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(DoubleValue); } if (priceValue_ != null) { hash ^= PriceValue.GetHashCode(); } hash ^= integerValues_.GetHashCode(); hash ^= booleanValues_.GetHashCode(); hash ^= stringValues_.GetHashCode(); hash ^= doubleValues_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (StringValue.Length != 0) { hash ^= StringValue.GetHashCode(); } if (FloatValue != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FloatValue); } if (DoubleValue != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DoubleValue); } if (IntValue != 0L) { hash ^= IntValue.GetHashCode(); } if (UintValue != 0UL) { hash ^= UintValue.GetHashCode(); } if (SintValue != 0L) { hash ^= SintValue.GetHashCode(); } if (BoolValue != false) { hash ^= BoolValue.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (valueCase_ == ValueOneofCase.LongValue) { hash ^= LongValue.GetHashCode(); } if (valueCase_ == ValueOneofCase.DoubleValue) { hash ^= DoubleValue.GetHashCode(); } if (valueCase_ == ValueOneofCase.StringValue) { hash ^= StringValue.GetHashCode(); } hash ^= (int)valueCase_; return(hash); }
public override int GetHashCode() { int hash = 1; if (BaseName.Length != 0) { hash ^= BaseName.GetHashCode(); } if (BaseTime != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(BaseTime); } if (BaseUnit.Length != 0) { hash ^= BaseUnit.GetHashCode(); } if (BaseVersion != 0) { hash ^= BaseVersion.GetHashCode(); } if (baseValueOptionalCase_ == BaseValueOptionalOneofCase.BaseValue) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(BaseValue); } if (baseSumOptionalCase_ == BaseSumOptionalOneofCase.BaseSum) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(BaseSum); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Unit.Length != 0) { hash ^= Unit.GetHashCode(); } if (Time != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Time); } if (UpdateTime != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(UpdateTime); } if (valueOneofCase_ == ValueOneofOneofCase.Value) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Value); } if (valueOneofCase_ == ValueOneofOneofCase.StringValue) { hash ^= StringValue.GetHashCode(); } if (valueOneofCase_ == ValueOneofOneofCase.DataValue) { hash ^= DataValue.GetHashCode(); } if (valueOneofCase_ == ValueOneofOneofCase.BoolValue) { hash ^= BoolValue.GetHashCode(); } if (sumOptionalCase_ == SumOptionalOneofCase.Sum) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Sum); } hash ^= (int)baseValueOptionalCase_; hash ^= (int)baseSumOptionalCase_; hash ^= (int)valueOneofCase_; hash ^= (int)sumOptionalCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { return(Symbol.GetHashCode() & StringValue.GetHashCode()); }