1 write to _items
Microsoft.Diagnostics.DataContractReader.DataGenerator (1)
EquatableArray.cs (1)
23
_items
= items;
14 references to _items
Microsoft.Diagnostics.DataContractReader.DataGenerator (14)
EquatableArray.cs (14)
26
public int Count =>
_items
?.Length ?? 0;
28
public T this[int index] => (
_items
?? Array.Empty<T>())[index];
32
if (
_items
is null && other.
_items
is null)
37
if (
_items
is null || other.
_items
is null)
42
if (
_items
.Length != other.
_items
.Length)
47
for (int i = 0; i <
_items
.Length; i++)
49
if (!
_items
[i].Equals(other.
_items
[i]))
62
if (
_items
is null)
68
foreach (T item in
_items
)
77
=> ((IEnumerable<T>)(
_items
?? Array.Empty<T>())).GetEnumerator();