2 references to TotalCount
System.Text.Json (2)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.Cache.cs (1)
161
if ((cacheBuilder?.
TotalCount
?? utf8PropertyCache.Length) < PropertyRefCacheBuilder.MaxCapacity)
System\Text\Json\Serialization\Metadata\PropertyRefCacheBuilder.cs (1)
28
Debug.Assert(
TotalCount
< MaxCapacity, "Should have been checked by the caller.");