public override int GetHashCode() { unchecked { var hashCode = Pattern.GetHashCode(); hashCode = (hashCode * 397) ^ DateTimeFormat.GetHashCode(); hashCode = (hashCode * 397) ^ GuidFormat.GetHashCode(); hashCode = (hashCode * 397) ^ SupportFormats.GetHashCode(); return(hashCode); } }
/// <summary> /// GetHashCode() /// </summary> /// <returns></returns> public override int GetHashCode() { unchecked { int hashCode = (Folder != null ? Folder.GetHashCode() : 0); hashCode = (hashCode * 397) ^ DateTimeFormat.GetHashCode(); hashCode = (hashCode * 397) ^ IsWritingEachTabEnabled.GetHashCode(); hashCode = (hashCode * 397) ^ IsWritingToFileEnabled.GetHashCode(); hashCode = (hashCode * 397) ^ InfoBrush.ToString().GetHashCode(); hashCode = (hashCode * 397) ^ ErrorBrush.ToString().GetHashCode(); hashCode = (hashCode * 397) ^ CriticalErrorBrush.ToString().GetHashCode(); hashCode = (hashCode * 397) ^ SuccessBrush.ToString().GetHashCode(); hashCode = (hashCode * 397) ^ CodeFlowBrush.ToString().GetHashCode(); hashCode = (hashCode * 397) ^ DefaultBrush.ToString().GetHashCode(); hashCode = (hashCode * 397) ^ DebugBrush.ToString().GetHashCode(); hashCode = (hashCode * 397) ^ CustomBrush.ToString().GetHashCode(); return(hashCode); } }