CachingLookupTests.cs (7)
43keys.Add(GetKey(n, randomCase));
65where string.Equals(GetKey(n, ignoreCase), key, ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal)
73return numbers.ToLookup(n => GetKey(n, randomCase), StringComparer.OrdinalIgnoreCase);
77return numbers.ToLookup(n => GetKey(n, randomCase), StringComparer.Ordinal);
272string key1 = GetKey(numbers[0], false);
273string key2 = GetKey(numbers[1], false);
274string key3 = GetKey(numbers[2], false);