/// <summary> /// Serves as a hash function for a particular type. /// </summary> /// <returns> /// A hash code for the current <see cref = "T:System.Object" />. /// </returns> /// <filterpriority>2</filterpriority> public override int GetHashCode() { unchecked { int result = (mEnvironmentVariables != null ? mEnvironmentVariables.GetHashCode() : 0); result = (result * 397) ^ (mGroups != null ? mGroups.GetHashCode() : 0); result = (result * 397) ^ (mLaunchers != null ? mLaunchers.GetHashCode() : 0); result = (result * 397) ^ (mName != null ? mName.GetHashCode() : 0); return(result); } }
/// <summary> /// Serves as a hash function for a particular type. /// </summary> /// <returns> /// A hash code for the current <see cref = "T:System.Object" />. /// </returns> /// <filterpriority>2</filterpriority> public override int GetHashCode() { unchecked { int result = (mEnvironmentVariables != null ? mEnvironmentVariables.GetHashCode() : 0); result = (result * 397) ^ (mArguments != null ? mArguments.GetHashCode() : 0); result = (result * 397) ^ (mFile != null ? mFile.GetHashCode() : 0); result = (result * 397) ^ (mName != null ? mName.GetHashCode() : 0); result = (result * 397) ^ (mWorkingDirectory != null ? mWorkingDirectory.GetHashCode() : 0); return(result); } }