internal int ComputeHashCode() { unchecked { int localHashCode = SemanticName.GetHashCode(); localHashCode = (localHashCode * 397) ^ SemanticIndex; localHashCode = (localHashCode * 397) ^ Format.GetHashCode(); localHashCode = (localHashCode * 397) ^ AlignedByteOffset; return(localHashCode); } }
/// <inheritdoc/> public override int GetHashCode() { unchecked { int result = SemanticName.GetHashCode(); result = (result * 397) ^ SemanticIndex.GetHashCode(); result = (result * 397) ^ Format.GetHashCode(); result = (result * 397) ^ Slot.GetHashCode(); result = (result * 397) ^ AlignedByteOffset.GetHashCode(); return(result); } }
/// <inheritdoc/> public override int GetHashCode() { unchecked { var hashCode = SemanticName?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ SemanticIndex.GetHashCode(); hashCode = (hashCode * 397) ^ Format.GetHashCode(); hashCode = (hashCode * 397) ^ Slot.GetHashCode(); hashCode = (hashCode * 397) ^ AlignedByteOffset.GetHashCode(); return(hashCode); } }
/// <inheritdoc/> public override int GetHashCode() { unchecked { int result = SemanticName.GetHashCode(); result = (result * 397) ^ SemanticIndex.GetHashCode(); result = (result * 397) ^ Format.GetHashCode(); result = (result * 397) ^ Slot.GetHashCode(); result = (result * 397) ^ AlignedByteOffset.GetHashCode(); result = (result * 397) ^ Classification.GetHashCode(); result = (result * 397) ^ InstanceDataStepRate.GetHashCode(); return(result); } }
/// <inheritdoc/> public override int GetHashCode() { unchecked { var hashCode = SemanticName?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ SemanticIndex.GetHashCode(); hashCode = (hashCode * 397) ^ Format.GetHashCode(); hashCode = (hashCode * 397) ^ Slot.GetHashCode(); hashCode = (hashCode * 397) ^ AlignedByteOffset.GetHashCode(); hashCode = (hashCode * 397) ^ Classification.GetHashCode(); hashCode = (hashCode * 397) ^ InstanceDataStepRate.GetHashCode(); return(hashCode); } }