1 write to m_elements
System.Data.Entity (1)
System\Data\Common\Utils\ModifiableIteratorCollection.cs (1)
32
m_elements
= new List<TElement>(elements);
11 references to m_elements
System.Data.Entity (11)
System\Data\Common\Utils\ModifiableIteratorCollection.cs (11)
49
return
m_elements
.Count == 0;
60
return Remove(
m_elements
.Count - 1);
98
while (m_currentIteratorIndex <
m_elements
.Count) {
99
yield return
m_elements
[m_currentIteratorIndex];
105
StringUtil.ToCommaSeparatedString(builder,
m_elements
);
113
Debug.Assert(index <
m_elements
.Count, "Removing an entry with too high an index");
115
TElement element =
m_elements
[index];
116
int lastIndex =
m_elements
.Count - 1;
117
m_elements
[index] =
m_elements
[lastIndex];
118
m_elements
.RemoveAt(lastIndex);