public override int GetHashCode()

in src/PSRule.Rules.Azure/Configuration/ConfigurationOption.cs [93:111]


    public override int GetHashCode()
    {
        unchecked // Overflow is fine
        {
            var hash = 17;
            hash = hash * 23 + (Subscription != null ? Subscription.GetHashCode() : 0);
            hash = hash * 23 + (ResourceGroup != null ? ResourceGroup.GetHashCode() : 0);
            hash = hash * 23 + (Tenant != null ? Tenant.GetHashCode() : 0);
            hash = hash * 23 + (ManagementGroup != null ? ManagementGroup.GetHashCode() : 0);
            hash = hash * 23 + (ParameterDefaults != null ? ParameterDefaults.GetHashCode() : 0);
            hash = hash * 23 + (Deployment != null ? Deployment.GetHashCode() : 0);
            hash = hash * 23 + (Deployer != null ? Deployer.GetHashCode() : 0);
            hash = hash * 23 + (PolicyIgnoreList != null ? PolicyIgnoreList.GetHashCode() : 0);
            hash = hash * 23 + (PolicyRulePrefix != null ? PolicyRulePrefix.GetHashCode() : 0);
            hash = hash * 23 + (BicepMinimumVersion != null ? BicepMinimumVersion.GetHashCode() : 0);
            hash = hash * 23 + (BicepFileExpansionTimeout != null ? BicepFileExpansionTimeout.GetHashCode() : 0);
            return hash;
        }
    }