3 writes to elements
System.Core (3)
System\Linq\Enumerable.cs (3)
2242
if (g.count != g.elements.Length) { Array.Resize<TElement>(ref g.
elements
, g.count); }
2268
g.
elements
= new TElement[1];
2308
if (elements.Length == count) Array.Resize(ref
elements
, checked(count * 2));
10 references to elements
System.Core (10)
System\Linq\Enumerable.cs (10)
701
yield return resultSelector(item, g.
elements
[i]);
2242
if (g.count != g.
elements
.Length) { Array.Resize<TElement>(ref g.elements, g.count); }
2243
yield return resultSelector(g.key, g.
elements
);
2308
if (
elements
.Length == count) Array.Resize(ref elements, checked(count * 2));
2309
elements
[count] = element;
2314
for (int i = 0; i < count; i++) yield return
elements
[i];
2344
return Array.IndexOf(
elements
, item, 0, count) >= 0;
2348
Array.Copy(
elements
, 0, array, arrayIndex, count);
2356
return Array.IndexOf(
elements
, item, 0, count);
2370
return
elements
[index];