2 writes to _array
System.Drawing.Common (2)
System\Drawing\Printing\PrinterSettings.PaperSizeCollection.cs (2)
21
public PaperSizeCollection(PaperSize[] array) =>
_array
= array;
53
_array
= newArray;
7 references to _array
System.Drawing.Common (7)
System\Drawing\Printing\PrinterSettings.PaperSizeCollection.cs (7)
26
public int Count =>
_array
.Length;
31
public virtual PaperSize this[int index] =>
_array
[index];
33
public IEnumerator GetEnumerator() => new ArrayEnumerator(
_array
, Count);
41
void ICollection.CopyTo(Array array, int index) => Array.Copy(
_array
, index, array, 0,
_array
.Length);
43
public void CopyTo(PaperSize[] paperSizes, int index) => Array.Copy(
_array
, index, paperSizes, 0,
_array
.Length);