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.Build (1)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
313new AggregateException(exceptions.ToArray()));
Microsoft.CodeAnalysis (1)
Diagnostic\DiagnosticBag.cs (1)
364return lazyBag.ToArray();
NuGet.Commands (3)
PackCollectorLogger.cs (1)
25public IEnumerable<ILogMessage> Errors => _errors.ToArray();
RestoreCommand\Logging\RestoreCollectorLogger.cs (2)
30public IEnumerable<IRestoreLogMessage> Errors => _errors.ToArray(); 31internal IEnumerable<IRestoreLogMessage> SuppressedWarnings => _suppressedWarnings.ToArray();
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueue.cs (1)
150ToArray().CopyTo(array, index);