Implemented interface member:
method
ToArray
System.Collections.Concurrent.IProducerConsumerCollection<T>.ToArray()
12 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)
260ErrorUtilities.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.Build.Utilities.Core (1)
TrackedDependencies\CanonicalTrackedInputFiles.cs (1)
238SourcesNeedingCompilation = sourcesNeedingCompilationList.ToArray();
Microsoft.CodeAnalysis (1)
Diagnostic\DiagnosticBag.cs (1)
364return lazyBag.ToArray();
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Semantics\ExtensionTests.cs (4)
43067analyzer._results.ToArray()); 43138analyzer._results.ToArray()); 43186analyzer._results.ToArray()); 43238analyzer._results.ToArray());
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueue.cs (1)
150ToArray().CopyTo(array, index);