1 write to dict
mscorlib (1)
system\collections\objectmodel\keyedcollection.cs (1)
219
dict
= new Dictionary<TKey,TItem>(comparer);
20 references to dict
mscorlib (20)
system\collections\objectmodel\keyedcollection.cs (20)
63
if (
dict
!= null) {
64
return
dict
[key];
81
if (
dict
!= null) {
82
return
dict
.ContainsKey(key);
95
if( (
dict
== null) || ((key = GetKeyForItem(item)) == null)) {
100
bool exist =
dict
.TryGetValue(key, out itemInDict);
112
if (
dict
!= null) {
113
if (
dict
.ContainsKey(key)) {
114
return Remove(
dict
[key]);
132
get { return
dict
; }
155
if (
dict
!= null) {
156
dict
.Clear();
185
if (newKey != null &&
dict
!= null) {
186
dict
[newKey] = item;
202
if (
dict
!= null) {
203
dict
.Add(key, item);
207
dict
.Add(key, item);
223
dict
.Add(key, item);
230
if (
dict
!= null) {
231
dict
.Remove(key);