254 implementations of CopyTo
InMemory.FunctionalTests (2)
Http2\Http2ConnectionTests.cs (1)
298public void CopyTo(KeyValuePair<string, StringValues>[] array, int arrayIndex) => _innerHeaders.CopyTo(array, arrayIndex);
Http3\Http3ConnectionTests.cs (1)
649public void CopyTo(KeyValuePair<string, StringValues>[] array, int arrayIndex) => _innerHeaders.CopyTo(array, arrayIndex);
Microsoft.AspNetCore.Components (1)
src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (1)
443void ICollection<KeyValuePair<string, object?>>.CopyTo(
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Binding\FormDataMapperTests.cs (1)
2428public void CopyTo(T[] array, int arrayIndex) => _inner.CopyTo(array, arrayIndex);
Microsoft.AspNetCore.Connections.Abstractions (1)
ConnectionItems.cs (1)
99void ICollection<KeyValuePair<object, object?>>.CopyTo(KeyValuePair<object, object?>[] array, int arrayIndex)
Microsoft.AspNetCore.Hosting.Tests (1)
WebHostTests.cs (1)
1426public void CopyTo(KeyValuePair<string, StringValues>[] array, int arrayIndex) { }
Microsoft.AspNetCore.Http (4)
HeaderDictionary.cs (1)
262public void CopyTo(KeyValuePair<string, StringValues>[] array, int arrayIndex)
Internal\ItemsDictionary.cs (1)
100void ICollection<KeyValuePair<object, object?>>.CopyTo(KeyValuePair<object, object?>[] array, int arrayIndex)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
134public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
291void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(
Microsoft.AspNetCore.Http.Abstractions (11)
EndpointFilterInvocationContextOfT.Generated.cs (10)
75public void CopyTo(object?[] array, int arrayIndex) 203public void CopyTo(object?[] array, int arrayIndex) 338public void CopyTo(object?[] array, int arrayIndex) 480public void CopyTo(object?[] array, int arrayIndex) 629public void CopyTo(object?[] array, int arrayIndex) 785public void CopyTo(object?[] array, int arrayIndex) 948public void CopyTo(object?[] array, int arrayIndex) 1118public void CopyTo(object?[] array, int arrayIndex) 1295public void CopyTo(object?[] array, int arrayIndex) 1479public void CopyTo(object?[] array, int arrayIndex)
Routing\RouteValueDictionary.cs (1)
443void ICollection<KeyValuePair<string, object?>>.CopyTo(
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\Validation\ValidationStateDictionary.cs (1)
105public void CopyTo(KeyValuePair<object, ValidationStateEntry>[] array, int arrayIndex)
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\ModelMetadataTest.cs (1)
769public void CopyTo(string[] array, int arrayIndex)
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\CopyOnWriteList.cs (1)
70public void CopyTo(T[] array, int arrayIndex)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
134public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
Microsoft.AspNetCore.Mvc.IntegrationTests (8)
ActionParametersIntegrationTest.cs (1)
1039public void CopyTo(T[] array, int arrayIndex)
CollectionModelBinderIntegrationTest.cs (4)
1267void ICollection<string>.CopyTo(string[] array, int arrayIndex) 1336void ICollection<string>.CopyTo(string[] array, int arrayIndex) 1407void ICollection<T>.CopyTo(T[] array, int arrayIndex) 1476void ICollection<T>.CopyTo(T[] array, int arrayIndex)
DictionaryModelBinderIntegrationTest.cs (2)
1590void ICollection<KeyValuePair<string, string>>.CopyTo(KeyValuePair<string, string>[] array, int arrayIndex) 1695void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
TryUpdateModelIntegrationTest.cs (1)
1330public void CopyTo(T[] array, int arrayIndex)
Microsoft.AspNetCore.Mvc.ViewFeatures (5)
AttributeDictionary.cs (3)
225public void CopyTo(KeyValuePair<string, string?>[] array, int arrayIndex) 404public void CopyTo(string[] array, int arrayIndex) 509public void CopyTo(string?[] array, int arrayIndex)
TempDataDictionary.cs (1)
242void ICollection<KeyValuePair<string, object?>>.CopyTo(KeyValuePair<string, object?>[] array, int index)
ViewDataDictionary.cs (1)
572public void CopyTo(KeyValuePair<string, object?>[] array, int arrayIndex)
Microsoft.AspNetCore.Owin (3)
DictionaryStringArrayWrapper.cs (1)
50void ICollection<KeyValuePair<string, string[]>>.CopyTo(KeyValuePair<string, string[]>[] array, int arrayIndex)
DictionaryStringValuesWrapper.cs (1)
95void ICollection<KeyValuePair<string, StringValues>>.CopyTo(KeyValuePair<string, StringValues>[] array, int arrayIndex)
OwinEnvironment.cs (1)
255void ICollection<KeyValuePair<string, object>>.CopyTo(KeyValuePair<string, object>[] array, int arrayIndex)
Microsoft.AspNetCore.Razor.Runtime (1)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
134public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
Microsoft.AspNetCore.Server.HttpSys (3)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
210public void CopyTo(KeyValuePair<string, StringValues>[] array, int arrayIndex)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
164void ICollection<KeyValuePair<string, StringValues>>.CopyTo(KeyValuePair<string, StringValues>[] array, int arrayIndex)
UrlPrefixCollection.cs (1)
131public void CopyTo(UrlPrefix[] array, int arrayIndex)
Microsoft.AspNetCore.Server.IIS (2)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
210public void CopyTo(KeyValuePair<string, StringValues>[] array, int arrayIndex)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
164void ICollection<KeyValuePair<string, StringValues>>.CopyTo(KeyValuePair<string, StringValues>[] array, int arrayIndex)
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpHeaders.cs (1)
227void ICollection<KeyValuePair<string, StringValues>>.CopyTo(KeyValuePair<string, StringValues>[] array, int arrayIndex)
Internal\ServerAddressesCollection.cs (2)
78public void CopyTo(string[] array, int arrayIndex) 149public void CopyTo(string[] array, int arrayIndex)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Http1\Http1ConnectionTests.cs (1)
1206public void CopyTo(KeyValuePair<string, StringValues>[] array, int arrayIndex) => _innerHeaders.CopyTo(array, arrayIndex);
Microsoft.AspNetCore.Shared.Tests (5)
ClosedGenericMatcherTest.cs (1)
313void ICollection<KeyValuePair<string, object>>.CopyTo(KeyValuePair<string, object>[] array, int arrayIndex)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
134public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
291void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
210public void CopyTo(KeyValuePair<string, StringValues>[] array, int arrayIndex)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
164void ICollection<KeyValuePair<string, StringValues>>.CopyTo(KeyValuePair<string, StringValues>[] array, int arrayIndex)
Microsoft.Build (15)
Collections\ArrayDictionary.cs (1)
147public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
Collections\CopyOnWritePropertyDictionary.cs (1)
233void ICollection<KeyValuePair<string, T>>.CopyTo(KeyValuePair<string, T>[] array, int arrayIndex)
Collections\PropertyDictionary.cs (1)
408void ICollection<KeyValuePair<string, T>>.CopyTo(KeyValuePair<string, T>[] array, int arrayIndex)
Collections\ReadOnlyConvertingDictionary.cs (1)
156public void CopyTo(KeyValuePair<K, N>[] array, int arrayIndex)
Collections\RetrievableEntryHashSet\HashSet.cs (2)
386public void CopyTo(T[] array, int arrayIndex) 636void ICollection<KeyValuePair<string, T>>.CopyTo(KeyValuePair<string, T>[] array, int index)
Construction\ProjectElementContainer.cs (1)
819public void CopyTo(T[] array, int arrayIndex)
CopyOnWriteDictionary.cs (1)
280public void CopyTo(KeyValuePair<string, V>[] array, int arrayIndex)
Instance\ImmutableProjectCollections\ImmutableElementCollectionConverter.cs (3)
74public void CopyTo(T[] array, int arrayIndex) => _values.CopyTo(array, arrayIndex); 76public void CopyTo(KeyValuePair<string, T>[] array, int arrayIndex) => _values.CopyTo(array, arrayIndex); 140public void CopyTo(T[] array, int arrayIndex)
Instance\ImmutableProjectCollections\ImmutableItemDictionary.cs (1)
180public void CopyTo(T[] array, int arrayIndex)
ReadOnlyCollection.cs (1)
130public void CopyTo(T[] array, int arrayIndex)
ReadOnlyEmptyCollection.cs (1)
109public void CopyTo(T[] array, int arrayIndex)
ReadOnlyEmptyDictionary.cs (1)
241public void CopyTo(KeyValuePair<K, V>[] array, int arrayIndex)
Microsoft.Build.Engine (1)
Engine\ToolsetCollection.cs (1)
167public void CopyTo(Toolset[] array, int arrayIndex)
Microsoft.Build.Framework (14)
ImmutableSegmentedDictionary`2.cs (1)
348void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
ImmutableSegmentedDictionary`2+Builder.cs (1)
222void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
43public void CopyTo(TKey[] array, int arrayIndex)
ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
43public void CopyTo(TValue[] array, int arrayIndex)
ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
42void ICollection<TKey>.CopyTo(TKey[] array, int arrayIndex)
ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
42void ICollection<TValue>.CopyTo(TValue[] array, int arrayIndex)
ImmutableSegmentedList`1.cs (1)
213public void CopyTo(T[] array, int arrayIndex)
ImmutableSegmentedList`1+Builder.cs (1)
85public void CopyTo(T[] array, int arrayIndex)
ImmutableSegmentedList`1+ValueBuilder.cs (1)
129public void CopyTo(T[] array, int arrayIndex)
SegmentedArray`1.cs (1)
164void ICollection<T>.CopyTo(T[] array, int arrayIndex)
SegmentedDictionary`2.cs (3)
842void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int index) 1275public void CopyTo(TKey[] array, int index) 1475public void CopyTo(TValue[] array, int index)
SegmentedList`1.cs (1)
414public void CopyTo(T[] array, int arrayIndex)
Microsoft.Build.Tasks.Core (4)
CopyOnWriteDictionary.cs (1)
280public void CopyTo(KeyValuePair<string, V>[] array, int arrayIndex)
ReadOnlyCollection.cs (1)
130public void CopyTo(T[] array, int arrayIndex)
ReadOnlyEmptyCollection.cs (1)
109public void CopyTo(T[] array, int arrayIndex)
ReadOnlyEmptyDictionary.cs (1)
241public void CopyTo(KeyValuePair<K, V>[] array, int arrayIndex)
Microsoft.Build.Utilities.Core (3)
CopyOnWriteDictionary.cs (1)
280public void CopyTo(KeyValuePair<string, V>[] array, int arrayIndex)
ReadOnlyEmptyCollection.cs (1)
109public void CopyTo(T[] array, int arrayIndex)
ReadOnlyEmptyDictionary.cs (1)
241public void CopyTo(KeyValuePair<K, V>[] array, int arrayIndex)
Microsoft.Extensions.Configuration (2)
ConfigurationManager.cs (2)
227public void CopyTo(IConfigurationSource[] array, int arrayIndex) 319public void CopyTo(KeyValuePair<string, object>[] array, int arrayIndex)
Microsoft.Extensions.DependencyInjection.Abstractions (1)
ServiceCollection.cs (1)
55public void CopyTo(ServiceDescriptor[] array, int arrayIndex)
Microsoft.Extensions.Http (1)
DependencyInjection\DefaultHttpClientBuilderServiceCollection.cs (1)
68public void CopyTo(ServiceDescriptor[] array, int arrayIndex) => _services.CopyTo(array, arrayIndex);
Microsoft.Extensions.Primitives (1)
StringValues.cs (1)
352void ICollection<string?>.CopyTo(string?[] array, int arrayIndex)
Microsoft.Interop.SourceGeneration (1)
ValueEqualityImmutableDictionary.cs (1)
53public void CopyTo(KeyValuePair<T, U>[] array, int arrayIndex) => ((ICollection<KeyValuePair<T, U>>)Map).CopyTo(array, arrayIndex);
MSBuild (3)
CopyOnWriteDictionary.cs (1)
280public void CopyTo(KeyValuePair<string, V>[] array, int arrayIndex)
ReadOnlyEmptyCollection.cs (1)
109public void CopyTo(T[] array, int arrayIndex)
ReadOnlyEmptyDictionary.cs (1)
241public void CopyTo(KeyValuePair<K, V>[] array, int arrayIndex)
MSBuildTaskHost (4)
CopyOnWriteDictionary.cs (1)
280public void CopyTo(KeyValuePair<string, V>[] array, int arrayIndex)
Immutable\ImmutableDictionary.cs (1)
92void ICollection<KeyValuePair<K, V>>.CopyTo(KeyValuePair<K, V>[] array, int arrayIndex)
ReadOnlyEmptyCollection.cs (1)
109public void CopyTo(T[] array, int arrayIndex)
ReadOnlyEmptyDictionary.cs (1)
241public void CopyTo(KeyValuePair<K, V>[] array, int arrayIndex)
PresentationCore (41)
MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
728public void CopyTo(KeyValuePair<int, ushort>[] array, int arrayIndex)
MS\Internal\FontFace\TypefaceCollection.cs (1)
70public void CopyTo(Typeface[] array, int arrayIndex)
MS\Internal\PartialArray.cs (1)
136public void CopyTo(T[] array, int arrayIndex)
MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (1)
178public void CopyTo(double[] array, int arrayIndex)
MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (1)
121public void CopyTo(Point[] array, int arrayIndex)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CharacterBuffer.cs (1)
118public void CopyTo(char[] array, int arrayIndex)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\PartialList.cs (1)
152public void CopyTo(T[] array, int arrayIndex)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SequentialUshortCollection.cs (1)
54public void CopyTo(ushort[] array, int arrayIndex)
System\Windows\FreezableCollection.cs (1)
385public void CopyTo(T[] array, int index)
System\Windows\Generated\TextDecorationCollection.cs (1)
286public void CopyTo(TextDecoration[] array, int index)
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
296public void CopyTo(Timeline[] array, int index)
System\Windows\Media\Animation\TimelineClockCollection.cs (1)
126public void CopyTo(Clock[] array, int index)
System\Windows\Media\CharacterMetricsDictionary.cs (1)
132public void CopyTo(KeyValuePair<int, CharacterMetrics>[] array, int index)
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
121public void CopyTo(KeyValuePair<XmlLanguage, string>[] array, int index)
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
292public void CopyTo(BitmapEffect[] array, int index)
System\Windows\Media\FamilyMapCollection.cs (1)
85public void CopyTo(FontFamilyMap[] array, int index)
System\Windows\Media\FamilyTypefaceCollection.cs (1)
98public void CopyTo(FamilyTypeface[] array, int index)
System\Windows\Media\Fonts.cs (1)
323public void CopyTo(Typeface[] array, int arrayIndex)
System\Windows\Media\Generated\DoubleCollection.cs (1)
245public void CopyTo(double[] array, int index)
System\Windows\Media\Generated\DrawingCollection.cs (1)
308public void CopyTo(Drawing[] array, int index)
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
294public void CopyTo(GeneralTransform[] array, int index)
System\Windows\Media\Generated\GeometryCollection.cs (1)
308public void CopyTo(Geometry[] array, int index)
System\Windows\Media\Generated\GradientStopCollection.cs (1)
294public void CopyTo(GradientStop[] array, int index)
System\Windows\Media\Generated\Int32Collection.cs (1)
245public void CopyTo(int[] array, int index)
System\Windows\Media\Generated\PathFigureCollection.cs (1)
295public void CopyTo(PathFigure[] array, int index)
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
294public void CopyTo(PathSegment[] array, int index)
System\Windows\Media\Generated\PointCollection.cs (1)
245public void CopyTo(Point[] array, int index)
System\Windows\Media\Generated\TextEffectCollection.cs (1)
294public void CopyTo(TextEffect[] array, int index)
System\Windows\Media\Generated\TransformCollection.cs (1)
308public void CopyTo(Transform[] array, int index)
System\Windows\Media\Generated\VectorCollection.cs (1)
245public void CopyTo(Vector[] array, int index)
System\Windows\Media\GlyphRun.cs (2)
2164public void CopyTo(bool[] array, int arrayIndex) 2266public void CopyTo(ushort[] array, int arrayIndex)
System\Windows\Media\GlyphTypeface.cs (2)
1820public void CopyTo(KeyValuePair<ushort, double>[] array, int arrayIndex) 1905public void CopyTo(double[] array, int arrayIndex)
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
290public void CopyTo(GeneralTransform3D[] array, int index)
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
304public void CopyTo(Material[] array, int index)
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
304public void CopyTo(Model3D[] array, int index)
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
241public void CopyTo(Point3D[] array, int index)
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
304public void CopyTo(Transform3D[] array, int index)
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
241public void CopyTo(Vector3D[] array, int index)
System\Windows\Media3D\Visual3DCollection.cs (1)
142public void CopyTo(Visual3D[] array, int index)
PresentationFramework (19)
MS\Internal\Annotations\ObservableDictionary.cs (1)
189void ICollection<KeyValuePair<string, string>>.CopyTo(KeyValuePair<string, string>[] target, int startIndex)
MS\Internal\Data\RBTree.cs (1)
575public void CopyTo(T[] array, int arrayIndex)
MS\Internal\Documents\ContentElementCollection.cs (1)
106public void CopyTo(TItem[] array, int index)
MS\Internal\ListOfObject.cs (1)
72void ICollection<object>.CopyTo(object[] array, int arrayIndex)
MS\Internal\WeakDictionary.cs (3)
53public void CopyTo(KeyType[] array, int arrayIndex) 140public void CopyTo(ValueType[] array, int arrayIndex) 293public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
MS\Internal\WeakHashSet.cs (1)
40public void CopyTo(T[] array, int arrayIndex)
System\Windows\Controls\ColumnDefinition.cs (1)
112public void CopyTo(ColumnDefinition[] array, int index) // void ICollection<T>.CopyTo(T[] array, int arrayIndex)
System\Windows\Controls\CustomDictionarySources.cs (1)
188void ICollection<Uri>.CopyTo(Uri[] array, int arrayIndex)
System\Windows\Controls\RowDefinition.cs (1)
112public void CopyTo(RowDefinition[] array, int index) // void ICollection<T>.CopyTo(T[] array, int arrayIndex)
System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
204public void CopyTo(DataGridCellInfo[] array, int arrayIndex)
System\Windows\Data\XmlNamespaceMappingCollection.cs (1)
134public void CopyTo(XmlNamespaceMapping[] array, int arrayIndex)
System\Windows\Documents\TableCellCollection.cs (1)
84public void CopyTo(TableCell[] array, int index)
System\Windows\Documents\TableColumnCollection.cs (1)
84public void CopyTo(TableColumn[] array, int index)
System\Windows\Documents\TableRowCollection.cs (1)
84public void CopyTo(TableRow[] array, int index)
System\Windows\Documents\TableRowGroupCollection.cs (1)
84public void CopyTo(TableRowGroup[] array, int index)
System\Windows\Documents\TextElementCollection.cs (1)
144public void CopyTo(TextElementType[] array, int arrayIndex)
System\Windows\TriggerActionCollection.cs (1)
123public void CopyTo( TriggerAction[] array, int index )
System.Collections (8)
System\Collections\Generic\LinkedList.cs (1)
194public void CopyTo(T[] array, int index)
System\Collections\Generic\SortedDictionary.cs (3)
245public void CopyTo(KeyValuePair<TKey, TValue>[] array, int index) 542public void CopyTo(TKey[] array, int index) 703public void CopyTo(TValue[] array, int index)
System\Collections\Generic\SortedList.cs (3)
431void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex) 1045public void CopyTo(TKey[] array, int arrayIndex) 1159public void CopyTo(TValue[] array, int arrayIndex)
System\Collections\Generic\SortedSet.cs (1)
511public void CopyTo(T[] array, int index) => CopyTo(array, index, Count);
System.Collections.Concurrent (1)
System\Collections\Concurrent\ConcurrentDictionary.cs (1)
706void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int index)
System.Collections.Immutable (15)
System\Collections\Frozen\FrozenDictionary.cs (1)
322public void CopyTo(KeyValuePair<TKey, TValue>[] destination, int destinationIndex)
System\Collections\Frozen\FrozenSet.cs (1)
236public void CopyTo(T[] destination, int destinationIndex)
System\Collections\Immutable\ImmutableArray_1.Builder.cs (1)
699public void CopyTo(T[] array, int index)
System\Collections\Immutable\ImmutableArray_1.Minimal.cs (1)
238public void CopyTo(T[] destination, int destinationIndex)
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (1)
639void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
609void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
System\Collections\Immutable\ImmutableHashSet_1.Builder.cs (1)
393void ICollection<T>.CopyTo(T[] array, int arrayIndex)
System\Collections\Immutable\ImmutableHashSet_1.cs (1)
504void ICollection<T>.CopyTo(T[] array, int arrayIndex)
System\Collections\Immutable\ImmutableList_1.Builder.cs (1)
302public void CopyTo(T[] array, int arrayIndex) => _root.CopyTo(array, arrayIndex);
System\Collections\Immutable\ImmutableList_1.cs (1)
528public void CopyTo(T[] array, int arrayIndex) => _root.CopyTo(array, arrayIndex);
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (1)
508void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
529void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
System\Collections\Immutable\ImmutableSortedSet_1.Builder.cs (1)
368void ICollection<T>.CopyTo(T[] array, int arrayIndex)
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
728void ICollection<T>.CopyTo(T[] array, int arrayIndex)
System\Collections\Immutable\KeysOrValuesCollectionAccessor.cs (1)
90public void CopyTo(T[] array, int arrayIndex)
System.ComponentModel.Composition (3)
Microsoft\Internal\Collections\CollectionServices.CollectionOfObject.cs (2)
61public void CopyTo(object[] array, int arrayIndex) 116public void CopyTo(object[] array, int arrayIndex)
System\ComponentModel\Composition\Hosting\ComposablePartCatalogCollection.cs (1)
138public void CopyTo(ComposablePartCatalog[] array, int arrayIndex)
System.Composition.Hosting (1)
System\Composition\Hosting\Core\CycleBreakingMetadataDictionary.cs (1)
90public void CopyTo(KeyValuePair<string, object>[] array, int arrayIndex)
System.Data.Common (1)
System\Data\Common\DbBatchCommandCollection.cs (1)
21public abstract void CopyTo(DbBatchCommand[] array, int arrayIndex);
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\ActivityTagsCollection.cs (1)
200public void CopyTo(KeyValuePair<string, object?>[] array, int arrayIndex) => _list.CopyTo(array, arrayIndex);
System\Diagnostics\Metrics\TagList.cs (1)
261public readonly void CopyTo(KeyValuePair<string, object?>[] array, int arrayIndex)
System.Diagnostics.Process (1)
System\Collections\Specialized\DictionaryWrapper.cs (1)
59public void CopyTo(KeyValuePair<string, string?>[] array, int arrayIndex)
System.DirectoryServices.AccountManagement (2)
artifacts\obj\System.DirectoryServices.AccountManagement\Debug\net9.0\System.DirectoryServices.AccountManagement.notsupported.cs (2)
247public void CopyTo(System.DirectoryServices.AccountManagement.Principal[] array, int index) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); } 371public void CopyTo(T[] array, int index) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); }
System.IO.FileSystem.Watcher (1)
System\IO\FileSystemWatcher.cs (1)
752public void CopyTo(string[] array, int arrayIndex) => Items.CopyTo(array, arrayIndex);
System.Linq (6)
System\Linq\Grouping.cs (1)
409void ICollection<TElement>.CopyTo(TElement[] array, int arrayIndex) =>
System\Linq\Lookup.cs (2)
266void ICollection<IGrouping<TKey, TElement>>.CopyTo(IGrouping<TKey, TElement>[] array, int arrayIndex) 314public void CopyTo(IGrouping<TKey, TElement>[] array, int arrayIndex)
System\Linq\Range.SpeedOpt.cs (1)
33public void CopyTo(int[] array, int arrayIndex) =>
System\Linq\Repeat.SpeedOpt.cs (1)
92public void CopyTo(TResult[] array, int arrayIndex) =>
System\Linq\SkipTake.SpeedOpt.cs (1)
146public void CopyTo(TSource[] array, int arrayIndex) =>
System.Linq.Expressions (6)
System\Dynamic\ExpandoObject.cs (3)
397public void CopyTo(string[] array, int arrayIndex) 547public void CopyTo(object?[] array, int arrayIndex) 713void ICollection<KeyValuePair<string, object?>>.CopyTo(KeyValuePair<string, object?>[] array, int arrayIndex)
System\Dynamic\Utils\ListArgumentProvider.cs (1)
88public void CopyTo(T[] array, int index)
System\Linq\Expressions\BlockExpression.cs (1)
761public void CopyTo(Expression[] array, int index)
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
226public void CopyTo(T[] array, int arrayIndex) => Array.Copy(_items, 0, array, arrayIndex, _size);
System.Linq.Parallel (1)
System\Linq\Parallel\QueryOperators\QueryResults.cs (1)
126void ICollection<T>.CopyTo(T[] array, int arrayIndex)
System.Net.Http (3)
System\Net\Http\Headers\HttpHeaderValueCollection.cs (1)
81public void CopyTo(T[] array, int arrayIndex)
System\Net\Http\Headers\ObjectCollection.cs (1)
95public void CopyTo(T[] array, int arrayIndex)
System\Net\Http\HttpRequestOptions.cs (1)
42void ICollection<KeyValuePair<string, object?>>.CopyTo(KeyValuePair<string, object?>[] array, int arrayIndex) =>
System.Net.HttpListener (1)
System\Net\HttpListenerPrefixCollection.cs (1)
54public void CopyTo(string[] array, int offset)
System.Net.NetworkInformation (4)
System\Net\NetworkInformation\GatewayIPAddressInformationCollection.cs (1)
22public virtual void CopyTo(GatewayIPAddressInformation[] array, int offset)
System\Net\NetworkInformation\IPAddressInformationCollection.cs (1)
16public virtual void CopyTo(IPAddressInformation[] array, int offset)
System\Net\NetworkInformation\MulticastIPAddressInformationCollection.cs (1)
16public virtual void CopyTo(MulticastIPAddressInformation[] array, int offset)
System\Net\NetworkInformation\UnicastIPAddressInformationCollection.cs (1)
17public virtual void CopyTo(UnicastIPAddressInformation[] array, int offset)
System.Net.Primitives (2)
System\Net\CookieCollection.cs (1)
150public void CopyTo(Cookie[] array, int index)
System\Net\NetworkInformation\IPAddressCollection.cs (1)
14public virtual void CopyTo(IPAddress[] array, int offset)
System.Private.CoreLib (12)
src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (1)
106public void CopyTo(T[] destination, int destinationIndex)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
1035void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int index) => 1477public void CopyTo(TKey[] array, int index) 1672public void CopyTo(TValue[] array, int index)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (1)
857public void CopyTo(T[] array, int arrayIndex) => CopyTo(array, arrayIndex, Count);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
420public void CopyTo(T[] array, int arrayIndex)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
76public void CopyTo(T[] array, int index)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
41public void CopyTo(T[] array, int index)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (3)
78void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex) 278public void CopyTo(TKey[] array, int arrayIndex) 331public void CopyTo(TValue[] array, int arrayIndex)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EventPayload.cs (1)
95public void CopyTo(KeyValuePair<string, object?>[] payloadEntries, int count)
System.Private.Xml (4)
System\Xml\Xsl\ListBase.cs (1)
47public virtual void CopyTo(T[] array, int index)
System\Xml\Xsl\QIL\QilNode.cs (1)
177public virtual void CopyTo(QilNode[] array, int index)
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (2)
206public void CopyTo(T[] array, int index) 702void ICollection<XPathItem>.CopyTo(XPathItem[] array, int index)
System.Security.Cryptography.Cose (1)
System\Security\Cryptography\Cose\CoseHeaderMap.cs (1)
202public void CopyTo(KeyValuePair<CoseHeaderLabel, CoseHeaderValue>[] array, int arrayIndex)
System.Security.Principal.Windows (1)
artifacts\obj\System.Security.Principal.Windows\Debug\net9.0\System.Security.Principal.Windows.notsupported.cs (1)
52public void CopyTo(System.Security.Principal.IdentityReference[] array, int offset) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); }
System.Speech (1)
artifacts\obj\System.Speech\Debug\net9.0\System.Speech.notsupported.cs (1)
313void System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Speech.Recognition.SemanticValue>>.CopyTo(System.Collections.Generic.KeyValuePair<string, System.Speech.Recognition.SemanticValue>[] array, int index) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); }
System.Text.Json (5)
System\Text\Json\JsonPropertyDictionary.KeyCollection.cs (1)
51public void CopyTo(string[] propertyNameArray, int index)
System\Text\Json\JsonPropertyDictionary.ValueCollection.cs (1)
51public void CopyTo(T[] nodeArray, int index)
System\Text\Json\Nodes\JsonArray.IList.cs (1)
139void ICollection<JsonNode?>.CopyTo(JsonNode?[] array, int index) => List.CopyTo(array, index);
System\Text\Json\Nodes\JsonObject.IDictionary.cs (1)
136void ICollection<KeyValuePair<string, JsonNode?>>.CopyTo(KeyValuePair<string, JsonNode?>[] array, int index) => Dictionary.CopyTo(array, index);
System\Text\Json\Serialization\ConfigurationList.cs (1)
72public void CopyTo(TItem[] array, int arrayIndex)
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\CaptureCollection.cs (1)
93public void CopyTo(Capture[] array, int arrayIndex)
System\Text\RegularExpressions\GroupCollection.cs (1)
107public void CopyTo(Group[] array, int arrayIndex)
System\Text\RegularExpressions\MatchCollection.cs (1)
125public void CopyTo(Match[] array, int arrayIndex)
System.Xaml (3)
System\Xaml\NameScope.cs (1)
114public void CopyTo(KeyValuePair<string, object>[] array, int arrayIndex)
System\Xaml\NameScopeDictionary.cs (1)
266void ICollection<KeyValuePair<string, object>>.CopyTo(KeyValuePair<string, object>[] array, int arrayIndex)
System\Xaml\XamlSchemaContext.cs (1)
1427void ICollection<T>.CopyTo(T[] array, int arrayIndex)
142 references to CopyTo
illink (1)
InMemory.FunctionalTests (2)
Http2\Http2ConnectionTests.cs (1)
298public void CopyTo(KeyValuePair<string, StringValues>[] array, int arrayIndex) => _innerHeaders.CopyTo(array, arrayIndex);
Http3\Http3ConnectionTests.cs (1)
649public void CopyTo(KeyValuePair<string, StringValues>[] array, int arrayIndex) => _innerHeaders.CopyTo(array, arrayIndex);
Microsoft.AspNetCore.Components (1)
src\Shared\Debugger\DictionaryDebugView.cs (1)
24_dict.CopyTo(keyValuePairs, 0);
Microsoft.AspNetCore.Connections.Abstractions (2)
ConnectionItems.cs (1)
101Items.CopyTo(array, arrayIndex);
src\Shared\Debugger\DictionaryDebugView.cs (1)
24_dict.CopyTo(keyValuePairs, 0);
Microsoft.AspNetCore.Http (6)
Internal\ItemsDictionary.cs (2)
105EmptyDictionary.Collection.CopyTo(array, arrayIndex); 108_items?.CopyTo(array, arrayIndex);
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
136ReadDictionary.CopyTo(array, arrayIndex);
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (1)
153((ICollection<KeyValuePair<TKey, TValue>>)ReadDictionary).CopyTo(array, arrayIndex);
src\Shared\Debugger\DictionaryDebugView.cs (1)
24_dict.CopyTo(keyValuePairs, 0);
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
314((ICollection<KeyValuePair<TKey, TValue>>)_dictionaryStorage!).CopyTo(array, arrayIndex);
Microsoft.AspNetCore.Http.Abstractions (1)
src\Shared\Debugger\DictionaryDebugView.cs (1)
24_dict.CopyTo(keyValuePairs, 0);
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
RouteValueDictionaryTests.cs (1)
1304((ICollection<KeyValuePair<string, object?>>)dict).CopyTo(array, 1);
Microsoft.AspNetCore.Http.Tests (1)
Internal\ItemsDictionaryTests.cs (1)
30cl.CopyTo(pairs, 0);
Microsoft.AspNetCore.JsonPatch.Tests (2)
TestObjectModels\DynamicTestObject.cs (1)
50((IDictionary<string, object>)_dictionary).CopyTo(array, arrayIndex);
WriteOnceDynamicTestObject.cs (1)
64((IDictionary<string, object>)_dictionary).CopyTo(array, arrayIndex);
Microsoft.AspNetCore.Mvc.Abstractions (2)
ModelBinding\Validation\ValidationStateDictionary.cs (1)
107((IDictionary<object, ValidationStateEntry>)_inner).CopyTo(array, arrayIndex);
src\Shared\Debugger\DictionaryDebugView.cs (1)
24_dict.CopyTo(keyValuePairs, 0);
Microsoft.AspNetCore.Mvc.Core (3)
ModelBinding\PrefixContainer.cs (1)
37_originalValues.CopyTo(_sortedValues, 0);
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
136ReadDictionary.CopyTo(array, arrayIndex);
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (1)
153((ICollection<KeyValuePair<TKey, TValue>>)ReadDictionary).CopyTo(array, arrayIndex);
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
ActionParametersIntegrationTest.cs (1)
1041_original.CopyTo(array, arrayIndex);
TryUpdateModelIntegrationTest.cs (1)
1332_original.CopyTo(array, arrayIndex);
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
TempDataDictionary.cs (1)
245((ICollection<KeyValuePair<string, object?>>)_data).CopyTo(array, index);
ViewDataDictionary.cs (1)
576_data.CopyTo(array, arrayIndex);
Microsoft.AspNetCore.Owin.Tests (4)
OwinEnvironmentTests.cs (4)
146collection.CopyTo(kvp, 0); 148Assert.Throws<ArgumentNullException>(() => collection.CopyTo(null, 0)); // array is null 149Assert.Throws<ArgumentOutOfRangeException>(() => collection.CopyTo(kvp, -1)); // arrayIndex is less than 0 150Assert.Throws<ArgumentException>(() => collection.CopyTo(kvp, 1)); // The number of elements in the source ICollection<T> is greater than the available space from arrayIndex to the end of the destination array.
Microsoft.AspNetCore.Razor.Runtime (3)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
136ReadDictionary.CopyTo(array, arrayIndex);
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (1)
153((ICollection<KeyValuePair<TKey, TValue>>)ReadDictionary).CopyTo(array, arrayIndex);
src\Shared\Debugger\DictionaryDebugView.cs (1)
24_dict.CopyTo(keyValuePairs, 0);
Microsoft.AspNetCore.Server.HttpSys (2)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
212Store.CopyTo(array, arrayIndex);
UrlPrefixCollection.cs (1)
135_prefixes.Values.CopyTo(array, arrayIndex);
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
212Store.CopyTo(array, arrayIndex);
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpHeaders.Generated.cs (3)
7472((ICollection<KeyValuePair<string, StringValues>>?)MaybeUnknown)?.CopyTo(array, arrayIndex); 14799((ICollection<KeyValuePair<string, StringValues>>?)MaybeUnknown)?.CopyTo(array, arrayIndex); 17567((ICollection<KeyValuePair<string, StringValues>>?)MaybeUnknown)?.CopyTo(array, arrayIndex);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
Http1\Http1ConnectionTests.cs (1)
1206public void CopyTo(KeyValuePair<string, StringValues>[] array, int arrayIndex) => _innerHeaders.CopyTo(array, arrayIndex);
HttpRequestHeadersTests.cs (1)
376headers.CopyTo(entries, 1);
Microsoft.AspNetCore.Shared.Tests (6)
AdaptiveCapacityDictionaryTests.cs (1)
654((ICollection<KeyValuePair<string, object?>>)dict).CopyTo(array, 1);
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
136ReadDictionary.CopyTo(array, arrayIndex);
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (1)
153((ICollection<KeyValuePair<TKey, TValue>>)ReadDictionary).CopyTo(array, arrayIndex);
src\Shared\Debugger\DictionaryDebugView.cs (1)
24_dict.CopyTo(keyValuePairs, 0);
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
314((ICollection<KeyValuePair<TKey, TValue>>)_dictionaryStorage!).CopyTo(array, arrayIndex);
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
212Store.CopyTo(array, arrayIndex);
Microsoft.Build (2)
CopyOnWriteDictionary.cs (1)
282((IDictionary<string, V>)_backing).CopyTo(array, arrayIndex);
ReadOnlyCollection.cs (1)
137backingCollection.CopyTo(array, arrayIndex);
Microsoft.Build.Framework (8)
ICollectionDebugView`1.cs (1)
32_collection.CopyTo(items, 0);
IDictionaryDebugView`2.cs (3)
33_dict.CopyTo(items, 0); 54_collection.CopyTo(items, 0); 75_collection.CopyTo(items, 0);
ImmutableSegmentedDictionary`2.cs (1)
349=> ((ICollection<KeyValuePair<TKey, TValue>>)_dictionary).CopyTo(array, arrayIndex);
ImmutableSegmentedDictionary`2+Builder.cs (1)
223=> ((ICollection<KeyValuePair<TKey, TValue>>)ReadOnlyDictionary).CopyTo(array, arrayIndex);
SegmentedArray`1.cs (1)
169collection.CopyTo(array, arrayIndex + (i * SegmentSize));
SegmentedList`1.cs (1)
96c.CopyTo(segments[0], 0);
Microsoft.Build.Tasks.Core (4)
CopyOnWriteDictionary.cs (1)
282((IDictionary<string, V>)_backing).CopyTo(array, arrayIndex);
GetReferenceAssemblyPaths.cs (2)
63_tfmPaths.CopyTo(pathsToReturn, 0); 85_tfmPathsNoProfile.CopyTo(pathsToReturn, 0);
ReadOnlyCollection.cs (1)
137backingCollection.CopyTo(array, arrayIndex);
Microsoft.Build.Utilities.Core (1)
CopyOnWriteDictionary.cs (1)
282((IDictionary<string, V>)_backing).CopyTo(array, arrayIndex);
Microsoft.Extensions.Configuration (1)
ConfigurationManager.cs (1)
321((IDictionary<string, object>)_properties).CopyTo(array, arrayIndex);
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\CallSiteFactory.cs (1)
28descriptors.CopyTo(_descriptors, 0);
Microsoft.Extensions.Http (1)
DependencyInjection\DefaultHttpClientBuilderServiceCollection.cs (1)
68public void CopyTo(ServiceDescriptor[] array, int arrayIndex) => _services.CopyTo(array, arrayIndex);
Microsoft.Interop.SourceGeneration (1)
ValueEqualityImmutableDictionary.cs (1)
53public void CopyTo(KeyValuePair<T, U>[] array, int arrayIndex) => ((ICollection<KeyValuePair<T, U>>)Map).CopyTo(array, arrayIndex);
MonoTargetsTasks (1)
JsonToItemsTaskFactory\JsonToItemsTaskFactory.cs (1)
80parameterGroup.Values.CopyTo(_taskProperties, 1);
MSBuild (1)
CopyOnWriteDictionary.cs (1)
282((IDictionary<string, V>)_backing).CopyTo(array, arrayIndex);
MSBuildTaskHost (1)
CopyOnWriteDictionary.cs (1)
282((IDictionary<string, V>)_backing).CopyTo(array, arrayIndex);
PresentationCore (4)
MS\Internal\FontFace\FontDriver.cs (1)
279glyphs.CopyTo(glyphArray, 0);
MS\Internal\IListConverters.cs (1)
291list.CopyTo(chars, 0);
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
133_innerDictionary.CopyTo(array, index);
System\Windows\Media\GlyphRun.cs (1)
1267_glyphIndices.CopyTo(glyphIndices, 0);
PresentationFramework (7)
MS\Internal\Annotations\Anchoring\LocatorManager.cs (1)
307locators.CopyTo(lists, 0);
MS\Internal\Annotations\ObservableDictionary.cs (1)
195((ICollection<KeyValuePair<string, string>>)_nameValues).CopyTo(target, startIndex);
System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
374locators.CopyTo(lists, 0);
System\Windows\Annotations\AnnotationService.cs (3)
1334annotations.CopyTo(list, 0); 1397annotations.CopyTo(list, 0); 1434annotations.CopyTo(list, 0);
System\Windows\Documents\DocumentReferenceCollection.cs (1)
80_InternalList.CopyTo(array, arrayIndex);
PresentationUI (1)
MS\Internal\Documents\RMPermissions.cs (1)
137rightsStrings.CopyTo(stringArray, 0);
System.Collections (8)
src\libraries\Common\src\System\Collections\Generic\EnumerableHelpers.cs (1)
36ic.CopyTo(arr, 0);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ICollectionDebugView.cs (1)
25_collection.CopyTo(items, 0);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\IDictionaryDebugView.cs (3)
25_dict.CopyTo(keyValuePairs, 0); 53_collection.CopyTo(items, 0); 76_collection.CopyTo(items, 0);
System\Collections\Generic\PriorityQueue.cs (1)
414collection.CopyTo(_nodes, 0);
System\Collections\Generic\SortedList.cs (2)
156dictionary.Keys.CopyTo(keys, 0); 157dictionary.Values.CopyTo(values, 0);
System.Collections.Concurrent (1)
System\Collections\Concurrent\ConcurrentDictionary.cs (1)
2354_dictionary.CopyTo(items, 0);
System.Collections.Immutable (3)
System\Collections\Frozen\Int32\Int32FrozenDictionary.cs (1)
27((ICollection<KeyValuePair<int, TValue>>)source).CopyTo(entries, 0);
System\Collections\Frozen\KeysAndValuesFrozenDictionary.cs (1)
23((ICollection<KeyValuePair<TKey, TValue>>)source).CopyTo(entries, 0);
System\Collections\Immutable\ImmutableExtensions.Minimal.cs (1)
94/// implementation of <see cref="ICollection{T}"/> could hold on to the array when its <see cref="ICollection{T}.CopyTo"/>
System.Composition.Hosting (1)
System\Composition\Hosting\Core\CycleBreakingMetadataDictionary.cs (1)
92ActualMetadata.CopyTo(array, arrayIndex);
System.Diagnostics.Process (1)
System\Collections\Specialized\DictionaryWrapper.cs (1)
61((IDictionary<string, string?>)_contents).CopyTo(array, arrayIndex);
System.Linq (13)
System\Linq\AppendPrepend.SpeedOpt.cs (5)
26c.CopyTo(result, 0); 31c.CopyTo(result, 1); 79collection.CopyTo(array, index); 192c.CopyTo(result, _prependCount); 236sourceCollection.CopyTo(array, index);
System\Linq\Concat.SpeedOpt.cs (7)
50firstCollection.CopyTo(result, 0); 51secondCollection.CopyTo(result, firstCount); 70firstCollection.CopyTo(result, 0); 79secondCollection.CopyTo(result, result.Length - secondCount); 250source.CopyTo(array, arrayIndex); 261second.CopyTo(array, checked(arrayIndex - secondCount)); 267first.CopyTo(array, 0);
System\Linq\ToCollection.cs (1)
53collection.CopyTo(result, 0);
System.Linq.Expressions (3)
System\Dynamic\ExpandoObject.cs (2)
341_collection.CopyTo(items, 0); 480_collection.CopyTo(items, 0);
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
56c.CopyTo(_items, 0);
System.Net.Http (2)
System\Net\Http\HttpRequestOptions.cs (2)
43((IDictionary<string, object?>)Options).CopyTo(array, arrayIndex); 98dictionary.CopyTo(items, 0);
System.ObjectModel (1)
System\Collections\Generic\DebugView.cs (1)
25_collection.CopyTo(items, 0);
System.Private.CoreLib (21)
src\libraries\Common\src\System\Collections\Generic\EnumerableHelpers.cs (1)
36ic.CopyTo(arr, 0);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ICollectionDebugView.cs (1)
25_collection.CopyTo(items, 0);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\IDictionaryDebugView.cs (3)
25_dict.CopyTo(keyValuePairs, 0); 53_collection.CopyTo(items, 0); 76_collection.CopyTo(items, 0);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (3)
76c.CopyTo(_items, 0); 260c.CopyTo(_items, _size); 845c.CopyTo(_items, index);
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (2)
78items.CopyTo(array, index); 199items.CopyTo(tArray, index);
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\CollectionHelpers.cs (1)
44collection.CopyTo(items, index);
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (2)
43list.CopyTo(array, index); 129list.CopyTo(items, index);
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (4)
80m_dictionary.CopyTo(array, arrayIndex); 181m_dictionary.CopyTo(pairs, index); 280_collection.CopyTo(array, arrayIndex); 333_collection.CopyTo(array, arrayIndex);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (3)
5903taskCollection.CopyTo(taskArray, 0); 6202taskCollection.CopyTo(taskArray, 0); 6685tasksAsCollection.CopyTo(taskArray, 0);
src\System\Reflection\RuntimeCustomAttributeData.cs (1)
103customAttributes.CopyTo(pca, pseudoAttributes.Count);
System.Private.Xml.Linq (1)
src\libraries\Common\src\System\Collections\Generic\EnumerableHelpers.cs (1)
36ic.CopyTo(arr, 0);
System.Security.Cryptography.Cose (1)
System\Security\Cryptography\Cose\CoseHeaderMap.cs (1)
203=> HeaderParametersAsCollection.CopyTo(array, arrayIndex);
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\CollectionDebuggerProxy.cs (1)
25_collection.CopyTo(items, 0);
System.Xaml (4)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\FrugalList.cs (1)
1290collection.CopyTo(_entries, 0);
System\Xaml\AttachablePropertyServices.cs (1)
139((ICollection<KeyValuePair<AttachableMemberIdentifier, object>>)instanceProperties).CopyTo(array, index);
System\Xaml\Context\XamlContext.cs (1)
372typeArguments.CopyTo(typeArgArray, 0);
System\Xaml\MS\Impl\XmlNsInfo.cs (1)
421dict.Keys.CopyTo(keys, 0);