private TreeDictionary <TKey, TValue, DefaultComparer <TKey> > CreateDictionary <TKey, TValue>( TKey[] keys, TValue[] values) where TKey : struct { PexAssume.IsNotNull(keys); PexAssume.IsNotNull(values); PexAssume.AreEqual(keys.Length, values.Length); PexAssume.AreDistinctValues(keys); return(TreeDictionary.Empty <TKey, TValue>().AddAll(keys.Zip(values))); }