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);
        }
예제 #2
0
 // override object.GetHashCode
 public override int GetHashCode()
 => RegionName.GetHashCode(StringComparison.InvariantCultureIgnoreCase) ^
 Identifier.GetHashCode(StringComparison.InvariantCultureIgnoreCase) ^
 834678;