public override int GetHashCode() { int hashCompanyName = CompanyName == null ? 0 : CompanyName.GetHashCode(); int hashRegionName = RegionName == null ? 0 : RegionName.GetHashCode(); int hashSiteName = SiteName == null ? 0 : SiteName.GetHashCode(); return(hashCompanyName ^ hashRegionName ^ hashSiteName); }
// override object.GetHashCode public override int GetHashCode() => RegionName.GetHashCode(StringComparison.InvariantCultureIgnoreCase) ^ Identifier.GetHashCode(StringComparison.InvariantCultureIgnoreCase) ^ 834678;