4 writes to _itemsSource
Microsoft.Maui.Controls (4)
Handlers\Items\iOS\ListSource.cs (4)
15
_itemsSource
= new List<object>();
20
_itemsSource
= list;
25
_itemsSource
= new List<object>(enumerable);
30
_itemsSource
= new List<object>();
22 references to _itemsSource
Microsoft.Maui.Controls (22)
Handlers\Items\iOS\ListSource.cs (22)
37
_itemsSource
.Add(item);
55
return
_itemsSource
[(int)indexPath.Item];
61
public int ItemCount =>
_itemsSource
.Count;
63
public int Count =>
_itemsSource
.Count;
65
public bool IsReadOnly =>
_itemsSource
.IsReadOnly;
67
public bool IsFixedSize =>
_itemsSource
.IsFixedSize;
69
public object SyncRoot =>
_itemsSource
.SyncRoot;
71
public bool IsSynchronized =>
_itemsSource
.IsSynchronized;
73
object IList.this[int index] { get =>
_itemsSource
[index]; set =>
_itemsSource
[index] = value; }
77
for (int n = 0; n <
_itemsSource
.Count; n++)
79
if (Equals(
_itemsSource
[n], item))
105
return
_itemsSource
.Count;
110
return
_itemsSource
.Add(value);
115
return
_itemsSource
.Contains(value);
120
_itemsSource
.Clear();
125
return
_itemsSource
.IndexOf(value);
130
_itemsSource
.Insert(index, value);
135
_itemsSource
.Remove(value);
140
_itemsSource
.RemoveAt(index);
145
_itemsSource
.CopyTo(array, index);
150
return
_itemsSource
.GetEnumerator();