3 implementations of ToArray
System.Collections.Concurrent (2)
System\Collections\Concurrent\ConcurrentBag.cs (1)
372public T[] ToArray()
System\Collections\Concurrent\ConcurrentStack.cs (1)
679public T[] ToArray()
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueue.cs (1)
222public T[] ToArray()
6 references to ToArray
Aspire.Hosting.Tests (1)
AppHostSmokeTests.cs (1)
71var writes = testSink.Writes.ToArray();
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
RedisHubLifetimeManagerTests.cs (1)
122var logs = testSink.Writes.ToArray();
System.Collections.Concurrent (3)
src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\IProducerConsumerCollectionDebugView.cs (1)
32public T[] Items => _collection.ToArray();
System\Collections\Concurrent\BlockingCollection.cs (2)
1522return _collection.ToArray(); 1563T[] collectionSnapShot = _collection.ToArray();
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\IProducerConsumerCollectionDebugView.cs (1)
32public T[] Items => _collection.ToArray();