public TypeOptionTree(IEnumerable <Type> types) : this() { Ensure.That(nameof(types)).IsNotNull(types); this.types = types.ToHashSet(); }