public override int GetHashCode() { unchecked { int hashCode = (File != null ? File.GetHashCode() : 0); hashCode = (hashCode * 397) ^ ParsedSuccessfully.GetHashCode(); hashCode = (hashCode * 397) ^ LastWriteTime.GetHashCode(); hashCode = (hashCode * 397) ^ (BaseDirectory != null ? BaseDirectory.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Types != null ? Types.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Includes != null ? Includes.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { var hashCode = 1927817751; hashCode = hashCode * -1521134295 + IsDefault.GetHashCode(); hashCode = hashCode * -1521134295 + ParsedSuccessfully.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Name); hashCode = hashCode * -1521134295 + EqualityComparer <Settings> .Default.GetHashCode(Settings); hashCode = hashCode * -1521134295 + EqualityComparer <IEnumerable <SqlMapDefinition> > .Default.GetHashCode(Maps); return(hashCode); }