It's verifying that these inner instances have the same outer instance; they are not equal if that's not the case. Making the inner class static would avoid this but then we'd have to copy the registry key into every instance.