581 references to Copy
dotnet-svcutil-lib (62)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (8)
1913System.Array.Copy(symtable, 0, n, 0, symNum);
1929System.Array.Copy(qnametable, 0, n, 0, qnameNum);
2022System.Array.Copy(data, mark, newdata, 0, cbKeep);
2027System.Array.Copy(data, mark, data, 0, cbKeep);
2434System.Array.Copy(_elementStack, 0, n, 0, _elementStack.Length);
2443System.Array.Copy(_attributes, 0, n, 0, _attrCount);
4174Array.Copy(_data, _tokDataPos, data, 0, _tokLen);
4354Array.Copy(_data, _tokDataPos, data, 0, _tokLen);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (4)
4594Array.Copy(_nodes, _index + 1, nameSortedAttributes, 0, _attrCount);
5135Array.Copy(_nodes, _index + 1, _attrDuplSortingArray, 0, _attrCount);
7789Array.Copy(_nodes, 0, newNodes, 0, _nodes.Length);
8248Array.Copy(_parsingStatesStack, 0, newParsingStateStack, 0, _parsingStatesStack.Length);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ClassDataContract.cs (4)
507Array.Copy(baseChildElementNamespaces, 0, childElementNamespaces, 0, baseChildElementNamespaces.Length);
835Array.Copy(BaseContract.MemberNames, 0, MemberNames, 0, baseMemberCount);
837Array.Copy(BaseContract.MemberNamespaces, 0, MemberNamespaces, 0, baseMemberCount);
840Array.Copy(BaseContract.ContractNamespaces, 0, ContractNamespaces, 0, baseContractCount);
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseReader.cs (10)
300Array.Copy(_elementNodes, 0, newElementNodes, 0, _depth);
334Array.Copy(_attributeNodes, 0, newAttributeNodes, 0, attributeIndex);
1373Array.Copy(_trailBytes, 0, buffer, offset, actual);
1375Array.Copy(_trailBytes, actual, _trailBytes, 0, _trailByteCount);
1399Array.Copy(_trailChars, 0, chars, charCount, _trailCharCount);
1432Array.Copy(chars, charCount, _trailChars, 0, _trailCharCount);
1443Array.Copy(_trailBytes, 0, buffer, offset, actual);
1445Array.Copy(_trailBytes, actual, _trailBytes, 0, _trailByteCount);
2697Array.Copy(_attributes, 0, newAttributes, 0, _attributeCount);
2735Array.Copy(_namespaces, 0, newNamespaces, 0, _nsCount);
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseWriter.cs (3)
619Array.Copy(_elements, 0, newElementNodes, 0, _depth);
1856Array.Copy(_attributes, 0, newAttributes, 0, _attributeCount);
1950Array.Copy(_namespaces, 0, newNamespaces, 0, _nsCount);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BufferedWriteStream.cs (3)
86Array.Copy(_buffer, 0, shadowBuffer, 0, _writePos);
244Array.Copy(array, offset, _buffer, _writePos, bytesToWrite);
380Array.Copy(array, offset, _buffer, _writePos, count);
Extensibility.MessageEncoder.IntegrationTests (2)
http2cat (2)
IdeCoreBenchmarks (2)
IIS.FunctionalTests (2)
IIS.LongTests (2)
IIS.NewHandler.FunctionalTests (2)
IIS.NewShim.FunctionalTests (2)
IISExpress.FunctionalTests (2)
Microsoft.AspNetCore.Components (6)
src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (5)
460Array.Copy(storage, 0, array, arrayIndex, _count);
497Array.Copy(array, index + 1, array, index, _count - index);
528Array.Copy(array, index + 1, array, index, _count - index);
568Array.Copy(array, index + 1, array, index, _count - index);
698Array.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)
240Array.Copy(other, 0, storage, 0, count);
460Array.Copy(storage, 0, array, arrayIndex, _count);
497Array.Copy(array, index + 1, array, index, _count - index);
528Array.Copy(array, index + 1, array, index, _count - index);
568Array.Copy(array, index + 1, array, index, _count - index);
698Array.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.FunctionalTests (2)
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 (7)
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 (9)
BufferedReadStream.cs (7)
78Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, _currentlyBufferedByteCount);
89Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, count);
100Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, _currentlyBufferedByteCount);
121Array.Copy(_buffer, 0, buffer, offset + alreadyCopied, remainingCopyCount);
145Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, count);
162Array.Copy(_buffer, 0, buffer, offset + alreadyCopied, remainingCopyCount);
174Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, _currentlyBufferedByteCount);
Microsoft.Build.Framework (2)
Microsoft.Build.Tasks.Core (3)
Microsoft.CodeAnalysis (12)
InternalUtilities\ArrayExtensions.cs (4)
25Array.Copy(array, start, newArray, 0, length);
39Array.Copy(array, position, newArray, position + 1, array.Length - position);
61Array.Copy(array, position, newArray, position + items.Length, array.Length - position);
93Array.Copy(array, position + length, newArray, position, newArray.Length - position);
Microsoft.CodeAnalysis.CodeStyle (8)
src\Compilers\Core\Portable\InternalUtilities\ArrayExtensions.cs (4)
25Array.Copy(array, start, newArray, 0, length);
39Array.Copy(array, position, newArray, position + 1, array.Length - position);
61Array.Copy(array, position, newArray, position + items.Length, array.Length - position);
93Array.Copy(array, position + length, newArray, position, newArray.Length - position);
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.Collections.Package (2)
Microsoft.CodeAnalysis.CSharp (4)
Microsoft.CodeAnalysis.InteractiveHost (2)
Microsoft.CodeAnalysis.Threading.Package (2)
Microsoft.CodeAnalysis.UnitTests (4)
Microsoft.CodeAnalysis.Workspaces (10)
src\Compilers\Core\Portable\InternalUtilities\ArrayExtensions.cs (4)
25Array.Copy(array, start, newArray, 0, length);
39Array.Copy(array, position, newArray, position + 1, array.Length - position);
61Array.Copy(array, position, newArray, position + items.Length, array.Length - position);
93Array.Copy(array, position + length, newArray, position, newArray.Length - position);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (10)
src\Compilers\Core\Portable\InternalUtilities\ArrayExtensions.cs (4)
25Array.Copy(array, start, newArray, 0, length);
39Array.Copy(array, position, newArray, position + 1, array.Length - position);
61Array.Copy(array, position, newArray, position + items.Length, array.Length - position);
93Array.Copy(array, position + length, newArray, position, newArray.Length - position);
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.Data.Analysis (1)
Microsoft.Data.Analysis.Tests (1)
Microsoft.DotNet.Build.Tasks.Installers (1)
Microsoft.DotNet.RemoteExecutor (1)
Microsoft.DotNet.StrongName (1)
Microsoft.Extensions.Primitives (1)
Microsoft.JSInterop (1)
Microsoft.Maui (2)
Microsoft.Maui.Controls (4)
SetterSpecificityList.cs (4)
143 Array.Copy(_keys, lo, _keys, lo + 1, count - lo);
144 Array.Copy(_values, lo, _values, lo + 1, count - lo);
197 Array.Copy(_keys, nextIndex, _keys, index, count - nextIndex);
198 Array.Copy(_values, nextIndex, _values, index, count - nextIndex);
Microsoft.ML.AutoML (4)
Microsoft.ML.Core (2)
Microsoft.ML.CpuMath (2)
Microsoft.ML.FastTree (21)
Dataset\Dataset.cs (6)
394Array.Copy(activeFeatures, 0, truncatedActiveFeatures, 0, NumFeatures);
601Array.Copy(perm, posInPerm, queries[p], 0, numQueries[p]);
716Array.Copy(parts[p].Ratings, 0, concatRatings, docBegin, numDocs);
717Array.Copy(parts[p].DocIds, 0, concatDocIds, docBegin, numDocs);
718Array.Copy(parts[p].QueryIds, 0, concatQueryIds, queryBegin, numQueries);
854Array.Copy(arrays[i], 0, a, start, lengths[i]);
Training\DocumentPartitioning.cs (3)
229Array.Copy(_tempDocuments, begin, _documents, newEnd, gtCount);
277Array.Copy(_tempDocuments, begin, _documents, newEnd, gtCount);
353Array.Copy(_documents, _leafBegin[leaf], documents, 0, _leafCount[leaf]);
Utils\Algorithms.cs (3)
158Array.Copy(arrays[i], 0, working, begin, arrays[i].Length);
179Array.Copy(tmp, begins[fromArray], working, begins[fromArray], length);
188Array.Copy(tmp, begins[fromArray], working, begins[fromArray], length);
Utils\ToByteArrayExtensions.cs (4)
231Array.Copy(bytes, 0, buffer, position, bytes.Length);
241Array.Copy(bytes, 0, allBytes, position, bytes.Length);
263Array.Copy(a, 0, buffer, position, a.Length);
272Array.Copy(buffer, position, a, 0, length);
Microsoft.ML.InternalCodeAnalyzer (1)
Microsoft.ML.PCA (1)
Microsoft.ML.StandardTrainers (4)
Microsoft.ML.Sweeper (2)
Microsoft.ML.TestFramework (1)
Microsoft.ML.TimeSeries (3)
Microsoft.ML.Tokenizers.Tests (6)
UnigramTests.cs (6)
359Array.Copy(ids, 0, expectedIds, 1, ids.Length);
361Array.Copy(ids, 0, expectedIds, ids.Length + 2, ids.Length);
367Array.Copy(tokens, 0, expectedTokens, 1, tokens.Length);
369Array.Copy(tokens, 0, expectedTokens, tokens.Length + 2, tokens.Length);
467Array.Copy(ids, 0, expectedIds, 1, ids.Length);
469Array.Copy(ids, 0, expectedIds, ids.Length + 2, ids.Length);
Microsoft.ML.Transforms (1)
Microsoft.VisualBasic.Core (4)
MSBuild (8)
BufferedReadStream.cs (7)
78Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, _currentlyBufferedByteCount);
89Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, count);
100Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, _currentlyBufferedByteCount);
121Array.Copy(_buffer, 0, buffer, offset + alreadyCopied, remainingCopyCount);
145Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, count);
162Array.Copy(_buffer, 0, buffer, offset + alreadyCopied, remainingCopyCount);
174Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, _currentlyBufferedByteCount);
MSBuildTaskHost (5)
BufferedReadStream.cs (4)
78Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, _currentlyBufferedByteCount);
89Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, count);
100Array.Copy(_buffer, _currentIndexInBuffer, buffer, offset, _currentlyBufferedByteCount);
121Array.Copy(_buffer, 0, buffer, offset + alreadyCopied, remainingCopyCount);
PresentationBuildTasks (1)
PresentationCore (9)
PresentationFramework (43)
MS\Internal\Documents\ContentElementCollection.cs (3)
80Array.Copy(Items, 0, array, index, Size);
112Array.Copy(Items, 0, array, index, Size);
765Array.Copy(Items, 0, newItems, 0, Size);
MS\Internal\UncommonValueTable.cs (4)
50Array.Copy(_table, 0, newTable, 0, index);
51Array.Copy(_table, index, newTable, index+1, n-index);
77Array.Copy(_table, 0, newTable, 0, index);
78Array.Copy(_table, index+1, newTable, index, n-index);
System\Windows\Controls\ColumnDefinition.cs (3)
92Array.Copy(_items, 0, array, index, _size);
114Array.Copy(_items, 0, array, index, _size);
706Array.Copy(_items, 0, newItems, 0, _size);
System\Windows\Controls\RowDefinition.cs (3)
87Array.Copy(_items, 0, array, index, _size);
109Array.Copy(_items, 0, array, index, _size);
701Array.Copy(_items, 0, newItems, 0, _size);
System\Windows\Documents\FlowPosition.cs (2)
224Array.Copy(text.ToCharArray(flow._offset, maxLength), 0, chars, startIndex, maxLength);
228Array.Copy(text.ToCharArray(flow._offset - maxLength, maxLength), 0, chars, startIndex, maxLength);
System\Windows\Documents\TextSchema.cs (5)
55Array.Copy(textElementPropertyList, 0, _inheritableTextElementProperties, 0, textElementPropertyList.Length);
56Array.Copy(Typography.TypographyPropertiesList, 0, _inheritableTextElementProperties, textElementPropertyList.Length, Typography.TypographyPropertiesList.Length);
67Array.Copy(blockPropertyList, 0, _inheritableBlockProperties, 0, blockPropertyList.Length);
68Array.Copy(_inheritableTextElementProperties, 0, _inheritableBlockProperties, blockPropertyList.Length, _inheritableTextElementProperties.Length);
79Array.Copy(_inheritableTextElementProperties, 0, _inheritableTableCellProperties, tableCellPropertyList.Length, _inheritableTextElementProperties.Length);
System\Windows\Documents\TextTreeTextBlock.cs (8)
94Array.Copy(_text, 0, newText, 0, _gapOffset);
96Array.Copy(_text, _gapOffset + _gapSize, newText, newText.Length - rightOfGapLength, rightOfGapLength);
121Array.Copy(textChars, textStartIndex, _text, logicalOffset, count);
149Array.Copy(_text, 0, newBlock._text, 0, _gapOffset);
163Array.Copy(_text, _gapOffset, newBlock._text, _gapOffset, MaxBlockSize - _gapOffset);
248Array.Copy(_text, logicalOffset, chars, charsStartIndex, copyCount);
263Array.Copy(_text, logicalOffset, chars, charsStartIndex, copyCount);
481Array.Copy(_text, sourceOffset, _text, destinationOffset, count);
PresentationFramework-SystemCore (3)
DynamicAccessorImpl.cs (3)
113Array.Copy(args, 0, delegateArgs, 2, rank);
124Array.Copy(args, 0, delegateArgs, 2, rank);
140Array.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)
662Array.Copy(keys, index, keys, index + 1, _size - index);
663Array.Copy(values, index, values, index + 1, _size - index);
693Array.Copy(keys, index + 1, keys, index, _size - index);
694Array.Copy(values, index + 1, values, index, _size - index);
1049Array.Copy(_dict.keys, 0, array, arrayIndex, _dict.Count);
1060Array.Copy(_dict.keys, 0, array!, arrayIndex, _dict.Count);
1163Array.Copy(_dict.values, 0, array, arrayIndex, _dict.Count);
1174Array.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);
599Array.Copy(_elements, index + length, _elements, index, this.Count - index - length);
704Array.Copy(_elements, 0, array, index, this.Count);
714Array.Copy(_elements, 0, destination, 0, this.Count);
730Array.Copy(_elements, sourceIndex, destination, destinationIndex, length);
1088Array.Copy(_elements, copied + removed, _elements, copied, copyLength);
1094Array.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.Data.Odbc (1)
System.Diagnostics.DiagnosticSource (1)
System.IO.Compression (2)
System.Linq (1)
System.Linq.AsyncEnumerable (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);
4140Array.Copy(_data, _tokDataPos, data, 0, _tokLen);
4320Array.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 (2)
System.Security.Cryptography.Pkcs (1)
System.Security.Permissions (1)
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.Windows.Forms (26)
System.Windows.Forms.Design (1)
System.Xaml (7)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\FrugalList.cs (4)
1339Array.Copy(_entries, 0, destEntries, 0, _entries.Length);
1365Array.Copy(_entries, index, _entries, index + 1, _count - index);
1400Array.Copy(_entries, index + 1, _entries, index, numToCopy);
1566Array.Copy(_sourceArray, start, _targetArray, _validItemCount, size);
System\Xaml\Parser\NodeStreamSorter.cs (3)
690Array.Copy(_sortingInfoArray, beginning, temp, 0, length1);
694Array.Copy(_sortingInfoArray, middle, _sortingInfoArray, beginning, length2);
698Array.Copy(temp, 0, _sortingInfoArray, beginning + length2, length1);
UIAutomationClient (2)
UIAutomationTypes (2)