Implemented interface member:
method
ToArray
System.Collections.Concurrent.IProducerConsumerCollection<T>.ToArray()
7 references to ToArray
Microsoft.AspNetCore.InternalTesting (1)
Tracing\CollectingEventListener.cs (1)
40public IReadOnlyList<EventWrittenEventArgs> GetEventsWritten() => _events.ToArray();
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Docker.cs (1)
180output = string.Join(Environment.NewLine, lines.ToArray());
Microsoft.Build (1)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
259ErrorUtilities.ThrowInternalError("Cannot acquire required number of nodes.", new AggregateException(exceptions.ToArray()));
Microsoft.Build.UnitTests.Shared (2)
MockEngine.cs (2)
58public BuildErrorEventArgs[] ErrorEvents => _errorEvents.ToArray(); 59public BuildWarningEventArgs[] WarningEvents => _warningEvents.ToArray();
Microsoft.CodeAnalysis (1)
Diagnostic\DiagnosticBag.cs (1)
363return lazyBag.ToArray();
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueue.cs (1)
150ToArray().CopyTo(array, index);