2 writes to IdentityDictionary
System.Data.Entity (2)
System\Data\Metadata\Edm\MetadataCollection.cs (2)
345
collectionData.
IdentityDictionary
= new Dictionary<string, OrderedIndex>(collectionData.OrderedList.Count + 1, StringComparer.OrdinalIgnoreCase);
706
this.
IdentityDictionary
= new Dictionary<string, OrderedIndex>(this.OrderedList.Capacity, StringComparer.OrdinalIgnoreCase);
9 references to IdentityDictionary
System.Data.Entity (9)
System\Data\Metadata\Edm\MetadataCollection.cs (9)
220
Debug.Assert(collectionData != null && collectionData.
IdentityDictionary
!= null, "the identity dictionary is null");
227
if (collectionData.
IdentityDictionary
.TryGetValue(identity, out orderIndex))
270
collectionData.
IdentityDictionary
[identity] = new OrderedIndex(exactIndex, inexact);
323
if (null != collectionData.
IdentityDictionary
)
484
if (null != collectionData.
IdentityDictionary
)
487
if (collectionData.
IdentityDictionary
.TryGetValue(identity, out orderIndex))
708
if (null != original.
IdentityDictionary
)
710
foreach (KeyValuePair<string, OrderedIndex> pair in original.
IdentityDictionary
)
712
this.
IdentityDictionary
.Add(pair.Key, pair.Value);