14 references to _items
Microsoft.Extensions.Caching.Hybrid.Tests (14)
LogCollector.cs (14)
16lock (_items)
18return _items.ToArray();
24lock (_items)
26foreach (var logItem in _items)
39lock (_items)
42if (_items.Count == expectedErrorIds.Length)
47if (_items[i].eventId.Id != expectedErrorIds[i])
62if (_items.Count > expectedErrorIds.Length)
76lock (_items)
79if (errorIds.Length == _items.Count)
83foreach (var item in _items)
100Assert.Equal(string.Join(",", errorIds), string.Join(",", _items.Select(static x => x.eventId.Id)));
118lock (parent._items)
120parent._items.Add((categoryName, logLevel, eventId, exception, formatter(state, exception)));