12 references to ReadDictionary
Microsoft.AspNetCore.Shared.Tests (12)
CopyOnWriteDictionaryHolderTest.cs (3)
36
Assert.Same(source, holder.
ReadDictionary
);
61
Assert.NotSame(source, holder.
ReadDictionary
);
88
Assert.NotSame(source, holder.
ReadDictionary
);
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (9)
76
return
ReadDictionary
.Keys;
84
return
ReadDictionary
.Values;
92
return
ReadDictionary
.Count;
108
return
ReadDictionary
[key];
118
return
ReadDictionary
.ContainsKey(key);
133
return
ReadDictionary
.TryGetValue(key, out value);
148
return ((ICollection<KeyValuePair<TKey, TValue>>)
ReadDictionary
).Contains(item);
153
((ICollection<KeyValuePair<TKey, TValue>>)
ReadDictionary
).CopyTo(array, arrayIndex);
163
return
ReadDictionary
.GetEnumerator();