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