375 references to Copy
AssemblyStripper (3)
http2cat (2)
IIS.FunctionalTests (2)
IIS.LongTests (2)
IIS.NewHandler.FunctionalTests (2)
IIS.NewShim.FunctionalTests (2)
IISExpress.FunctionalTests (2)
ILCompiler.DependencyAnalysisFramework (1)
Microsoft.AspNetCore.Components (7)
src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (6)
254Array.Copy(other, 0, storage, 0, count);
462Array.Copy(storage, 0, array, arrayIndex, _count);
499Array.Copy(array, index + 1, array, index, _count - index);
530Array.Copy(array, index + 1, array, index, _count - index);
570Array.Copy(array, index + 1, array, index, _count - index);
700Array.Copy(_arrayStorage, 0, array, 0, _count);
Microsoft.AspNetCore.Components.Server (3)
Microsoft.AspNetCore.Components.WebView (1)
Microsoft.AspNetCore.DataProtection (1)
Microsoft.AspNetCore.Http (5)
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (5)
310Array.Copy(storage, 0, array, arrayIndex, _count);
359Array.Copy(array, index + 1, array, index, _count - index);
391Array.Copy(array, index + 1, array, index, _count - index);
432Array.Copy(array, index + 1, array, index, _count - index);
534Array.Copy(_arrayStorage, 0, array, 0, _count);
Microsoft.AspNetCore.Http.Abstractions (7)
Routing\RouteValueDictionary.cs (6)
254Array.Copy(other, 0, storage, 0, count);
462Array.Copy(storage, 0, array, arrayIndex, _count);
499Array.Copy(array, index + 1, array, index, _count - index);
530Array.Copy(array, index + 1, array, index, _count - index);
570Array.Copy(array, index + 1, array, index, _count - index);
700Array.Copy(_arrayStorage, 0, array, 0, _count);
Microsoft.AspNetCore.Http.Connections.Tests (3)
src\Shared\Buffers.Testing\ReadOnlySequenceFactory.cs (3)
37Array.Copy(data, 0, startSegment, 10, data.Length);
52Array.Copy(data, 0, startSegment, 10, data.Length);
67Array.Copy(data, 0, startSegment, 10, data.Length);
Microsoft.AspNetCore.Http.Extensions (2)
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Microsoft.AspNetCore.OpenApi (2)
Microsoft.AspNetCore.Routing (4)
Microsoft.AspNetCore.Server.HttpSys (1)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
Microsoft.AspNetCore.Server.IIS (1)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
src\Shared\Buffers.Testing\ReadOnlySequenceFactory.cs (3)
37Array.Copy(data, 0, startSegment, 10, data.Length);
52Array.Copy(data, 0, startSegment, 10, data.Length);
67Array.Copy(data, 0, startSegment, 10, data.Length);
Microsoft.AspNetCore.Shared.Tests (8)
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (5)
310Array.Copy(storage, 0, array, arrayIndex, _count);
359Array.Copy(array, index + 1, array, index, _count - index);
391Array.Copy(array, index + 1, array, index, _count - index);
432Array.Copy(array, index + 1, array, index, _count - index);
534Array.Copy(_arrayStorage, 0, array, 0, _count);
Microsoft.AspNetCore.SignalR.Common.Tests (3)
src\Shared\Buffers.Testing\ReadOnlySequenceFactory.cs (3)
37Array.Copy(data, 0, startSegment, 10, data.Length);
52Array.Copy(data, 0, startSegment, 10, data.Length);
67Array.Copy(data, 0, startSegment, 10, data.Length);
Microsoft.AspNetCore.SignalR.Microbenchmarks (3)
src\Shared\Buffers.Testing\ReadOnlySequenceFactory.cs (3)
37Array.Copy(data, 0, startSegment, 10, data.Length);
52Array.Copy(data, 0, startSegment, 10, data.Length);
67Array.Copy(data, 0, startSegment, 10, data.Length);
Microsoft.AspNetCore.TestHost (2)
Microsoft.AspNetCore.WebUtilities.Microbenchmarks (3)
src\Shared\Buffers.Testing\ReadOnlySequenceFactory.cs (3)
37Array.Copy(data, 0, startSegment, 10, data.Length);
52Array.Copy(data, 0, startSegment, 10, data.Length);
67Array.Copy(data, 0, startSegment, 10, data.Length);
Microsoft.AspNetCore.WebUtilities.Tests (3)
src\Shared\Buffers.Testing\ReadOnlySequenceFactory.cs (3)
37Array.Copy(data, 0, startSegment, 10, data.Length);
52Array.Copy(data, 0, startSegment, 10, data.Length);
67Array.Copy(data, 0, startSegment, 10, data.Length);
Microsoft.Build (6)
BufferedReadStream.cs (4)
72Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, _currentlyBufferedByteCount);
83Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, count);
94Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, _currentlyBufferedByteCount);
115Array.Copy(_buffer, 0, buffer, offset + alreadyCopied, remainingCopyCount);
Microsoft.Build.Engine (1)
Microsoft.Build.Framework (2)
Microsoft.Build.Tasks.Core (3)
Microsoft.CSharp (3)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeArray.cs (2)
105public void CopyItems(int i, int c, CType[] dest) => Array.Copy(Items, i, dest, 0, c);
159Array.Copy(prgtype2, 0, combined, prgtype1.Length, prgtype2.Length);
Microsoft.DotNet.Build.Tasks.Installers (1)
Microsoft.DotNet.RemoteExecutor (1)
Microsoft.Extensions.Primitives (1)
Microsoft.JSInterop (1)
Microsoft.VisualBasic.Core (4)
MSBuild (5)
BufferedReadStream.cs (4)
72Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, _currentlyBufferedByteCount);
83Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, count);
94Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, _currentlyBufferedByteCount);
115Array.Copy(_buffer, 0, buffer, offset + alreadyCopied, remainingCopyCount);
MSBuildTaskHost (5)
BufferedReadStream.cs (4)
72Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, _currentlyBufferedByteCount);
83Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, count);
94Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, _currentlyBufferedByteCount);
115Array.Copy(_buffer, 0, buffer, offset + alreadyCopied, remainingCopyCount);
PresentationBuildTasks (1)
PresentationCore (9)
PresentationFramework (43)
MS\Internal\Documents\ContentElementCollection.cs (3)
86Array.Copy(Items, 0, array, index, Size);
118Array.Copy(Items, 0, array, index, Size);
771Array.Copy(Items, 0, newItems, 0, Size);
MS\Internal\UncommonValueTable.cs (4)
52Array.Copy(_table, 0, newTable, 0, index);
53Array.Copy(_table, index, newTable, index+1, n-index);
79Array.Copy(_table, 0, newTable, 0, index);
80Array.Copy(_table, index+1, newTable, index, n-index);
System\Windows\Controls\ColumnDefinition.cs (3)
105Array.Copy(_items, 0, array, index, _size);
127Array.Copy(_items, 0, array, index, _size);
719Array.Copy(_items, 0, newItems, 0, _size);
System\Windows\Controls\RowDefinition.cs (3)
105Array.Copy(_items, 0, array, index, _size);
127Array.Copy(_items, 0, array, index, _size);
719Array.Copy(_items, 0, newItems, 0, _size);
System\Windows\Documents\FlowPosition.cs (2)
229Array.Copy(text.ToCharArray(flow._offset, maxLength), 0, chars, startIndex, maxLength);
233Array.Copy(text.ToCharArray(flow._offset - maxLength, maxLength), 0, chars, startIndex, maxLength);
System\Windows\Documents\TextSchema.cs (5)
57Array.Copy(textElementPropertyList, 0, _inheritableTextElementProperties, 0, textElementPropertyList.Length);
58Array.Copy(Typography.TypographyPropertiesList, 0, _inheritableTextElementProperties, textElementPropertyList.Length, Typography.TypographyPropertiesList.Length);
69Array.Copy(blockPropertyList, 0, _inheritableBlockProperties, 0, blockPropertyList.Length);
70Array.Copy(_inheritableTextElementProperties, 0, _inheritableBlockProperties, blockPropertyList.Length, _inheritableTextElementProperties.Length);
81Array.Copy(_inheritableTextElementProperties, 0, _inheritableTableCellProperties, tableCellPropertyList.Length, _inheritableTextElementProperties.Length);
System\Windows\Documents\TextTreeTextBlock.cs (8)
96Array.Copy(_text, 0, newText, 0, _gapOffset);
98Array.Copy(_text, _gapOffset + _gapSize, newText, newText.Length - rightOfGapLength, rightOfGapLength);
123Array.Copy(textChars, textStartIndex, _text, logicalOffset, count);
151Array.Copy(_text, 0, newBlock._text, 0, _gapOffset);
165Array.Copy(_text, _gapOffset, newBlock._text, _gapOffset, MaxBlockSize - _gapOffset);
250Array.Copy(_text, logicalOffset, chars, charsStartIndex, copyCount);
265Array.Copy(_text, logicalOffset, chars, charsStartIndex, copyCount);
483Array.Copy(_text, sourceOffset, _text, destinationOffset, count);
PresentationFramework-SystemCore (3)
DynamicAccessorImpl.cs (3)
114Array.Copy(args, 0, delegateArgs, 2, rank);
125Array.Copy(args, 0, delegateArgs, 2, rank);
141Array.Copy(_accessors, 0, newAccessors, 0, _accessors.Length);
ReachFramework (5)
System.Collections (13)
System\Collections\BitArray.cs (3)
632Array.Copy(m_array, fromIndex, m_array, 0, ints - fromIndex);
684Array.Copy(m_array, 0, m_array, lengthToClear, lastIndex + 1 - lengthToClear);
766Array.Copy(m_array, 0, intArray, index, quotient);
System\Collections\Generic\SortedList.cs (8)
661Array.Copy(keys, index, keys, index + 1, _size - index);
662Array.Copy(values, index, values, index + 1, _size - index);
692Array.Copy(keys, index + 1, keys, index, _size - index);
693Array.Copy(values, index + 1, values, index, _size - index);
1048Array.Copy(_dict.keys, 0, array, arrayIndex, _dict.Count);
1059Array.Copy(_dict.keys, 0, array!, arrayIndex, _dict.Count);
1162Array.Copy(_dict.values, 0, array, arrayIndex, _dict.Count);
1173Array.Copy(_dict.values, 0, array!, index, _dict.Count);
System.Collections.Concurrent (4)
System.Collections.Immutable (29)
System\Collections\Immutable\ImmutableArray_1.Builder.cs (14)
260Array.Copy(_elements, index, _elements, index + 1, this.Count - index);
282Array.Copy(_elements, index, _elements, index + count, _count - index);
314Array.Copy(_elements, index, _elements, index + items.Length, _count - index);
317Array.Copy(items.array!, 0, _elements, index, items.Length);
371Array.Copy(items, 0, _elements, offset, items.Length);
386Array.Copy(items, 0, _elements, offset, items.Length);
402Array.Copy(items, 0, _elements, offset, length);
569Array.Copy(_elements, index + 1, _elements, index, this.Count - index - 1);
598Array.Copy(_elements, index + length, _elements, index, this.Count - index - length);
703Array.Copy(_elements, 0, array, index, this.Count);
713Array.Copy(_elements, 0, destination, 0, this.Count);
729Array.Copy(_elements, sourceIndex, destination, destinationIndex, length);
1087Array.Copy(_elements, copied + removed, _elements, copied, copyLength);
1093Array.Copy(_elements, copied + removed, _elements, copied, _elements.Length - (copied + removed));
System\Collections\Immutable\ImmutableArray_1.cs (9)
333Array.Copy(self.array!, index, tmp, index + 1, self.Length - index);
371Array.Copy(self.array!, index, tmp, index + count, self.Length - index);
468Array.Copy(items, 0, tmp, self.Length, length);
492Array.Copy(items, 0, tmp, self.Length, items.Length);
662Array.Copy(self.array!, index + length, tmp, index, self.Length - index - length);
1375Array.Copy(self.array!, 0, array, index, self.Length);
1497Array.Copy(self.array!, copied + removed, newArray, copied, copyLength);
1503Array.Copy(self.array!, copied + removed, newArray, copied, self.Length - (copied + removed));
1522Array.Copy(array!, index, tmp, index + items.Length, Length - index);
System.Collections.NonGeneric (16)
System\Collections\Queue.cs (10)
88Array.Copy(_array, _head, q._array, 0, firstPart);
91Array.Copy(_array, 0, q._array, _array.Length - _head, numToCopy);
144Array.Copy(_array, _head, array, index, firstPart);
147Array.Copy(_array, 0, array, index + _array.Length - _head, numToCopy);
257Array.Copy(_array, _head, arr, 0, _size);
261Array.Copy(_array, _head, arr, 0, _array.Length - _head);
262Array.Copy(_array, 0, arr, _array.Length - _head, _tail);
278Array.Copy(_array, _head, newarray, 0, _size);
282Array.Copy(_array, _head, newarray, 0, _array.Length - _head);
283Array.Copy(_array, 0, newarray, _array.Length - _head, _tail);
System\Collections\SortedList.cs (6)
500Array.Copy(keys, index, keys, index + 1, _size - index);
501Array.Copy(values, index, values, index + 1, _size - index);
518Array.Copy(keys, index + 1, keys, index, _size - index);
519Array.Copy(values, index + 1, values, index, _size - index);
944Array.Copy(sortedList.keys, 0, array!, arrayIndex, sortedList.Count);
1047Array.Copy(sortedList.values, 0, array!, arrayIndex, sortedList.Count);
System.ComponentModel.TypeConverter (8)
System\ComponentModel\EventDescriptorCollection.cs (3)
120Array.Copy(_events, 0, array, index, Count);
211Array.Copy(_events, index, _events, index + 1, Count - index);
241Array.Copy(_events, index + 1, _events, index, Count - index - 1);
System\ComponentModel\PropertyDescriptorCollection.cs (3)
127Array.Copy(_properties, 0, array, index, Count);
244Array.Copy(_properties, index, _properties, index + 1, Count - index);
274Array.Copy(_properties, index + 1, _properties, index, Count - index - 1);
System.Data.Common (3)
System.IO.Compression (2)
System.Linq (1)
System.Linq.Expressions (9)
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (4)
135Array.Copy(_items, index, _items, index + 1, _size - index);
154Array.Copy(_items, index + 1, _items, index, _size - index);
226public void CopyTo(T[] array, int arrayIndex) => Array.Copy(_items, 0, array, arrayIndex, _size);
358Array.Copy(_items, 0, array, index, _size);
System.Linq.Parallel (2)
System.Net.Http (7)
System\Net\Http\SocketsHttpHandler\ConnectionPool\RequestQueue.cs (3)
99Array.Copy(_array, _head, newArray, 0, _size);
103Array.Copy(_array, _head, newArray, 0, _array.Length - _head);
104Array.Copy(_array, 0, newArray, _array.Length - _head, _tail);
System.Private.CoreLib (47)
src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (3)
109System.Array.Copy(_array!, _offset, destination, destinationIndex, _count);
122System.Array.Copy(_array!, _offset, destination._array!, destination._offset, _count);
165System.Array.Copy(_array!, _offset, array, 0, _count);
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (6)
255Array.Copy(_items, 0, array!, arrayIndex, _size);
270Array.Copy(_items, index, array!, arrayIndex, count);
392Array.Copy(_items, index, _items, index + 1, _size - index);
417Array.Copy(_items, index, _items, index + count, _size - index);
521Array.Copy(_items, index + 1, _items, index, _size - index);
542Array.Copy(_items, index + count, _items, index, _size - index);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (11)
397Array.Copy(_items, 0, array!, arrayIndex, _size);
417Array.Copy(_items, index, array, arrayIndex, count);
423Array.Copy(_items, 0, array, arrayIndex, _size);
481Array.Copy(_items, indexToInsert, newItems, indexToInsert + insertionCount, _size - indexToInsert);
691Array.Copy(_items, index, list._items, 0, count);
783Array.Copy(_items, index, _items, index + 1, _size - index);
832Array.Copy(_items, index, _items, index + count, _size - index);
839Array.Copy(_items, 0, _items, index, index);
841Array.Copy(_items, index + count, _items, index * 2, _size - index);
1010Array.Copy(_items, index + 1, _items, index, _size - index);
1040Array.Copy(_items, index + count, _items, index, _size - index);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Queue.cs (10)
113Array.Copy(_array, _head, array, arrayIndex, firstPart);
117Array.Copy(_array, 0, array, arrayIndex + _array.Length - _head, numToCopy);
152Array.Copy(_array, _head, array, index, firstPart);
157Array.Copy(_array, 0, array, index + _array.Length - _head, numToCopy);
297Array.Copy(_array, _head, arr, 0, _size);
301Array.Copy(_array, _head, arr, 0, _array.Length - _head);
302Array.Copy(_array, 0, arr, _array.Length - _head, _tail);
318Array.Copy(_array, _head, newarray, 0, _size);
322Array.Copy(_array, _head, newarray, 0, _array.Length - _head);
323Array.Copy(_array, 0, newarray, _array.Length - _head, _tail);
System.Private.CoreLib.Generators (2)
System.Private.DataContractSerialization (5)
System.Private.Xml (12)
System\Xml\BinaryXml\XmlBinaryReader.cs (4)
2011System.Array.Copy(data, mark, newdata, 0, cbKeep);
2016System.Array.Copy(data, mark, data, 0, cbKeep);
4143Array.Copy(_data, _tokDataPos, data, 0, _tokLen);
4323Array.Copy(_data, _tokDataPos, data, 0, _tokLen);
System.Reflection.Context (6)
System\Reflection\Context\Projection\ProjectingType.cs (6)
248Array.Copy(methods, 0, members, i, methods.Length); i += methods.Length;
249Array.Copy(constructors, 0, members, i, constructors.Length); i += constructors.Length;
250Array.Copy(properties, 0, members, i, properties.Length); i += properties.Length;
251Array.Copy(events, 0, members, i, events.Length); i += events.Length;
252Array.Copy(fields, 0, members, i, fields.Length); i += fields.Length;
253Array.Copy(nestedTypes, 0, members, i, nestedTypes.Length); i += nestedTypes.Length;
System.Reflection.Metadata (1)
System.Reflection.MetadataLoadContext (3)
System.Security.Cryptography (3)
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\RegexRunner.cs (3)
457Array.Copy(runtrack, 0, newtrack, runtrack.Length, runtrack.Length);
470Array.Copy(runstack, 0, newstack, runstack.Length, runstack.Length);
482Array.Copy(runcrawl, 0, newcrawl, runcrawl.Length, runcrawl.Length);
System.Threading.Channels (2)
System.Threading.RateLimiting (2)
System.Threading.Tasks.Dataflow (1)
System.Transactions.Local (1)
System.Windows.Controls.Ribbon (1)
System.Xaml (7)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\FrugalList.cs (4)
1323Array.Copy(_entries, 0, destEntries, 0, _entries.Length);
1348Array.Copy(_entries, index, _entries, index + 1, _count - index);
1382Array.Copy(_entries, index + 1, _entries, index, numToCopy);
1547Array.Copy(_sourceArray, start, _targetArray, _validItemCount, size);
System\Xaml\Parser\NodeStreamSorter.cs (3)
661Array.Copy(_sortingInfoArray, beginning, temp, 0, length1);
665Array.Copy(_sortingInfoArray, middle, _sortingInfoArray, beginning, length2);
669Array.Copy(temp, 0, _sortingInfoArray, beginning + length2, length1);
UIAutomationClient (2)
UIAutomationTypes (2)