375 references to Copy
AssemblyStripper (3)
.packages\microsoft.dotnet.cilstrip.sources\9.0.0-beta.24256.1\contentFiles\cs\netstandard2.0\Mono.Cecil.Signatures\SignatureReader.cs (1)
392 Array.Copy (next, 0, mods, original.Length, next.Length);
.packages\microsoft.dotnet.cilstrip.sources\9.0.0-beta.24256.1\contentFiles\cs\netstandard2.0\Mono.Cecil\AssemblyNameReference.cs (1)
138 Array.Copy (hash, (hash.Length - 8), m_publicKeyToken, 0, 8);
.packages\microsoft.dotnet.cilstrip.sources\9.0.0-beta.24256.1\contentFiles\cs\netstandard2.0\Mono.Xml\SmallXmlParser.cs (1)
318 Array.Copy (nameBuffer, 0, tmp, 0, idx);
http2cat (2)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (2)
86Array.Copy(_buffer, _removeIndex, newBuffer, 0, headCount); 87Array.Copy(_buffer, 0, newBuffer, headCount, tailCount);
IIS.FunctionalTests (2)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (2)
86Array.Copy(_buffer, _removeIndex, newBuffer, 0, headCount); 87Array.Copy(_buffer, 0, newBuffer, headCount, tailCount);
IIS.LongTests (2)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (2)
86Array.Copy(_buffer, _removeIndex, newBuffer, 0, headCount); 87Array.Copy(_buffer, 0, newBuffer, headCount, tailCount);
IIS.NewHandler.FunctionalTests (2)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (2)
86Array.Copy(_buffer, _removeIndex, newBuffer, 0, headCount); 87Array.Copy(_buffer, 0, newBuffer, headCount, tailCount);
IIS.NewShim.FunctionalTests (2)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (2)
86Array.Copy(_buffer, _removeIndex, newBuffer, 0, headCount); 87Array.Copy(_buffer, 0, newBuffer, headCount, tailCount);
IISExpress.FunctionalTests (2)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (2)
86Array.Copy(_buffer, _removeIndex, newBuffer, 0, headCount); 87Array.Copy(_buffer, 0, newBuffer, headCount, tailCount);
ILCompiler.DependencyAnalysisFramework (1)
src\coreclr\tools\Common\Sorting\ArrayAccessor.cs (1)
12Array.Copy(source, sourceIndex, target, destIndex, length);
Microsoft.AspNetCore.Components (7)
src\Components\Shared\src\ArrayBuilder.cs (1)
153Array.Copy(_items, index, _items, index + 1, _itemsInUse - index);
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)
Circuits\CircuitIdFactory.cs (2)
38Array.Copy( 70Array.Copy(
src\Components\Shared\src\ArrayBuilder.cs (1)
153Array.Copy(_items, index, _items, index + 1, _itemsInUse - index);
Microsoft.AspNetCore.Components.WebView (1)
src\Components\Shared\src\ArrayBuilder.cs (1)
153Array.Copy(_items, index, _items, index + 1, _itemsInUse - index);
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\KeyRingBasedDataProtector.cs (1)
50Array.Copy(originalPurposes, 0, newPurposes, 0, originalPurposes.Length);
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)
Extensions\UseMiddlewareExtensions.cs (1)
129Array.Copy(_args, 0, ctorArgs, 1, _args.Length);
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)
src\Shared\PropertyAsParameterInfo.cs (2)
153Array.Copy(propertyAttributes, 0, mergedAttributes, constructorAttributes.Length, propertyAttributes.Length); 173Array.Copy(propertyAttributes, 0, mergedAttributes, constructorAttributes.Length, propertyAttributes.Length);
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
src\Shared\PropertyAsParameterInfo.cs (2)
153Array.Copy(propertyAttributes, 0, mergedAttributes, constructorAttributes.Length, propertyAttributes.Length); 173Array.Copy(propertyAttributes, 0, mergedAttributes, constructorAttributes.Length, propertyAttributes.Length);
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Buffers\PagedCharBuffer.cs (1)
84Array.Copy(
Buffers\ViewBuffer.cs (1)
345Array.Copy(
Microsoft.AspNetCore.OpenApi (2)
src\Shared\PropertyAsParameterInfo.cs (2)
153Array.Copy(propertyAttributes, 0, mergedAttributes, constructorAttributes.Length, propertyAttributes.Length); 173Array.Copy(propertyAttributes, 0, mergedAttributes, constructorAttributes.Length, propertyAttributes.Length);
Microsoft.AspNetCore.Routing (4)
ArrayBuilder.cs (2)
119Array.Copy(_array, 0, result, 0, _count); 163Array.Copy(_array, 0, next, 0, _count);
Matching\DfaMatcher.cs (1)
138Array.Copy(prototype, 0, slots, 0, prototype.Length);
Template\TemplateBinder.cs (1)
165Array.Copy(_slots, 0, slots, 0, slots.Length);
Microsoft.AspNetCore.Server.HttpSys (1)
src\Shared\HttpSys\NativeInterop\SocketAddress.cs (1)
56Array.Copy(_buffer, 8, bytes, 0, NumberOfIPv6Labels * 2);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (2)
86Array.Copy(_buffer, _removeIndex, newBuffer, 0, headCount); 87Array.Copy(_buffer, 0, newBuffer, headCount, tailCount);
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\HttpSys\NativeInterop\SocketAddress.cs (1)
56Array.Copy(_buffer, 8, bytes, 0, NumberOfIPv6Labels * 2);
Microsoft.AspNetCore.Server.Kestrel.Core (2)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (2)
86Array.Copy(_buffer, _removeIndex, newBuffer, 0, headCount); 87Array.Copy(_buffer, 0, newBuffer, headCount, tailCount);
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);
UTF8Decoding.cs (1)
37Array.Copy(bytes, 0, byteRange, position, bytes.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);
src\Shared\HttpSys\NativeInterop\SocketAddress.cs (1)
56Array.Copy(_buffer, 8, bytes, 0, NumberOfIPv6Labels * 2);
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (2)
86Array.Copy(_buffer, _removeIndex, newBuffer, 0, headCount); 87Array.Copy(_buffer, 0, newBuffer, headCount, tailCount);
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)
TestWebSocket.cs (2)
143Array.Copy(receiveMessage.Buffer.Array!, receiveMessage.Buffer.Offset, buffer.Array!, buffer.Offset, count); 291Array.Copy(message.Buffer.Array!, message.Buffer.Offset, array, 0, message.Buffer.Count);
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)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
584Array.Copy(handles, 0, allHandles, 1, handles.Length);
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);
Collections\RetrievableEntryHashSet\HashSet.cs (1)
791Array.Copy(_slots, 0, newSlots, 0, _lastIndex);
Microsoft.Build.Engine (1)
Engine\TaskExecutionModule.cs (1)
367Array.Copy(resultsArrayBreadthFirst, 0, buildResultsLocal, currentRequestIndex, numberOfRequestsToSend);
Microsoft.Build.Framework (2)
SegmentedArray.cs (2)
66Array.Copy(segment.Array!, sourceIndex: segment.Offset, destinationArray: destinationArray, destinationIndex: copied, length: segment.Count); 161Array.Copy(segment.Array!, sourceIndex: segment.Offset, destinationArray: destinationArray, destinationIndex: destinationIndex + copied, length: segment.Count);
Microsoft.Build.Tasks.Core (3)
Hash.cs (2)
157Array.Copy(byteBuffer, bytesProcessed, shaBuffer, shaBufferPosition, shaBufferFreeSpace); 166Array.Copy(byteBuffer, bytesProcessed, shaBuffer, shaBufferPosition, byteCount);
StreamMappedString.cs (1)
275Array.Copy(_priorPage, i + 1, _priorPage, i, _charactersRead - i - 1);
Microsoft.CSharp (3)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (1)
178Array.Copy(args, 1, newArgs, 0, args.Length - 1);
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)
src\GenerateGuidFromName.cs (1)
34Array.Copy(nameBytes, 0, streamToHash, namespaceBytes.Length, nameBytes.Length);
Microsoft.DotNet.RemoteExecutor (1)
Program.cs (1)
118Array.Copy(arr, offset, newArr, 0, count);
Microsoft.Extensions.Primitives (1)
StringValues.cs (1)
363Array.Copy(values, 0, array, arrayIndex, values.Length);
Microsoft.JSInterop (1)
src\Components\Shared\src\ArrayBuilder.cs (1)
153Array.Copy(_items, index, _items, index + 1, _itemsInUse - index);
Microsoft.VisualBasic.Core (4)
Microsoft\VisualBasic\CompilerServices\Utils.vb (1)
111Global.System.Array.Copy(arySrc, i * lenSrcLastRank, aryDest, i * lenDestLastRank, lenCopy)
Microsoft\VisualBasic\FileIO\FileSystem.vb (2)
2205Array.Copy(sourceArray:=m_PreviousCharBuffer, sourceIndex:=0, 2218Array.Copy(sourceArray:=CharBuffer, sourceIndex:=(CharBuffer.Length - m_SearchText.Length),
Microsoft\VisualBasic\FileIO\TextFieldParser.vb (1)
696Array.Copy(m_Buffer, m_Position, m_Buffer, 0, ContentLength)
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);
XMake.cs (1)
383Array.Copy(args, 0, newArgArray, 1, args.Length);
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);
Concurrent\ConcurrentDictionary.cs (1)
408Array.Copy(tables._locks, 0, newLocks, 0, tables._locks.Length);
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XmlnsDictionary.cs (1)
641Array.Copy(_nsDeclarations, 0, new_nsDeclarations, 0, _nsDeclarations.Length);
PresentationCore (9)
MS\Internal\Shaping\OpenTypeLayout.cs (2)
1324Array.Copy(_cachePointers, oldAfterLastGlyphChanged, tmp, afterLastGlyphChanged, oldLength - oldAfterLastGlyphChanged); 1330Array.Copy(_cachePointers, oldAfterLastGlyphChanged, _cachePointers, afterLastGlyphChanged, oldLength - oldAfterLastGlyphChanged);
System\Windows\ClassHandlersStore.cs (1)
63Array.Copy(handlers.Handlers, 0, mergedHandlers, 0, length);
System\Windows\Input\Stylus\Common\TabletDeviceCollection.cs (1)
54Array.Copy(TabletDevices.ToArray(), 0, array, index, Count);
System\Windows\InterOp\HwndPointerInputProvider.cs (1)
178Array.Copy(rawPointerData, j, data, i, rawDataPointSize);
System\Windows\Media\FamilyMapCollection.cs (2)
96Array.Copy(_items, 0, array, index, _count); 117Array.Copy(_items, 0, array, index, _count);
System\Windows\Media\FamilyTypefaceCollection.cs (1)
398Array.Copy(_items, 0, array, index, _count);
System\Windows\Media\VisualCollection.cs (1)
274Array.Copy(_items, 0, newItems, 0, _size);
PresentationFramework (43)
MS\Internal\Data\RBNode.cs (1)
308Array.Copy(sourceNode._data, sourceOffset, destNode._data, destOffset, count);
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\IO\Packaging\ByteStream.cs (1)
303Array.Copy(localBuffer, 0, buffer, offset, read);
MS\Internal\PtsHost\DtrList.cs (1)
131Array.Copy(_dtrs, i, _dtrs, i+1, _count-i);
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);
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\ItemMap.cs (2)
47Array.Copy(Entries, 0, destEntries, 0, index); 51Array.Copy(Entries, index, destEntries, index + 1, Count - 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\Data\BindingExpression.cs (1)
1246Array.Copy(newWorkerSources, 0, newSources, offset, n);
System\Windows\Data\BindingExpressionBase.cs (2)
481Array.Copy(temp, 0, result, 0, j); 2915Array.Copy(sources, 0, temp, 0, n);
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\ImmComposition.cs (2)
950Array.Copy(resultChars, 0, compositionText, 0, resultLength); 951Array.Copy(compositionChars, 0, compositionText, resultLength, compositionLength);
System\Windows\Documents\Speller.cs (1)
967Array.Copy(data.TextMap.Text, sTextRange.Start, word, 0, sTextRange.Length);
System\Windows\Documents\TextElementCollectionHelper.cs (1)
117Array.Copy(_cleanParentList, 0, _cleanParentList, 1, index);
System\Windows\Documents\TextPointerBase.cs (2)
1465Array.Copy(preceedingText, SelectionWordBreaker.MinContextLength - preceedingCount, text, 0, preceedingCount); 1466Array.Copy(followingText, 0, text, preceedingCount, followingCount);
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);
System\Windows\Markup\XmlnsDictionary.cs (1)
641Array.Copy(_nsDeclarations, 0, new_nsDeclarations, 0, _nsDeclarations.Length);
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)
AlphaFlattener\Utility.cs (1)
1422Array.Copy(
MS\Internal\Printing\Configuration\DevMode.cs (1)
477Array.Copy(ticketDevMode.ByteData, this.dmFieldsByteOffset, this.ByteData, this.dmFieldsByteOffset, this.ByteData.Length - this.dmFieldsByteOffset);
PrintConfig\PTProvider.cs (1)
686Array.Copy(src, (int)totalBytesWritten, data, 0, bytesToWrite);
Serialization\Manager\ReachSerializationUtils.cs (2)
233Array.Copy(List, 0, array, 0, Count); 269Array.Copy(List, index + 1, List, index, (Count - index - 1));
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\PriorityQueue.cs (1)
961Array.Copy(_queue._nodes, 0, array, index, _queue._size);
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\Generic\Stack.cs (1)
146Array.Copy(_array, 0, array, arrayIndex, _size);
System.Collections.Concurrent (4)
System\Collections\Concurrent\BlockingCollection.cs (1)
1566Array.Copy(collectionSnapShot, 0, array, index, collectionSnapShot.Length);
System\Collections\Concurrent\ConcurrentBag.cs (2)
799Array.Copy(_array, headIdx, newArray, 0, _array.Length - headIdx); 800Array.Copy(_array, 0, newArray, _array.Length - headIdx, headIdx);
System\Collections\Concurrent\PartitionerStatic.cs (1)
652Array.Copy(fillBufferLocalRef, beginPos, destArray, 0, actualNumElementsGrabbed);
System.Collections.Immutable (29)
System\Collections\Frozen\FrozenSet.cs (1)
256Array.Copy(items, 0, array!, index, items.Length);
System\Collections\Immutable\ImmutableArray.cs (1)
260Array.Copy(items.array!, start, array, 0, length);
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\Immutable\ImmutableArray_1.Minimal.cs (2)
242Array.Copy(self.array!, 0, destination, destinationIndex, self.Length); 256Array.Copy(self.array!, sourceIndex, destination, destinationIndex, length);
System\Collections\Immutable\ImmutableExtensions.Minimal.cs (2)
120Array.Copy(sourceArray, 0, array, arrayIndex, sourceArray.Length); 126Array.Copy(immutable.array!, 0, array, arrayIndex, immutable.Length);
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\AttributeCollection.cs (1)
342public void CopyTo(Array array, int index) => Array.Copy(Attributes, 0, array, index, Attributes.Length);
System\ComponentModel\Container.cs (1)
203Array.Copy(_sites, i + 1, _sites, i, _siteCount - i);
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\Data\Common\DataRecordInternal.cs (2)
140Array.Copy(data, ndataIndex, buffer, bufferIndex, cbytes); 216Array.Copy(data, ndataIndex, buffer, bufferIndex, cchars);
System\Data\DataError.cs (1)
85Array.Copy(_errorList, i + 1, _errorList, i, _count - i - 1);
System.IO.Compression (2)
System\IO\Compression\DeflateManaged\InflaterManaged.cs (1)
679Array.Copy(_codeList, _literalLengthCodeCount, distanceTreeCodeLength, 0, _distanceCodeCount);
System\IO\Compression\DeflateManaged\OutputWindow.cs (1)
55Array.Copy(_window, copyStart, _window, _end, length);
System.Linq (1)
System\Linq\Grouping.cs (1)
410Array.Copy(_elements, 0, array, arrayIndex, _count);
System.Linq.Expressions (9)
System\Dynamic\Utils\CollectionExtensions.cs (1)
40Array.Copy(array, 1, result, 0, result.Length);
System\Linq\Expressions\Compiler\StackSpiller.ChildRewriter.cs (1)
457Array.Copy(_expressions, first, clone, 0, count);
System\Runtime\CompilerServices\CallSite.cs (2)
253Array.Copy(rules, 0, temp, 1, rules.Length); 258Array.Copy(rules, 0, temp, 1, MaxRules - 1);
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\Runtime\CompilerServices\RuleCache.cs (1)
101Array.Copy(rules, InsertPosition, newRules, InsertPosition + 1, newLength - InsertPosition - 1);
System.Linq.Parallel (2)
System\Linq\Parallel\Utils\GrowingArray.cs (1)
72Array.Copy(otherArray, 0, _array, _count, otherCount);
System\Linq\Parallel\Utils\Sorting.cs (1)
554Array.Copy(myValues, 0, mergedValues, leftCount, myValues.Length);
System.Net.Http (7)
src\libraries\Common\src\System\Net\Http\aspnetcore\Http2\Hpack\DynamicTable.cs (2)
86Array.Copy(_buffer, _removeIndex, newBuffer, 0, headCount); 87Array.Copy(_buffer, 0, newBuffer, headCount, tailCount);
System\Net\Http\Headers\ObjectCollection.cs (2)
99Array.Copy(items, 0, array, arrayIndex, _size); 135Array.Copy(items, index + 1, items, index, _size - index);
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\Array.cs (2)
353Copy(sourceArray, isourceIndex, destinationArray, idestinationIndex, ilength); 1056Copy(this, GetLowerBound(0), array!, index, Length);
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);
src\libraries\System.Private.CoreLib\src\System\DefaultBinder.cs (2)
357Array.Copy(args, paramArrayPos, (Array)objs[paramArrayPos], 0, args.Length - paramArrayPos); 442Array.Copy(args, paramArrayPos, (Array)objs[paramArrayPos], 0, args.Length - paramArrayPos);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\StackTrace.cs (1)
173Array.Copy(_stackFrames, _methodsToSkip, array, 0, _numOfFrames);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (1)
3386Array.Copy(args, 1, newargs, 0, args.Length - 1);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\ConcurrentSet.cs (1)
104Array.Copy(oldItems, lo, newItems, lo + 1, oldLength - lo);
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.cs (1)
1718Array.Copy(calendars, 1, calendars, 2, 23 - 1 - 1);
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (1)
1444Array.Copy(patterns, 0, newPatterns, 1, patterns.Length);
src\libraries\System.Private.CoreLib\src\System\Reflection\Assembly.cs (1)
68Array.Copy(moduleTypes[i], 0, ret, current, length);
src\libraries\System.Private.CoreLib\src\System\Threading\AsyncLocal.cs (1)
430if (i != _keyValues.Length - 1) Array.Copy(_keyValues, i + 1, newValues, i, _keyValues.Length - i - 1);
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WaitThread.cs (2)
331Array.Copy(_registeredWaits, removeAt + 1, _registeredWaits, removeAt, count - (removeAt + 1)); 337Array.Copy(_waitHandles, removeAt + 1, _waitHandles, removeAt, count - (removeAt + 1));
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (2)
68Array.Copy(oldQueues, 1, newQueues, 0, newQueues.Length); 77Array.Copy(oldQueues, pos + 1, newQueues, pos, newQueues.Length - pos);
src\System\Array.CoreCLR.cs (1)
723Array.Copy(@this, 0, array, index, @this.Length);
src\System\RuntimeType.CoreCLR.cs (1)
104Array.Copy(_items!, 0, array, index, _count);
System.Private.CoreLib.Generators (2)
IntrinsicsInSystemPrivateCoreLibAnalyzer.cs (2)
260Array.Copy(decomposedRight, 0, retVal, decomposedLeft.Length, decomposedRight.Length); 349Array.Copy(decomposedRight, 0, retVal, decomposedLeft.Length, decomposedRight.Length);
System.Private.DataContractSerialization (5)
System\Xml\ArrayHelper.cs (2)
56Array.Copy(arrays![i], 0, newArray, offset, arrays[i].Length); 59Array.Copy(array, 0, newArray, offset, totalRead - offset);
System\Xml\XmlBaseReader.cs (2)
1452Array.Copy(_trailChars!, 0, chars, charCount, _trailCharCount); 1484Array.Copy(chars, charCount, _trailChars, 0, _trailCharCount);
System\Xml\XmlCanonicalWriter.cs (1)
732Array.Copy(_xmlnsAttributes, xmlnsAttributeIndex, _xmlnsAttributes, xmlnsAttributeIndex + 1, _xmlnsAttributeCount - xmlnsAttributeIndex);
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\Xml\Core\XmlEventCache.cs (1)
571Array.Copy(buffer, index, bufferNew, 0, count);
System\Xml\Core\XmlTextReaderImpl.cs (2)
4502Array.Copy(_nodes, _index + 1, nameSortedAttributes, 0, _attrCount); 5007Array.Copy(_nodes, _index + 1, _attrDuplSortingArray, 0, _attrCount);
System\Xml\XPath\Internal\XPathMultyIterator.cs (1)
55Array.Copy(arr, firstNotEmpty, arr, firstNotEmpty + 1, pos - firstNotEmpty);
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
139Array.Copy(paramTypes, 0, paramTypesNew, 1, paramTypes.Length);
System\Xml\Xsl\QIL\QilList.cs (2)
130Array.Copy(_members, index, _members, index + 1, _count - index); 146Array.Copy(_members, index + 1, _members, index, _count - index);
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (1)
163Array.Copy(_items, 0, array, index, _size);
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\Metadata\BlobBuilder.cs (1)
290Array.Copy(chunk._buffer, bufferStart - chunkStart, result, bufferStart - start, bytesToCopy);
System.Reflection.MetadataLoadContext (3)
System\Reflection\Runtime\General\ListBuilder.cs (1)
65Array.Copy(_items!, 0, array, index, _count);
System\Reflection\TypeLoading\General\Ecma\MetadataTable.cs (1)
62Array.Copy(_table, skip, newArray, 0, newArray.Length);
System\Reflection\TypeLoading\General\Helpers.cs (1)
33Array.Copy(sourceArray: original, sourceIndex: 0, destinationArray: copy, destinationIndex: 0, length: original.Length);
System.Security.Cryptography (3)
System\Security\Cryptography\OidCollection.cs (1)
99Array.Copy(_oids, 0, array, index, _count);
System\Security\Cryptography\TripleDesImplementation.cs (1)
73Array.Copy(rgbKey, 0, newkey, 16, 8);
System\Security\Cryptography\X509Certificates\UnixPkcs12Reader.cs (1)
814Array.Copy(oldRent, 0, newRent, 0, idx);
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)
src\libraries\Common\src\System\Collections\Generic\Deque.cs (2)
131Array.Copy(_array, _head, newArray, 0, _array.Length - _head); 132Array.Copy(_array, 0, newArray, _array.Length - _head, _tail);
System.Threading.RateLimiting (2)
src\libraries\Common\src\System\Collections\Generic\Deque.cs (2)
131Array.Copy(_array, _head, newArray, 0, _array.Length - _head); 132Array.Copy(_array, 0, newArray, _array.Length - _head, _tail);
System.Threading.Tasks.Dataflow (1)
Internal\ImmutableArray.cs (1)
73Array.Copy(_array, index + 1, newArray, index, _array.Length - index - 1);
System.Transactions.Local (1)
System\Transactions\TransactionState.cs (1)
492Array.Copy(
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\NativeMethods.cs (1)
469Array.Copy(handleTypes, 0, newTypes, 0, handleTypeCount);
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)
MS\Internal\Automation\Misc.cs (2)
95Array.Copy(a, 0, combined, pos, l); 136Array.Copy(a, 0, a2, 0, newLength);
UIAutomationTypes (2)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\HandleCollector.cs (1)
47Array.Copy(handleTypes, 0, newTypes, 0, handleTypeCount);
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsCLR.cs (1)
5943Array.Copy(bytes, 0, buffer, offset, count);