1 write to _count
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\SerializationInfo.cs (1)
244
_count
++;
14 references to _count
System.Private.CoreLib (14)
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\SerializationInfo.cs (14)
96
public int MemberCount =>
_count
;
100
public SerializationInfoEnumerator GetEnumerator() => new SerializationInfoEnumerator(_names, _values, _types,
_count
);
105
Debug.Assert(_names.Length ==
_count
, "[SerializationInfo.ExpandArrays]_names.Length == _count");
107
newSize = (
_count
* 2);
110
if (newSize <
_count
)
112
if (int.MaxValue >
_count
)
123
Array.Copy(_names, newMembers,
_count
);
124
Array.Copy(_values, newData,
_count
);
125
Array.Copy(_types, newTypes,
_count
);
229
if (!_nameToIndex.TryAdd(name,
_count
))
235
if (
_count
>= _names.Length)
241
_names[
_count
] = name;
242
_values[
_count
] = value;
243
_types[
_count
] = type;