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