Lines Matching refs:TValue
55 public static TValue get<TKey, TValue>(IDictionary<TKey, TValue> map, TKey key) { in get()
56 TValue value; in get()
60 if (typeof(TValue).IsValueType) in get()
63 return default(TValue); in get()
67 public static TValue get<TKey, TValue>(Dictionary<TKey, TValue> map, TKey key) { in get()
68 TValue value; in get()
72 if (typeof(TValue).IsValueType) in get()
75 return default(TValue); in get()
78 public static TValue get<TKey, TValue>(SortedList<TKey, TValue> map, TKey key) { in get()
79 TValue value; in get()
83 if (typeof(TValue).IsValueType) in get()
86 return default(TValue); in get()
96 … public static void put<TKey, TValue>(IDictionary<TKey, TValue> map, TKey key, TValue value) { in put()
101 public static void put<TKey, TValue>(Dictionary<TKey, TValue> map, TKey key, TValue value) { in put()
111 public static HashSet<TKey> keySet<TKey, TValue>(IDictionary<TKey, TValue> map) { in keySet()
117 public static HashSet<TKey> keySet<TKey, TValue>(Dictionary<TKey, TValue> map) { in keySet()
122 public static HashSet<object> keySet<TKey, TValue>(SortedList<TKey, TValue> map) { in keySet()