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);
774
int r = comparer.Compare(value,
_list
[mid]);
791
if (
_list
.IsFixedSize)
796
_list
.Clear();
804
return new IListWrapper(
_list
);
809
return
_list
.Contains(obj);
814
_list
.CopyTo(array, index);
829
if (
_list
.Count - index < count)
833
array.SetValue(
_list
[i], arrayIndex++);
838
return
_list
.GetEnumerator();
846
if (
_list
.Count - index < count)
854
return
_list
.IndexOf(value);
859
return IndexOf(value, startIndex,
_list
.Count - startIndex);
871
if (
_list
[i] == null)
878
if (
_list
[i] is object o && o.Equals(value))
886
_list
.Insert(index, obj);
898
if (
_list
is ArrayList al)
910
_list
.Insert(index++, en.Current);
919
return LastIndexOf(value,
_list
.Count - 1,
_list
.Count);
929
if (
_list
.Count == 0)
932
if (startIndex < 0 || startIndex >=
_list
.Count) throw new ArgumentOutOfRangeException(nameof(startIndex), SR.ArgumentOutOfRange_IndexMustBeLess);
939
if (
_list
[i] == null)
946
if (
_list
[i] is object o && o.Equals(value))
961
_list
.RemoveAt(index);
970
if (
_list
.Count - index < count)
978
_list
.RemoveAt(index);
988
if (
_list
.Count - index < count)
995
object? tmp =
_list
[i];
996
_list
[i++] =
_list
[j];
997
_list
[j--] = tmp;
1006
if (index < 0 || index >
_list
.Count - c.Count)
1016
_list
[index++] = en.Current;
1026
if (
_list
.Count - index < count)
1035
if (
_list
.Count - index < count)
1042
_list
[i + index] = array[i];
1054
_list
.CopyTo(array, 0);
1063
Array array = Array.CreateInstance(type,
_list
.Count);
1064
_list
.CopyTo(array, 0);