// methods
private void CalculateHashCode()
{
//
// default is case-sensitive hash-code generation because for DNS
// names, IPv6 and IPv4 addresses, we have already canonicalized
// the string, including converting to a standard case
//
if (Name.Length > 0)
{
m_HashCode = Uri.CalculateCaseInsensitiveHashCode(Name);
}
}