2 writes to OrderedList
System.Data.Entity (2)
System\Data\Metadata\Edm\MetadataCollection.cs (2)
693
OrderedList
= new List<T>();
698
this.
OrderedList
= new List<T>(original.OrderedList.Count + additionalCapacity);
33 references to OrderedList
System.Data.Entity (33)
System\Data\Metadata\Edm\MetadataCollection.cs (33)
113
return _collectionData.
OrderedList
.AsReadOnly();
133
return _collectionData.
OrderedList
.Count;
148
return _collectionData.
OrderedList
[index];
230
if (EqualIdentity(collectionData.
OrderedList
, orderIndex.ExactIndex, identity))
245
if (EqualIdentity(collectionData.
OrderedList
, orderIndex.InexactIndexes[i], identity))
322
int listCount = collectionData.
OrderedList
.Count;
345
collectionData.IdentityDictionary = new Dictionary<string, OrderedIndex>(collectionData.
OrderedList
.Count + 1, StringComparer.OrdinalIgnoreCase);
346
for (int i = 0; i < collectionData.
OrderedList
.Count; ++i)
348
AddToDictionary(collectionData, collectionData.
OrderedList
[i].Identity, i, false);
359
collectionData.
OrderedList
[index] = item;
364
collectionData.
OrderedList
.Add(item);
494
else if (EqualIdentity(collectionData.
OrderedList
, orderIndex.ExactIndex, identity))
509
if (EqualIdentity(collectionData.
OrderedList
, orderIndex.InexactIndexes[i], identity))
520
for(int i = 0; i < collectionData.
OrderedList
.Count; ++i)
522
if (String.Equals(collectionData.
OrderedList
[i].Identity, identity, StringComparison.OrdinalIgnoreCase))
534
for (int i = 0; i < collectionData.
OrderedList
.Count; ++i)
536
if (EqualIdentity(collectionData.
OrderedList
, i, identity))
557
if (index != -1 && _collectionData.
OrderedList
[index] == item)
582
if (_collectionData.
OrderedList
.Count > array.Length - arrayIndex)
587
_collectionData.
OrderedList
.CopyTo(array, arrayIndex);
622
for (int i = 0; i < _collectionData.
OrderedList
.Count; i++)
624
_collectionData.
OrderedList
[i].SetReadOnly();
626
_collectionData.
OrderedList
.TrimExcess();
655
(ignoreCase && String.Equals(_collectionData.
OrderedList
[index].Identity, identity, StringComparison.OrdinalIgnoreCase)) ||
656
EqualIdentity(_collectionData.
OrderedList
, index, identity), "different exact identity");
657
return (0 <= index) ? _collectionData.
OrderedList
[index] : null;
698
this.OrderedList = new List<T>(original.
OrderedList
.Count + additionalCapacity);
699
foreach (T item in original.
OrderedList
)
701
this.
OrderedList
.Add(item);
704
if (UseSortedListCrossover <= this.
OrderedList
.Capacity)
706
this.IdentityDictionary = new Dictionary<string, OrderedIndex>(this.
OrderedList
.Capacity, StringComparer.OrdinalIgnoreCase);
717
for (int i = 0; i < this.
OrderedList
.Count; ++i)
719
AddToDictionary(this, this.
OrderedList
[i].Identity, i, false);