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