1 write to _list
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (1)
713
_list
= list;
48 references to _list
System.Private.CoreLib (48)
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (48)
719
get =>
_list
.Count;
726
public override int Count =>
_list
.Count;
728
public override bool IsReadOnly =>
_list
.IsReadOnly;
730
public override bool IsFixedSize =>
_list
.IsFixedSize;
733
public override bool IsSynchronized =>
_list
.IsSynchronized;
737
get =>
_list
[index];
740
_list
[index] = value;
745
public override object SyncRoot =>
_list
.SyncRoot;
749
int i =
_list
.Add(obj);
775
int r = comparer.Compare(value,
_list
[mid]);
792
if (
_list
.IsFixedSize)
797
_list
.Clear();
805
return new IListWrapper(
_list
);
810
return
_list
.Contains(obj);
815
_list
.CopyTo(array, index);
830
if (
_list
.Count - index < count)
834
array.SetValue(
_list
[i], arrayIndex++);
839
return
_list
.GetEnumerator();
847
if (
_list
.Count - index < count)
855
return
_list
.IndexOf(value);
860
return IndexOf(value, startIndex,
_list
.Count - startIndex);
872
if (
_list
[i] == null)
879
if (
_list
[i] is object o && o.Equals(value))
887
_list
.Insert(index, obj);
899
if (
_list
is ArrayList al)
911
_list
.Insert(index++, en.Current);
920
return LastIndexOf(value,
_list
.Count - 1,
_list
.Count);
930
if (
_list
.Count == 0)
933
if (startIndex < 0 || startIndex >=
_list
.Count) throw new ArgumentOutOfRangeException(nameof(startIndex), SR.ArgumentOutOfRange_IndexMustBeLess);
940
if (
_list
[i] == null)
947
if (
_list
[i] is object o && o.Equals(value))
962
_list
.RemoveAt(index);
971
if (
_list
.Count - index < count)
979
_list
.RemoveAt(index);
989
if (
_list
.Count - index < count)
996
object? tmp =
_list
[i];
997
_list
[i++] =
_list
[j];
998
_list
[j--] = tmp;
1007
if (index < 0 || index >
_list
.Count - c.Count)
1017
_list
[index++] = en.Current;
1027
if (
_list
.Count - index < count)
1036
if (
_list
.Count - index < count)
1043
_list
[i + index] = array[i];
1055
_list
.CopyTo(array, 0);
1064
Array array = Array.CreateInstance(type,
_list
.Count);
1065
_list
.CopyTo(array, 0);